Rob Bedeaux Posted November 20, 2015 Share Posted November 20, 2015 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 Go to https://twitter.com/search-advancedEnter your search terms For example #usahockey #mnhockeyClick search. This will give you a feed based on those hashtagsFrom the drop down under 'More Options' select EmbedThis will give you some more configuration options. Set as you needClick Create WidgetYou will see a code block at the bottom. Copy thisPaste it into a code element and name your code element 'Twitter #usahockey #mnhockey' or whatever you have selectedClick 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> Rob Bedeaux (he/him/his)Director, Partnerships & Symphony MarketingE rob.bedeaux@nbcuni.comNBC SPORTS NEXT & FANDANGO Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.