3

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.

Lucifer
  • 29,392
  • 25
  • 90
  • 143
Sagar
  • 451
  • 1
  • 3
  • 13

2 Answers2

2

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

Muhammad Zeeshan
  • 8,722
  • 10
  • 45
  • 55
0

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

andy boot
  • 11,355
  • 3
  • 53
  • 66