GithubHelp home page GithubHelp logo

node-twitter-rss's Introduction

Node Twitter RSS

Since the new API 1.1 I was unable to retrieve a users timeline for my RSS reader so I created simple application which give's you back this functionality.

Installing on Heroku

1. Create a Twitter application

First have to create twitter application so our application can use the key's and secrets to communicate with Twitters API.

  1. Create a new (twitter) application at https://dev.twitter.com/apps
  2. After you created the application you must click "Create my access token"
  3. At this point you have the consumer key, consumer secret, access token and access token secret.

2. Create and deploy to Heroku

You should have installed the Heroku toolbelt and exectued heroku login before doing the next steps.

  1. Run heroku create on the project folder
  2. Set the ENV variables with the correct values
heroku config:set NODE_ENV=production
heroku config:set CONSUMER_KEY=your-consumer-key
heroku config:set CONSUMER_SECRET=your-consumer-secret
heroku config:set ACCESS_TOKEN=your-access-token
heroku config:set ACCESS_TOKEN_SECRET=your-access-token-secret
  1. Deploy your application by running git push heroku master
  2. Visit your app by running heroku open

3. Securing your instance

By default your app is publicly available. Because you probably don't want others to waste your rate limit you can add a simple secret to it by running:

heroku config:set APP_SECRET=your-top-secret-string-here

Now, instead of doing http://yourapp.herokuapp.com/twitter-user/ you should do http://yourapp.herokuapp.com/twitter-user/your-top-secret-string-here

Changelog

Version Notes
1.0.1 Parse tweet and create links from @usernames and urls
1.0.0 Initial release

Copyright

Copyright © 2013 Manuel van Rijn. See LICENSE for further details.

node-twitter-rss's People

Contributors

briankirsten avatar manuelvanrijn avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

briankirsten

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.