Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MISSING_ARG_APIKEY when post to twitter by Sharekit

Tags:

iphone

twitter

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

like image 266
RAGOpoR Avatar asked Aug 12 '10 04:08

RAGOpoR


2 Answers

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.

like image 111
Fireandlight27 Avatar answered Nov 14 '22 07:11

Fireandlight27


I had the same problem -- it was actually complaining about not having filled in the login info for the bit.ly url shortener.

like image 40
John Albano Avatar answered Nov 14 '22 05:11

John Albano