Skip to content

Node.js module uploads chunked media to Twitter and then posts it in a Tweet.

Notifications You must be signed in to change notification settings

leovolving/twitter-media-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Node.js module uploads chunked media to Twitter and then posts it in a Tweet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published