I’m looking to create a single page for a school event where basically I would like to display all the pictures of tweets with an specific hashtag, and if possible any youtube or vimeo video.
I’m been taking a look to the twitter API, however I cannot find an starting point, does anyone has any idea about to approach this?
I would appreciate any help.
Thanks in advance.
You may find this article helpful to grab pictures mentioned in a tweet via Twitter’s JSONP feed for a specific search term or hashtag.
This is the part of the feed for a single Tweet containing the media object that holds info about images –
There doesn’t appear anything similar for videos but you can look into the “urls” array within “entities” to check for references to YouTube video links.