- Now we shall look at the procedure how to add this widget in your blog:
- First of all login in to your blogger and twiter account.
- Now click on this link, it wil take you to the widget creation page.
- This page will look like the one below:
- Now choose the widget color, other requirements and click on create widget.
- It will give you a code similar to the one below, it will contain a unique id highlighted in green, which will help this widget to appear.
<a class=”twitter-timeline” href=”https://twitter.com/unziptech” data-widget-id=”353479627362140162“>Tweets by @unziptech</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>
- Now come the customization part. You can adjust the height and width of this widget by mentioning these attributes in this code like this:
<a class=”twitter-timeline” width=”300″ height=”300″ href=”https://twitter.com/unziptech” data-widget-id=”353479627362140162“>Tweets by @unziptech</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>
- Now that you have made all the adjustments, it is the time to add this code in to you blog.
- Navigate to the Layout page in your blogger dashboard.
- Click on Add a HTML/JavaScript gadget and paste this widget code in this.
- Adjust and save the arrangements as per your needs and then click on View Blog.
Note: In order to make this widget appear, you twitter timeline should be public.
- For more customization please refer to this official customizationwebpage.