Skip to Main Content

LibGuide Tricks: Twitter Widget

Tips to use in LibGuides 1 - DO NOT USE IN LIBGUIDES version 2.

Create a Twitter Feed

Embed a feed from your Twitter account that displays the last tweets and allows users to follow directly from the widget.

Code used for shown widget:

<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/LoganChiroLRC"  data-widget-id="306566008724914176">Tweets by @LoganChiroLRC</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Instructions

  • Login to your Twitter account.
  • Click the link supplied below for creating a widget.
  • Customize the widget and add the url where it will be hosted (ex: libguides.logan.edu).
  • Add an embed box in LibGuides.
  • Paste the widged code into the embed section.

Links

Example Twitter Widget