Reputation: 8168
how to resolve it?
#define SHKTwitterConsumerKey @""
#define SHKTwitterSecret @""
#define SHKTwitterCallbackUrl @"http://example.com/oauth"
#define SHKTwitterUseXAuth 0
#define SHKTwitterUsername
not have anyfield for API key
Upvotes: 8
Views: 3396
Reputation: 716
By default, Sharekit uses bit.ly to shorten URLs when tweeted. If you don't configure the Bit.ly settings (directly below the Twitter settings) it will fail to shorten the URL and will leave MISSING_ARG_APIKEY in place of the link you're attempting to tweet. Adding a bit.ly username and API key will solve the problem.
Upvotes: 26
Reputation: 21
I had the same problem -- it was actually complaining about not having filled in the login info for the bit.ly url shortener.
Upvotes: 2
Reputation: 128991
First, you need to get an API key from Twitter. Second, you need to give ShareKit that API key. The documentation suggests that you can configure that in SHKConfig.h
. That should fix the issue.
Upvotes: 0