开发者

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.

  1. At first, user must select login flow: Pin, URL callback (URL ca开发者_StackOverflowllback seem not working, tested on simulator iOS 4.1)
  2. Go to twitter login page to enter username and password.
  3. 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.

Tien


You 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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜