Hi,
Don't specify the cursor yourself, let Tweetinvi manage it for you.
I have changed the query so that the count and cursor information are no longer added to the query. Tweetinvi will add these information for you.
Linvi
Don't specify the cursor yourself, let Tweetinvi manage it for you.
I have changed the query so that the count and cursor information are no longer added to the query. Tweetinvi will add these information for you.
var maxObjectsToRetrieve= 200; long lastCursor = -1; var followerQuery = String.Format("https://api.twitter.com/1.1/followers/ids.json?user_id={0}", userId); var results = TwitterAccessor.ExecuteCursorGETCursorQueryResult<IIdsCursorQueryResultDTO>(followerQuery, maxObjectsToRetrieve, lastCursor); lastCursor = results.Last().NextCursor; var returnedIds = TwitterAccessor.ExecuteCursorGETCursorQueryResult<IIdsCursorQueryResultDTO>(followerQuery, maxObjectsToRetrieve, lastCursor).SelectMany(x => x.Ids);