How to make twitter login simpler by using PlainOAuth

603 views Asked by At

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 callback 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

1

There are 1 answers

1
Heiko Rupp On

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