On my website, I generate animated GIFs that users can watch and share. I would like them to, by a simple click of a button, tweet this GIF with a description and hashtags. I have a custom button that refer to “https://twitter.com/intent/tweet” with my parameters.
Here are the codes :
And the file at the url $wayToGif (html file) :
Actually, this give me a card with a static image (the first of my GIF).
I would like to generate the same card but with my animated gif, and not a static image.
I think a have to use REST API, but i don’t know how.
Please, can anyone guide me in using REST API or give me another way to do?