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

New Post: Iterating through retweeters

$
0
0
Hi there,

The ITweet.Retweets is a store collection. It has been added for developers to let them store the information within a Tweet object.
This collection is neither updated nor created when retrieving a tweet.

In order to get the retweets of a Tweet, Twitter provides this method.
Tweetinvi has implemented this feature with Tweet.GetRetweets();
var tweet = Tweet.GetTweet(tweetId);
var retweets = Tweet.GetRetweets(tweet);
Twitter also provide another method that sends a list of user ids who retweeted a tweet.
This method has not yet been implemented in Tweetinvi but I could provide some code to get these information in few lines of code thanks to the custom queries of Tweetinvi.

Please let me know if this help.
Linvi

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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