Creates images from tweets.
npm install
npm start
Use the PORT
environment variable to set a custom port. Default port is 3000
.
The application is able to return multiple formats which can be specified in the url. The default is png
.
http://localhost:3000/statuses/:tweet_id.:format?
http://localhost:3000/:screenname/status/:tweet_id.:format?
http://localhost:3000/statuses/210462857140252672
http://localhost:3000/twitterapi/status/210462857140252672
http://localhost:3000/statuses/210462857140252672.png
http://localhost:3000/twitterapi/status/210462857140252672.png
http://localhost:3000/statuses/210462857140252672.jpeg
http://localhost:3000//twitterapi/status/210462857140252672.jpg
http://localhost:3000/statuses/210462857140252672.jpeg
http://localhost:3000//twitterapi/status/210462857140252672.jpg
http://localhost:3000/statuses/210462857140252672.html
http://localhost:3000/twitterapi/status/210462857140252672.html
Makes use of the foreignObject
element which is currently not supported by Internet Explorer.
http://localhost:3000/statuses/210462857140252672.svg
http://localhost:3000/twitterapi/status/210462857140252672.svg
npm test
npm run dev
Licensed under the MIT License.