Curious about something involving dynamically updating an embed widget



So I found an article where this guy dynamically updated an embed widget to show a stream of a certain profiles tweets. He took this code:

<a class='twitter-timeline' href='' data-widget-id='365889744950931457'>Tweets by @clicknathan</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);;js.src=p+'://';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','twitter-wjs');</script>

And he added this: data-screen-name=“wandrly” into the ‘a’ tag, and also changed the link ‘’ to ‘’.

What I want to know is if it is possible to do this with a specific hashtag search, and if so how would I do it?




Hi @nathan_geckle,

This is possible with any embed you can build from, but not the search timeline embed.


Dang. Needed it for a project. Thanks for the response!

closed #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.