node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

leitstand-twitter

leitstand-twitter NPM version Build Status Dependency Status

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

node-twitter

License

MIT © Sebastian Krüger