Twitter Followers Count Via REST API


Hi ,

I would like to get all the followers count for my twitter account .
Can you please help me with api ?



Using the GET endpoint “users/show” and “users/lookup” should show a field called “followers_count”.




The endpoint :[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.