Web pattern library, style and technical reference
Sidebar Components
Twitter widget
A Twitter widget can be used in your sidebar to display the posts from a specific public Twitter account.
Twitter - User Timeline
Twitter timeline widget
Asset setup
Asset type |
Standard page (with nested content) |
Nested content asset |
#229699 |
Available variables
Variable Name |
Type |
Example |
Default |
twitter_username required |
text |
uni_newcastle |
- none - |
|
Username of twitter feed to display. |
twitter_count optional |
number (1-10) |
5 |
3 |
|
number of tweets to display |
Technical info
REST Resource |
#229699 - Twitter - User Timeline |
Feed |
https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=%globals_get_twitter_username%&count=10 |
Twitter - Hashtag Timeline
Twitter hashtag widget
Asset setup
Asset type |
Standard page (with nested content) |
Nested content asset |
#356130 |
Available variables
Variable Name |
Type |
Example |
Default |
twitter_hashtag required |
text |
newcastle |
- none - |
|
hashtag (without the #) |
twitter_count optional |
number (1-10) |
5 |
3 |
|
number of tweets to display in list |
Technical info
REST Resource |
#356130 - Twitter - Hashtag Timeline |
Feed |
https://api.twitter.com/1.1/search/tweets.json?q=%23%globals_get_twitter_hashtag%&count=10 |