0
$\begingroup$

I want to retrieve Twitter users' follower and followee (friend) count using Twitter API. (I am reluctant with using a crawler since I need this data for research purposes) However, I was only able to find get_friend_list DOC which returns the whole list of followers.

I just want to get the number of followers and follweees not the while list of follower id (since this will require me to use more POST requests for Twitter API)

Could someone help me how to retrieve follower count with Twitter id (or username)?

$\endgroup$

1 Answer 1

0
$\begingroup$

I end up using GET users/show from Twitter API.

The details of User object which can be retrieved with this GET request can be founded in here.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.