Have a simple website widget based on the 1.0 API? Run this node script to shim your old end points. Useful if you have a number of client sites pulling tweets from the 1.0 API.
Steps to get going:
- Download / fork this repo
- cd into this directory, type
npm install
- Sign up for a twitter app at dev.twitter.com
- Rename
config-sample.js
toconfig.js
and replace the values - Host it somewhere. I reccomend nodejitsu.
- Replace your old twitter end points of this your new domain.
http://api.twitter.com/1/statuses/user_timeline/wesbos.json?callback=?
would now be
http://your-domain.com/1/statuses/user_timeline/wesbos.json?callback=?
Yay for quick fixes!