Search code examples
xcodetwitteroauthios5

OAuth access Token fails while accessing twitter from iOS 5


I am using MGTwitterEngine" to Integrate twitter in my app.It works fine up to iOS 4.2 . When I try to access twitter from any of the iOS 5 device , I am experiencing an authentication token issue.

This page is no longer valid. It looks like someone already used the token information you provided. Please return to the site that sent you to this page and try again ... it was probably an honest mistake

After a lot of googling I found some suggestions .But they didn't solve my issue. Tried https instead http .


Solution

  • Try replacing

    Request token URL

    https://api.twitter.com/oauth/request_token

    Authorize URL

    https://api.twitter.com/oauth/authorize

    Access token URL

    https://api.twitter.com/oauth/access_token

    I this this should work.