Skip to main content
MindTouch Success Center

Add your Twitter feed to your site (MT4)

Written by Miller Saltzman
Documentation Editor, Customer Success at MindTouch

Learn how to embed your company's Twitter feed into your site.

NOTE: The MindTouch editor has a restriction on Unsafe Content where it will not execute possibly malicious code if the user does not have the proper privileges. This includes DekiScript. If you do not have the Admin role as a user or on a page through the Restrict Access dialog, then you will not be able to save unsafe content in MindTouch. 

For more information on this refer to Unsafe Content in the MindTouch Editor.

Embedding your Twitter Feed

To embed your Twitter feed just cut and paste the code below to your page. Replace NAME with your Twitter username, and WIDGETID with your Widget ID.

DekiScript (red box)

<a class="twitter-timeline" href="" ('data-widget-id')="WIDGETID">"Tweets by @NAME"</a> 

 JavaScript (yellow box)

!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.src=p+"://";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");

Finding your widget ID

Here is how to find your widget ID:

  1. Go to
  2. Go to Create New widget. (Or click Edit next to one of your existing widgets and skip to step four.)
  3. After configuring your widget click Create widget. 
  4. Your widget ID can be found in your URL where the red box is: Twitter 4.png

If you follow these directions, this should appear:

  • Was this article helpful?