Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 702 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 702 Bytes

Twitter Media Upload

Works with photos, videos, and GIFs.

Save media ids and post media to Twitter via the Upload Media API.

Demo

  1. Clone repo
  2. Create your Twitter environment variables in an .env file (or add your twitter oauth credentials in utils/index.js).
  3. From the root of the directory, run npm run demo. Note: this will upload media to the Twitter account provided

This will upload 4 images with the text "demo media." If you want to demo GIFs or videos, change the argument in the init function call in ./demo/index.js to the desired media type.