Adding Twitter Feeds

I was creating a couple of Twitter widgets and thought I’d drop a couple onto this blog page:


Note that creating a Twitter widget box is simple. It requires no coding. Simply log into your Twitter account and go to:

https://twitter.com/settings/widgets/

Once there, you can select a few settings and generate the embed code. The embed code that was created for the above Codeguru listing is:

<a class="twitter-timeline"  href="https://twitter.com/Codeguru"  data-widget-id="391222085730566144">Tweets by @Codeguru</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>

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read