Narnia's Psychedelic Mushrooms
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    worker-fetch-tweetspublic

    worker-fetch-tweets

    Fetch tweets and store them in a CouchDB.

    Getting Started

    Install the module with: npm install worker-fetch-tweets

    var worker_fetch_tweets = require('worker-fetch-tweets');
    worker_fetch_tweets.listen({
      url: 'http://localhost:5984/mydb',
      configId: 'my-timeline',
      defaults: {
        type: 'tweet',
        published: true
      }
    });

    Configuration

    Create a document my-timeline:

    {
      "_id": "my-timeline",
       "consumer_key": "asd",
       "consumer_secret": "asd",
       "access_token_key": "123-asd",
       "access_token_secret": "asd"
    }

    Starting

    You can use the builtin script:

    COUCH_URL=http://localhost:5984/heimat TWITTER_FEED_CONFIG_ID=my-timeline npm start

    Contributing

    In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

    License

    Copyright (c) null2 GmbH, 2013 Johannes J. Schmidt
    Licensed under the MIT license.

    Keywords

    none

    install

    npm i worker-fetch-tweets

    Downloadslast 7 days

    3

    version

    0.1.1

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar