Jump to content

Twitter #hashtags


Rob Bedeaux

Recommended Posts

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

 

  1. Go to https://twitter.com/search-advanced
  2. Enter your search terms For example #usahockey #mnhockey
  3. Click search. This will give you a feed based on those hashtags
  4. From the drop down under 'More Options' select Embed
  5. This will give you some more configuration options. Set as you need
  6. Click Create Widget
  7. You will see a code block at the bottom. Copy this
  8. Paste it into a code element and name your code element 'Twitter #usahockey #mnhockey' or whatever you have selected
  9. 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>

Screen_Shot_2015-11-20_at_3_17.02_PM.png.ff0b6548208be875400e871d080426ce.png

Rob Bedeaux (he/him/his)
Director, Partnerships & Symphony Marketing
E rob.bedeaux@nbcuni.com

NBC SPORTS NEXT & FANDANGO

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...