Twitter feed in DekiScript
- Applies to:
- All MindTouch Versions
- Role required:
- Draft Contributor
Social sharing is a stable of your marketing efforts. MindTouch allows you to easily embed twitter feeds on your pages.
The MindTouch editor has a restriction on unsafe content and will not execute possibly malicious code if the user does not have the proper privileges. This includes DekiScript. If you are not assigned as an admin, you will not be able to save unsafe content in MindTouch.
How to embed your Twitter feed
To embed your Twitter feed, cut and paste the below codes into your page:
Add the DekiScript code
<a class="twitter-timeline" href="https://twitter.com/@NAME" ('data-widget-id')="WIDGETID">"Tweets by @NAME"</a>
Find your widget ID
Here is how to find your widget ID:
- Go to twitter.com/settings/widgets.
- Go to Create New widget. (Or click Edit next to one of your existing widgets and skip to step four.)
- After configuring your widget, click Create widget.
- Your widget ID can be found in your URL:
Replace your custom info
NAME with your Twitter username and
WIDGETID with your widget ID.
Verify your Twitter feed appears
Your feed should look something like this:Tweets by @mindtouch