Friday, July 10, 2015

Embedding Twitter Feed into Blogger Post

Here is how you can embed a Twitter hashtag feed into a blog post on Blogger post.

Step 1: Create a Twitter Widget and copy the code. In this example, I've saved a search for #Foodiechats.

Step 2: Create new Blogger Post


Step 3: Switch to HTML
Step 4: Paste in Twitter Widget code (from Step 1) while in HTML Mode.
<a class="twitter-timeline" href="https://twitter.com/hashtag/Foodiechats" data-widget-id="619636680459300864">#Foodiechats Tweets</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>

Step 5: Switch back to Compose Mode and continue editing post.




Here is what it will look like...