I would like use Twitter REST API to retrieve followers for certain Twitter users. As per the documentation, I need to use the API call
"https://api.twitter.com/1.1/users/show.json?screen_name=xxxxx" and substitute the screen name each time I need to retrieve the followers.
I have registered my application and have generated the token for this application to be used for Twitter API calls.
Since my application is a console application and it does not have an access to the browser, I need to use “PIN-based OAuth” as
per your documentation.
How do I get the “PIN” number to authenticate my application? I tried a few ways but was not able to authenticate my application for the
API call “https://api.twitter.com/1.1/users/show.json?screen_name=xxxxx” from my console application.
Unfortunately, I could not find any detailed documentation discussing this type of scenario where the client does not have access to the
web browser and need to authenticate their application using OAuth.