Extract media - Images/video if available in a tweet.

Mar 23, 2015 at 7:41 PM
I am searching a tweet with keyword #Quotes using Search_SimpleTweetSearch() function.

var tweets = Search.SearchTweets("#Quotes");

I want to extract the images/video associated with the tweets. Is it possible using the API's currently available? If so kindly let us know.

Mar 25, 2015 at 1:38 AM

If you perform a search you will only receive the URL entity in which you will be redirected toward a video.
You will then need to have a look into the Entities of the tweet.

Here is an example:
var search = Search.CreateTweetSearchParameter("#tweetinvi");
search.Filters = TweetSearchFilters.Videos;
var videoTweets = Search.SearchTweets(search);

foreach (var videoTweet in videoTweets)
    var entities = videoTweet.Entities;
    var extendedEntities = videoTweet.ExtendedEntities;
Marked as answer by linvi on 4/18/2015 at 2:31 PM
Mar 25, 2015 at 6:50 AM
Edited Mar 25, 2015 at 7:09 AM
Is this available through this function? This works for images. Can i append videos to this? if so how?

var searchParameter = Search.GenerateTweetSearchParameter("#Quotes filter:images");

i donot see the Search.CreateTweetSearchParameter() function in the following released version.

Name: Tweetinvi.Search
Assembly: Tweetinvi, Version=