Sometimes you want to embed not a feed from a person or organization but rather a bunch of hashtags. Twitter makes this very easy to do in conjunction with the code tool
Enter your search terms For example #usahockey #mnhockey
Click search. This will give you a feed based on those hashtags
From the drop down under 'More Options' select Embed
This will give you some more configuration options. Set as you need
Click Create Widget
You will see a code block at the bottom. Copy this
Paste it into a code element and name your code element 'Twitter #usahockey #mnhockey' or whatever you have selected
Click OK
Sample code for the above embed
<a class="twitter-timeline" href="https://twitter.com/search?q=%23usahockey%20OR%20%23mnhockey" data-widget-id="667814018766147584">Tweets about #usahockey OR #mnhockey</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.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
Question
Rob Bedeaux
Sometimes you want to embed not a feed from a person or organization but rather a bunch of hashtags. Twitter makes this very easy to do in conjunction with the code tool
Sample code for the above embed
Rob Bedeaux (he/him/his)
Director, Content Marketing & Strategy
E rob.bedeaux@nbcuni.com
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.