Ok, so I've spent the past couple weeks updating my Facebook integrations...
latngatvn wrote- Users then can share the edited animation to SNS like Facebook, Twitter...
There are a couple methods for uploading to Facebook. The 'publish' method and the 'share' method. To publish, you will need 'publish_permissions" granted on the user/photos edge. Any app that requests 'publish_permissions' must go through the review process before being allowed to request publish permissions.
The 'share' method is much simpler and works in many, many cases. It doesn't require any review process. To upload a photo, you have one of two options: upload directly to Facebook or Upload to your server and then 'share' a link to the photo.
To upload directly to Facebook from iOS using the 'Share' method, your end user needs to have the latest Facebook App installed and needs to be running iOS 7+. This will allow you to attach the photo directly to the FBSDKSharePhotoContent.
TL;DR: The GIF generation is not your biggest hurdle. Just render to FBO and save to data array: http://stackoverflow.com/questions/16509531/render-opengl-es-2-0-to-image
and build a gif:
https://github.com/ginsweater/gif-h