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

New Post: How to recieve cursor id and recieve all followers?

$
0
0
I read this post and try the last code

https://tweetinvi.codeplex.com/discussions/538201

It didn't work, I get a blank page.
 var credentials = TwitterCredentials.CreateCredentials(access_Token, access_Token_Secret, consumer_Key, consumer_Secret);

               TwitterCredentials.ExecuteOperationWithCredentials(credentials, () =>
          {
              var userId = 14230524;
              int maxObjectsToRetrieve = 20000;
              int cou = 0;

         
            

              var followerQuery = String.Format("https://api.twitter.com/1.1/followers/ids.json?user_id={0}", userId);
              var returnedIds = TwitterAccessor.ExecuteCursorGETQuery<IIdsCursorQueryResultDTO>(followerQuery, maxObjectsToRetrieve, 1485757279225971535);
              foreach (var mill in returnedIds)
              {

                  Console.WriteLine(mill+ "   " + cou);
                 
                  cou++;
              }
              
          });

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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