Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: Hey I missing a .dll?

$
0
0
This works fine, but when I add the cursor_id output to the command, I get an error because it a ulong instead of a long.

var maxObjectsToRetrieve= 200;
var lastCursor = -1

  var followerQuery = String.Format("https://api.twitter.com/1.1/followers/ids.json?user_id={0}&count=100&cursor={1}", userId, cur);
              

var results = TwitterAccessor.ExecuteCursorGETQuery<IIdsCursorQueryResultDTO>(followerQuery, maxObjectsToRetrieve, lastCursor);
 lastCursor = results.Last().NextCursor;

  var returnedIds = TwitterAccessor.ExecuteCursorGETQuery<IIdsCursorQueryResultDTO>(followerQuery,maxObjectsToRetrieve,  lastCursor).SelectMany(x => x.Ids);
I not sure how to go around this; my cursor idea look like this:

my_cursor_id=14858654389000846794

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>