How do I authenticate a Twitter user and access the API without leaving my iPhone app?
- by thebossman
I'd like to allow users to send out Tweets from my iPhone app. That's all the functionality I need at the moment.
From what I know of the Twitter API, there's a standard authentication mechanism, which allows the developer to include the user's name and password in the request string that the application sends to Twitter. This method will no longer be supported come June 30, 2010.
Given the timeframe, the better other choice is oAuth. One of the caveats of oAuth is that it requires a UIWebView to pop up within the app to allow the user to enter his or her credentials or a PIN number.
None of the Twitter apps on my phone do this, however: Tweetie, TweetDeck and Twitterific. I assume they're using the first authentication method, but it seems like Twitter wouldn't deprecate an API that would hurt the user experience across the board.
There must be an alternative method--what am I missing?