Media Upload
#13
-
I am new to the twitter api. Do you have example code on how to upload a photo (png) when posting to a timeline? |
Beta Was this translation helpful? Give feedback.
Answered by
noweh
Jul 24, 2022
Replies: 1 comment 2 replies
-
Hello and welcome ! There is a trick (not perfect): use the url of an image that already exists on the internet in the text of the message. Regards |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
noweh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello and welcome !
as specified in this issue here, it is still not possible to upload media in version 2 of the Twitter API.
There is a trick (not perfect): use the url of an image that already exists on the internet in the text of the message.
Regards