leitstand-twitter
Twitter plugin for Leitstand
Installation
First, install leitstand-cli, if you haven't done yet. Then install the plugin as dependency into your Leitstand app via:
npm install leitstand-twitter --save
Usage
leitstand
.plugin('twitter', {
settings: {
consumer_key: '<KEY>',
consumer_secret: '<SECRET>',
access_token_key: '<KEY>',
access_token_secret: '<SECRET>'
}
})
.widget('twitter-demo', {
plugin: 'twitter',
methods: [
{
name: 'get',
opts: [
'statuses/user_timeline',
{
screen_name: 'cron_eu'
}
]
}]
});
API
License
MIT © Sebastian Krüger