Include image on post to Twitter?

Discussion and feedback on Construct 2

Post » Wed Jan 13, 2016 4:29 am

I am using the browser object and opening URL in new window with:

"https://twitter.com/intent/tweet?source=webclient&text=My Message Here %23GameName"

How do I include an image?

Sorry if this is contained somewhere, but I cannot find it.

Thank you.
B
42
S
16
G
3
Posts: 169
Reputation: 4,383

Post » Wed Jan 13, 2016 10:17 pm

You can't do it via URL directly. You need to use the Twitter API:
https://dev.twitter.com/rest/public/uploading-media

Is a bit fiddly to get going. If you can live without images I'd recommend it for now!
Image Image
Scirra Founder
B
173
S
41
G
34
Posts: 4,379
Reputation: 54,153

Post » Thu Jan 14, 2016 3:11 am

@Tom Thank you.
B
42
S
16
G
3
Posts: 169
Reputation: 4,383


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 17 guests