How to make twitter login simpler by using PlainOAuth
I'm using PlainOAuth to post image to twitpic and post message to twitter home page from my iPhone app. Everything is ok, but the way user login to twitter is complex with user.
- At first, user must select login flow: Pin, URL callback (URL ca开发者_StackOverflowllback seem not working, tested on simulator iOS 4.1)
- Go to twitter login page to enter username and password.
- Receiving pin code and return back to previous page to enter pin code.
How can I modify to make them simpler? I mean that can I just need to have a login page that allow user enter username and password (ignore enter pin step)?
I can see a lot of apps that have a very simply login way to twitter. Anyone has solution for this, please help!Thanks in advance.
TienYou need to register your app for xAuth with twitter.com. When they allow xAuth, you don't need the step with the pin anymore. xAuth as Twitter defines it is a subset of Twitter's oAuth.
See using xAuth at dev.twitter.com
精彩评论