xdevplatform / Twitter-API-v2-sample-code

Sample code for the Twitter API v2 endpoints
https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api
Apache License 2.0
2.68k stars 987 forks source link

Where's the media upload script in this repository? How can I attach an image to a tweet here? #139

Open doverradio opened 1 year ago

doverradio commented 1 year ago

Describe the bug no upload script or any way to do a media upload it appears.

yiliang114 commented 8 months ago

meet the same problem

Saumya-Gupta-26 commented 8 months ago

Hi! I have a script which uses tweepy library to upload media ---- would that help ?

doverradio commented 8 months ago

Yeah please share it

yiliang114 commented 8 months ago

I switched to another npm package, which has solved this problem recently

doverradio commented 8 months ago

Wow, I've never heard of this package. Neat! What is your use case?

Saumya-Gupta-26 commented 8 months ago

i put it here --- https://github.com/Saumya-Gupta-26/twitter-bot-post-images --- hope it helps!