0.0.9-beta • Published 9 years ago
mozaik-ext-twitter v0.0.9-beta
Mozaïk twitter widgets
Twitter Client Configuration
In order to use the Mozaïk twitter widgets, you must configure its client.
parameters
key | description |
---|---|
consumerKey | twitter consumer key |
consumerSecret | twitter consumer secret |
accessTokenKey | twitter access token key |
accessTokenKey | twitter access token key |
usage
{
//…
api: {
twitter: {
consumerKey: 'xxxxx',
consumerSecret: 'xxxxx',
accessTokenKey: 'xxxxx',
accessTokenSecret: 'xxxxx'
}
}
}
Twitter hashtags pie
Display a pie chart showing stats for a given list of hashtags
parameters
key | required | description |
---|---|---|
layout | no | layout (legends placement), can be top right bottom left , default is right |
hashtags | yes | a list of hashtags with an associated color |
usage
{
type: 'twitter.hashtags_pie',
layout: 'right',
hashtags: [
{ color: '#6bc2c8', text: 'apple' },
{ color: '#5f8cc0', text: 'google' },
{ color: '#525487', text: 'twitter' },
{ color: '#376aa2', text: 'facebook' },
{ color: '#383b72', text: 'instagram' }
],
columns: 2, rows: 1, x: 0, y: 0
}
0.0.9-beta
9 years ago
0.0.8-beta
9 years ago
0.0.7-beta
9 years ago
0.0.6-beta
9 years ago
0.0.5-beta
9 years ago
0.0.4-beta
9 years ago
0.0.3-beta
9 years ago
0.0.2-beta
9 years ago
0.0.1-beta
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago