Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

setup Twitter in Sharekit for iPhone

Tags:

iphone

twitter

i try to integrate twitter to iphone app by sharekit i have registerd my application to twitter. i not understand how to setup Callback URL can you tell me more information and step to deploy?

like image 651
RAGOpoR Avatar asked Jan 21 '23 15:01

RAGOpoR


1 Answers

  1. Open your application settings at http://dev.twitter.com/apps/
  2. 'Application Type' should be set to BROWSER (not client)
  3. 'Callback URL' should match whatever you enter in SHKTwitterCallbackUrl. The callback url doesn't have to be an actual existing url. The user will never get to it because ShareKit intercepts it before the user is redirected. It just needs to match.

So for example, if you set the callback URL on dev.twitter.com to http://example.com/oauth, you should set SHKTwitterCallbackUrl = @"http://example.com/oauth"

like image 118
Nate Weiner Avatar answered Feb 01 '23 09:02

Nate Weiner