Step 1: To add a Twitter or Facebook feed, you need to first retrieve the widget codes generated by Twitter or Facebook:
To obtain the widget code for a certain Twitter feed, you need to already have a Twitter account or ask whoever has access to one to retrieve the respective widget code. This can be accomplished by following the steps below:
Log into your account.
Visit the profile page whose Twitter feed you wish to embed (e.g. @uOttawaArts). At the top right, beside the “Follow” button, there should be a gear icon. Click on it. A dropdown menu should appear. Select “Embed this Profile”.
A new window should appear. The default settings should be ok, but you may wish to lower the Height value (something like 400px should be ok).
Once done, click on the button “Create widget” and copy & paste the code.
Step 2: The code then needs to be added into a Content Snippet with the WYSIWYG editor disabled:
Navigate to “Content”.
In the top-right of the page, select the tab called “Snippets”.
Click on “+ Add Content Snippet” and then select “General Content Snippet”.
Provide a descriptive Title.
Under the “Body” field, change the “Text format (editor)” to “FULL HTML (No WYSIWYG”. This will disable the text editor so that it doesn’t strip out your code.
In the “Body” field, enter the code you obtained in Step 1.
In the “Label” field, provide a descriptive label (e.g. “Home – Facebook feed”).
Step 3: Finally, you need to add the Content Snippet to a panel page. When doing so, make sure to set the View Mode to “Content Body” instead of “Full Content” so that no title shows up.
When styling the newly added Content Snippet, select “Component Styles” and then set the “Container Type” to “Teaser”. You may also wish to configure the “Spacing” as necessary. After that, save all of your changes.