Retrieving follower and followee (friend) counts using Twitter API

0

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)?

Jiho Choi

Posted 2019-04-08T10:50:28.423

Reputation: 23

Answers

0

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.

Jiho Choi

Posted 2019-04-08T10:50:28.423

Reputation: 23