Twitter web intent with image


#1

Is there a way to tweet an image hosted on aws s3 using twitter’s web intent?

i.e. by adding the image url to the link below

<%= link_to “https://twitter.com/intent/tweet?text=hello” %>


#2

Yes, you can either supply it as part of the text parameter or include it as the “url” parameter of the tweet intent. Just make sure, either way, that you’re encoding the URL appropriately for a parameter.

In HTML, it would be something like this – if my image URL were https://dev.twitter.com/sites/default/files/images_platform_object/arctic-blue-bird.jpg :

Tweet this image

#3

Thanks Taylor but is there no way with a web intent for the image to be displayed inside the tweet instead of the link?


#4

Is it possible to use the intent to show the image in the tweet instead of just the URL for the image?


#5