Add blob image to tweet link (javascript)

javascript
tweetbutton

#1

we currently use a simple link to allow the user to post a tweet with a customized url,
(as described in https://developer.twitter.com/en/docs/twitter-for-websites/tweet-button/overview)

to do this, we call something like
window.open("http://www.twitter.com/share?url=" + link);

is it possible to add a blob image to this tweet?

any link to an example or relevant documentation appreciated.

note: we tried using Oauth, but we want to give the user the possibility to see and edit the tweet before posting


#2

Twitter web intents do not support image attachments.


#3

so is there no way to let a user share a generated image where he can edit the text message?


#4

There’s no built-in way to do this, you’d need to build an app and have the user login, and have the image uploaded inside your app.


#5

alright. thank you for your answer!