Oct 22, 2014 at 1:33 PM
Edited Oct 22, 2014 at 1:34 PM
By performing a single query you can get up to 250 users using the Follower endpoint of Twitter.
By default Tweetinvi never does more than 1 operation. If you want more than 250, you can specify the number of users you want to get like you did.
var followers = ladygaga.GetFollowers(500);
But you need to take into consideration that when doing this you are going to perform 2 more queries.
This will result in your rate limits to get use way more quickly.
Consequently, in order to test, if Tweetinvi is working for you, please try with a limit to 500 followers.
If it does work you will need to ensure that you have enough queries left for the operation to complete.
Rate Limit Documentation
var followerRateLimit = rateLimit.FollowersIdsLimit;
var userLookup = rateLimit.UsersLookupLimit;
What I usually advise is that you use the UserIds from GetFollowerIds and retrieve the user detailed information when you need it.
var user = User.GetLoggedUser();
var followerIds = user.GetFollowerIds()
var first100FollowerIds = followerIds.Take(100);
var followers = User.GetUsersFromIds(first100Followers);
This give you more control over your rate limits.
Please note that I am currently working on a solution to allow developers to automatically rely on Tweetinvi for their RateLimit but this will only be available in the next version of Tweetinvi.
Hope this will help.