I start to use the Twitter API of fabric. But I don’t find a way to send a tweet with an animated gif. In fact it always send a static image, see on my profile :
I write the gif on the external stockage before using TweetComposer:
String location = writeFileOnExternal(Modele.getGif()); Intent intent = new TweetComposer.Builder(this) .text("Hello world") .image(Uri.parse(location)) .createIntent(); startActivityForResult(intent, 1);
At first I wanted to use the REST API, but when a tweet is send, the screen stays on twitter instead of going back to my application.
Is there a way to send a animated gif with the API ? Or at least with the REST API ?
I see that I’m not the only one who have trouble (and no solution ?):