How can we get tweets of a user containing specific hashtag?


#1

I am trying to integrate twitter tweets widget on my webpage .
In which i want all my tweets with specific hashtag.
How can i get those?


#2

You can use a Search Embedded timeline https://dev.twitter.com/web/embedded-timelines , with a query like:

from:TwitterDev #helloworld

That will only show tweets with #helloworld from @TwitterDev


#3

(moving to the Websites category)

As @IgorBrigadir says, this is straightforward to do by creating a widget. Here’s a link to the account settings page where you can configure these.

Note that the search API is limited to 7 days of content, so any Tweets containing the hashtag older than that will not show up in your timeline widget.


#4

Is there any way to increase the days limit of 7 to some custom date.


#5

You may not increase the days available in the search index. You may limit your search to a range of dates available in the index using the since and until operators.
https://dev.twitter.com/rest/public/search


#6