Sagar
Sagar

Reputation: 451

Sending pin to get Access token from twitter

I am using OAuth authentication to get the pin . some how i managed to get the pin from twitter by authorizing my application . But I don't know

  1. how to use this pin which i got from twitter,

  2. how to send this to get access token and token secret . Can any body provide me the code to get the access token . I have accesToken() method ready in my app but how to call this method while sending the pin to twitter can Any body help me with the code.

Upvotes: 3

Views: 821

Answers (2)

andy boot
andy boot

Reputation: 11737

Check that you have filled in the Callback URL: field on https://dev.twitter.com/apps -> settings.

Note there are several fields: Callback URL is different to Website

Upvotes: 0

Muhammad Zeeshan
Muhammad Zeeshan

Reputation: 8856

There are some methods to get this auth token. See this help1, help2

Upvotes: 2

Related Questions