[Android] A way to tweet animated gif?

android
fabric
twitterkit
animatedgif
api

#1

Hello,

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 :
https://twitter.com/CastilloLoic

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 ?):
https://twittercommunity.com/t/fabric-wont-share-animated-gifs-correctly/52729?source_topic_id=82912