Hi ,
I would like to get all the followers count for my twitter account . Can you please help me with api ?
Regards Ashish
Using the GET endpoint “users/show” and “users/lookup” should show a field called “followers_count”.
Fyi
The endpoint : https://api.twitter.com/1.1/users/show.json?screen_name=[HERE]&oauth_consumer_key=[HERE]&oauth_token=[HERE]. I am placing the Consumer Key(API Key) and Access Token generated but the request sends me {Error Code: 215 “Bad Authentication Data”}. Is there something wrong with the headers for authorization or something else?
Yes, something is wrong. You should not add oauth parameters to the request like this. You need to form valid OAuth headers. Check the documentation.