Before you start
There are two options for embedding Twitter into your Mosaic site:
- use Twitter's standard embed method — use the wizard on publish.twitter.com to get an iframe code snippet, which you can embed in a WYSIWYG. You do not need to create a Twitter application to use the standard embed method.
- create a Twitter application so your timeline can be styled using Mosaic's listing widget styles. Use the guidance on this page to create a Twitter application and add its API credentials to your Mosaic site.
To create a Twitter application and associate with your site, you need:
- to be either the Site Owner or a Site Administrator
- access to a Twitter account
To create a Twitter application for your site:
- In Site Settings, go to the Twitter API tab

Twitter API credentials input fields in Site Settings
- Click the link to the Twitter Developer Platform (1)
- Sign in using your Twitter account details
- If you haven't created a Twitter Developer account already, create one before moving to the next step
- Once you have a Developer account, create a new 'Standalone App' (this is done in the Twitter Developer Portal's 'Overview' area)
- Provide a name for your app and click 'Next'
- During the creation process you'll be provided with a set of API credentials — copy and paste the following two tokens to the input fields on the Twitter API tab (2):
- Next, go to the 'App Settings' and navigate to 'Keys and tokens'
- For the 'Access Token and Secret' option, click 'Generate'; you'll be shown two tokens — copy and paste them to the input fields on the Twitter API tab (2):
- Access Token
- Access Token Secret
- Once the tokens are added to your site, save Site settings
Twitter feeds can now be created for your site. See the Feeds documentation for more information.