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

New Post: Get Second,Third and Forth image from a tweet

$
0
0
You sure using the latest version?
var tweet = Tweet.GetTweet(448927844979056641L);
var urls = tweet.Media.Select(m => m.MediaURL);
foreach (var url in urls)
{
    Debug.WriteLine(url);
}
I get the following output:
http://pbs.twimg.com/media/BjrpfXkCYAABiD-.jpg
http://pbs.twimg.com/media/BjrpftmCYAAioCt.jpg
http://pbs.twimg.com/media/BjrpftGCEAETu1a.jpg
http://pbs.twimg.com/media/Bjrpfr9CIAAKEYF.jpg
imlokesh

Viewing all articles
Browse latest Browse all 4126

Trending Articles