How to get the complete list of followers

后端 未结 1 590
眼角桃花
眼角桃花 2021-01-14 09:40

Using the last version of the tweetsharp library for the twitter api, i am trying to get all the followers for a specific user. But i can only get the last 100 followers wit

相关标签:
1条回答
  • 2021-01-14 10:22

    I don't know tweetsharp at all, but based on the following link you could try the following:

    var followers = service.ListFollowersOf(user_id);
    while (followers.NextCursor != null)
    {
        followers =  service.ListFollowersOf(user_id, followers.NextCursor);
    }
    
    0 讨论(0)
提交回复
热议问题