Skip to main content

Libguide guide for Library Staff: Adding social media and widgets

Tips on adding material

Add the following to the beginning of the embed code,

<div align="center">

Then add the following at the end of the embed code.

</div>

e.g.

<div align="center"><iframe width="440" height="250" src="https://www.youtube.com/embed/DW1lxwsK5_Q" frameborder="0" allowfullscreen></iframe></div>

To add an embedded Twitter feed to your website:

  1. Sign in to Twitter (you must have a Twitter account).
  2. Go to your settings and select Widgets.
  3. Click Create new.
  4. Choose the type of embedded timeline you’d like and start to configure it:
    • For User Timeline, enter the username of the user whose Tweets you want to display.
    • For Favorites, enter the username of the user whose favorites you want to display.
    • For List, select a public list that you own and/or subscribe to in the drop-down menu.
    • For Search, enter your search query (for advanced searches, use Twitter’s search operators).
    • Make sure to select Safe mode if you want to exclude sensitive content, profanity, etc.
  5. Customize the design by specifying the height, theme (light or dark), and link color to match your website. You can also configure your embedded timeline to auto-expand Tweets containing media.
  6. Click Create widget and then copy and paste the code into the HTML of your site. You’re done!

Once you get that code, you can then add a new Media/Widget asset to one of your guides and paste that code inside. The feed should then display on your page.

Loading ...

Tutorial