twitter-async
twitter-async copied to clipboard
Query about uplodaing a status with an image.
Hi, I have been using this excellent code for a while, we actually around 1,000,000 tweets so far with very little issue.
I have been attempting to send a tweet with a single image and I am a little stumped. I assume that you load your image and receive the the ID of the image e.g. upload.twitter.com -X POST "/1.1/media/upload.json" --file "/path/to/media.jpg" --file-field "media"
and then add the returned id to the update status array however I am a little lost? Can anyone assist please as the upload of the profile image differs in process.