How to embed a Twitter Timeline filtered by a hash tag - twitter

I am trying to create a twitter timeline which includes tweets related to a specific hashtag.
Then I need to embed it to a website.
I tried https://tweetdeck.twitter.com/ but it informs me to go https://publish.twitter.com/
But it doesn't provide support to do the embed.
How can I proceed?

There's no support for embedded search timelines any more (as of July 2018). You'll need to build something that searches the API for the Tweets you want to include, and then use the oembed API to display the Tweets in your webpage.

Related

Is there any methods to get the like list of a tweet?

I want to get the complete like list of a specific tweet, but the Twitter API only provided an API that can retrieve the 100 most recent users who liked the specific tweet. I also looked for Twitter crawlers on Github, but they all worked in a user-oriented manner, ie they can only get a list of liked tweets of a user, not a list of liking users of a specific tweet.
I also tried to crawl the list using selenium, but maybe due to my limited skill, it didn't work well. I don't want to spend a lot of time studying selenium and front-end knowledge just to accomplish a simple thing, so are there any open source codes or twitter APIs that can do this?
Yes. This has just been announced in the Twitter API v2.
Previously, you were limited to the 100 most recent Likes or Retweets with these endpoints. We heard your feedback that this was too limiting and have updated these endpoints to now return all results. To retrieve a complete list of Likes and Retweets, you can now use pagination.
Use the v2 Likes lookup endpoint: GET /2/tweets/:id/liking_users

Show tweets from people I'm following on website embedded Twitter feed

I've had a look at the following link - https://dev.twitter.com/docs/embedded-timelines within Twitter. It says you can display your timeline, favorites, lists but not the tweets from the people you're following.
Essentially when you first log into Twitter, I want to show those tweets - the tweets from people I'm following on my website.
Or is there a way to automatically add people we're following to a list? So I can then display that list?
Can it be done? If so, how?
I don't think you can achieve this with embedded timelines but you can achieve it by using the REST API. The link below gives details on how to do this. Your request will then return a json string of the latest tweets of people you follow. You can format this then display it
https://dev.twitter.com/docs/api/1.1/get/statuses/home_timeline

how to find out when a link was first tweeted

http://isitold.com/ somehow determines when a link/url was first tweeted. I can't seem to figure out how to do this with the twitter api, does anybody know?
I'd like to use when a link was first tweeted in a time decay function in my app.
You can search tweets with this link using the Twitter Search API to retrieve the oldest tweet possible.
Seems like twitter does not provide historical tweets (search api will not work).
You can get access to historical tweet information with a service like Topsy http://www.topsy.com http://code.google.com/p/otterapi/ (api on topsy).
I have written Who Tweeted It First using YQL and JS to find the oldest tweet for any topic. It is essentially scraping data from the Twitter search page as the official API doesn't return the previous tweets.

Twitter media search

Is it possible to search through Twitter's media for specific tags?
I know you can access the media via this url:
https://twitter.com/#!/therealpaddock/media/grid
Appending media/grid to the end of a user's ID, I was wondering if there is a way to search through all the twitter media photos via a tag???
https://dev.twitter.com/docs/streaming-api/user-streams
http://dev.twitpic.com/docs/
I have been searching through the API and googling, and I can't find anything out there that does this.
I have been looking at Twitpic's API but can't seem to find anywhere that lets you search and display images.
Tag? I'm not sure you understand Twitter. A photo is simply attached to a tweet. A tweet may have a hashtag. If you want to search by hashtags, simply use the normal tweet search, then filter the photos.
Not sure why you linked to Twitpic, as what you're looking for is the normal Twitter search. https://dev.twitter.com/docs/api/1/get/search
You can look at the Twicsy API.
It allows you to search all Twitter pictures using a search term (which is what I think you mean by tag).
http://api.twicsy.com/search/foo
http://api.twicsy.com/search?q=foo
They also provide ways to filter results, by number of results and date. (Go to the API docs for more details).
Another solution would be to use the Twitter search API to make the query and parse out the images manually. This blog post explains how.

Is there a website that will allow me to filter tweets from my Twitter feed?

I need to approve/reject tweets from my Twitter feed, and display on our website. Any websites out there that will provide this functionality?
I've looked into TidyTweet.com, but I can't tell if they support the kind of "feed" we have (it's actually a json search, not an RSS feed).
For example, this is our "feed":
http://search.twitter.com/search.json?q=Downtown+Chicago
Twitterfeed already provides an interface for that. Click on edit->advanced you should see filter tweets.
Another alternative is filtering from the feed itself, you can do this from Yahoo Pipes

Resources