Available Since: V1.3.0
Snippet to draw the latest tweets from a twitter account. The twitter account must have been linked via the manager twitter option before this snippet will be able to output the feed of tweets.
This snippet uses the Twitter API 1.1 to collect the available tweets.
Parameter | Description |
---|---|
id | The ID of the twitter feed to draw, only one of id or name is required. |
name | The screen name of the twitter feed to draw, only one of id or name is required. |
wrapperTpl | The chunk to use to wrap the tweet list in. |
itemTpl | The chunk to wrap each tweet in. |
<ul class="twitterfeed">[[+tweets`]]</ul>
Placeholder | Description |
---|---|
tweets | The HTML for the tweets being drawn. |
<li>[[+text]] <span>[[+deltaTime]]</span></li>
Placeholder | Description |
---|---|
text | The text of the tweet. |
deltaTime | The time since the tweet was made. |
createdAt | The date and time that the tweet was created. |
source | The source of the tweet. |
profileImg | The location to load the profile image from. |
name | The name of the user. |
screenName | The users screen name. |