Is it possible to upload an animated GIF with TWTweetComposeViewController
?
I gave it a try with UIImage
, and it only uploads the first frame. This makes sense, since UIImage
doesn't support animated GIFs.
Is there a way to do this? Maybe a way to pass an NSData
?
(My app is MonoTouch C#, but Objective-C answers work just as well)
You are correct - Twitter's official API documentation does not allow animated gif - only png, jpeg and one frame of gif is allowed
Here is their api doc page
I also tried the example for TWrequest post using multipart image data set to the raw Gif file and twitter sent back 400 / 403 error message