TL;DR, Quick Answer
8 min readYou can add a GIF to a Facebook post with the GIF button in the status box, upload a GIF file through Photo/video, or comment with one through the Gif icon under a post. For Pages, Meta's Graph API takes .gif files on /{page-id}/photos with a 10MB cap, and its comments edge has an attachment_share_url field for "a animated GIF comment." Meta's photo reference does not say whether an animated GIF keeps playing after an API upload. AdaptlyPost sends a Facebook GIF that fits Facebook's rules unchanged and turns one that does not fit into a still JPEG copy.
Can you post a GIF on Facebook?
You can post a Facebook GIF in a regular post, in a comment and in a Page post sent through Meta's Graph API, and each route handles the file differently. In the Facebook app and on the web, you either pick a GIF from the GIF button or upload a GIF file you saved. Through the API, a Page uploads the GIF as a photo or attaches it to a comment by URL.
The routes matter because they decide whether the animation survives. GIPHY's help article lists the GIF button as a way to get a GIF to play on Facebook. A GIF file you upload goes through Facebook's photo pipeline, and Meta's photo reference says Facebook "resizes images to different dimensions to best support rendering in multiple sizes." The sections below cover each route, the limits Meta publishes and what a scheduling tool does with the file.
How do you add a GIF to a Facebook post?
A GIF goes into a Facebook post through one of two buttons in the status box: the GIF button, which searches a library, or Photo/video, which uploads a GIF file from your device. GIPHY's help article "How to Share a GIF on Facebook" lists both as ways "to get your GIFs to play on Facebook," plus a third: sharing straight from giphy.com or the GIPHY app.
To upload your own GIF file:
- Save the GIF to your computer or camera roll. If you need to make one first, three ways to create a custom GIF file covers video clips, stills and screen recordings.
- At the top of your Feed, click Photo/video, the button Meta's "Share photos on Facebook" help article names for adding photos.
- Select the GIF file.
- Add text, tag people or set a location if you want.
- Select your audience, then click Post.
To use the library instead, GIPHY's article says to open the status box, "Click the GIF icon to search for and select a GIF from the GIF library," and then share the post. Meta's own help pages do not name the company behind that library. GIPHY's article is the only source we found that ties the GIF button to GIPHY content, and it describes the button from GIPHY's side.

How do you comment with a GIF on Facebook?
Facebook comments have a Gif icon in the comment box, so you can reply with a GIF without saving a file first. Meta's help article "Comment on something you see on Facebook" gives the steps for desktop: click Comment below the post or in the box that says Write a comment, then "Click Gif to comment with a gif," and press Enter or Return to publish. The same box has Emoji, Camera, Sticker and Avatar options.
Page admins comment the same way when they reply as their Page. For tools that post comments through the API, Meta's Object Comments reference lists four attachment fields on /{object-id}/comments:
| Field | What Meta's reference says it does |
|---|---|
attachment_share_url | "The URL of a GIF to include as a animated GIF comment." |
attachment_url | "The URL of an image to include as a photo comment." |
attachment_id | The ID of an unpublished photo "to include as a photo comment." |
source | "A photo, encoded as form data, to use as a photo comment." |
Publishing a comment needs a Page access token from someone who can perform the MODERATE task, plus the pages_manage_engagement permission. If you answer a lot of comments on your Page, the Facebook comment management guide covers moderation and reply workflows.
What file limits apply to a GIF on Facebook?
The only GIF file limit Meta publishes for organic posts is the Graph API photo cap: a GIF uploaded to a Page through /{page-id}/photos "can not exceed 10MB." Meta's Page Photos reference lists the accepted file types as ".jpeg, .bmp, .png, .gif, .tiff" and adds a PNG note: "For .png files, we recommend not exceeding 1MB or the image may appear pixelated."
| Where the GIF goes | How it gets there | Limit Meta documents | Source |
|---|---|---|---|
| Post, uploaded file | Photo/video button | No GIF-specific limit stated | Share photos on Facebook |
| Post, from the library | GIF button in the status box | No limit, you pick a hosted GIF | GIPHY help article |
| Comment | Gif icon in the comment box | No limit stated | Comment on something you see on Facebook |
| Page post through the API | url or file upload on /{page-id}/photos | .gif accepted, 10MB maximum | Graph API Page Photos reference |
| Comment through the API | attachment_share_url | No size stated | Graph API Object Comments reference |
Meta does not publish a frame count or a duration cap for GIFs anywhere in these pages. The same reference warns that "Facebook strips all location metadata before publishing," so any location data in the file never reaches viewers.
Does a GIF uploaded through the Graph API stay animated?
Meta's Page Photos reference accepts .gif files but says nothing about whether an animated GIF keeps playing once Facebook has processed it. The reference describes resizing and metadata stripping and stops there. The comments edge is the one place where Meta's docs promise animation, through attachment_share_url, which Meta describes as "a animated GIF comment."
That gap leaves you two safe moves when animation matters:
- Test the upload first. Post the GIF to a test Page, or upload it with
published=false, which Meta's reference describes as uploading "without publishing it," and check how it renders before you schedule the real post. - Post the loop as a video instead. Convert the GIF to an MP4 and publish it as a Facebook video, which plays as video by design. The guide to sharing videos on Facebook covers formats and settings for that route.
What does AdaptlyPost do with a Facebook GIF?
The AdaptlyPost composer accepts a GIF for a Facebook post, and AdaptlyPost's Facebook rules list GIF as a supported image format next to JPEG, PNG, BMP and TIFF, so a GIF that fits Facebook's rules goes out unchanged. AdaptlyPost publishes a single image as the url of a /{page-id}/photos call, with the alt text you wrote sent as alt_text_custom. For several images, it uploads each one to /{page-id}/photos with published=false and then creates one feed post with attached_media, the same two-step flow Meta documents.
AdaptlyPost changes a Facebook image only when it breaks one of these rules, and for a GIF the change has a cost:
AdaptlyPost
Start Your 7-Day Free Trial
All-platform analytics
Social Inbox
AI-powered assistant
- The file is over AdaptlyPost's Facebook image size limit.
- A feed image falls outside the 1:3 to 3:1 shape range AdaptlyPost checks for Facebook, or a Story image is not 9:16 or is below the Story minimum resolution.
- You picked a fixed shape in the composer's "Image shape" option (Square 1:1, Portrait 4:5, Vertical 9:16 or Landscape 1.91:1) and the GIF is a different shape.
In each case AdaptlyPost makes a Facebook copy by compressing, resizing or reframing the image, cropped from the center by default or fitted on a blurred background. The adaptation code writes that copy as a JPEG, a format that holds one frame, so the animation stops. Leave "Image shape" on "As uploaded" and keep the GIF inside Facebook's limits if you want the original file to go out.
The public API is stricter than the composer. Its upload endpoint accepts image/jpeg, image/png, image/webp, video/mp4 and video/quicktime, and the post to Facebook via API page states "no GIF" for Facebook images. AdaptlyPost does not post GIF comments, so a GIF comment on your Page post is something you add by hand in Facebook.
For scheduling itself, the Facebook post scheduler plans single or multi-image posts, videos and Reels for a Page in one calendar, and how to schedule Facebook posts walks through the steps.

- File is within the Facebook image size limit
- Feed shape sits between 1:3 and 3:1
- "Image shape" is left on "As uploaded"
- The original GIF goes out unchanged
- File is over the size limit
- Shape falls outside the allowed range
- A fixed "Image shape" differs from the GIF
- A JPEG copy goes out, with one frame and no animation
How do you schedule a Facebook GIF so it keeps moving?
The safest way to schedule an animated loop for a Facebook Page is to post it as an MP4 video, because Meta documents animation only for GIF comments, not for GIF photo uploads. If you want to send the GIF file itself, follow these steps:
- Keep the GIF under AdaptlyPost's Facebook image size limit, which is lower than Meta's 10MB cap for Page photos.
- Keep its shape between 1:3 and 3:1 for a feed post, or 9:16 for a Story, so AdaptlyPost does not reframe it.
- Leave the composer's "Image shape" option on "As uploaded."
- Add alt text in the composer, which AdaptlyPost sends to Facebook with the image.
- Schedule the post, then check the published post on your Page.
If the published post shows a still frame, delete it and repost the loop as an MP4 video.
Frequently asked questions
Can you upload a GIF to a Facebook post?
Yes. Click Photo/video in the status box and select the GIF file, or use the GIF button to pick one from Facebook's library. GIPHY's help article lists both routes as ways to get a GIF to play on Facebook.
How do I comment with a GIF on Facebook?
Click Comment below the post, then click the Gif icon in the comment box and pick a GIF. Meta's help article says to "Click Gif to comment with a gif" and press Enter or Return to publish.
What is the maximum GIF file size on Facebook?
Meta's Graph API Page Photos reference caps uploaded photos, GIFs included, at 10MB. Meta's help centre articles on sharing photos and commenting state no separate GIF size, frame or duration limit.
Does Facebook use GIPHY for its GIF button?
Meta's help pages do not name a GIF provider. GIPHY's own help article lists the GIF button in Facebook's status box as one way to get GIPHY GIFs onto Facebook, alongside uploading a saved file and sharing from giphy.com.
Can a Facebook Page post a GIF comment through the API?
Yes. Meta's Object Comments reference has an attachment_share_url field, described as "The URL of a GIF to include as a animated GIF comment." Publishing needs a Page access token from someone with the MODERATE task and the pages_manage_engagement permission.
Can AdaptlyPost schedule a GIF to a Facebook Page?
Yes, from the composer. A GIF that fits Facebook's rules goes out unchanged as a Page photo, while one that is too large, outside the allowed shape or set to a different "Image shape" becomes a still JPEG copy. The public API upload endpoint does not accept GIF files, so API users post the loop as an MP4 video.
Why is my Facebook GIF not moving?
A GIF turns into a still image when AdaptlyPost has to adapt it. That happens when the file is over the Facebook image size limit, falls outside the allowed shape, or differs from a fixed "Image shape" you picked. AdaptlyPost writes that Facebook copy as a JPEG, which holds one frame. Meta's photo reference also does not say whether an animated GIF keeps playing after an API upload, so test with published=false first.
How do I keep a GIF looping on a Facebook Page?
Convert the GIF to an MP4 and publish it as a Facebook video, which plays as video by design. Meta documents animation only for GIF comments, not for GIF photo uploads, so video is the safer route. Check the published post on your Page afterward.
What image file types can a Facebook Page upload through the Graph API?
Meta's Page Photos reference lists .jpeg, .bmp, .png, .gif and .tiff. An upload can't exceed 10MB. For .png files, Meta recommends not exceeding 1MB "or the image may appear pixelated."
AdaptlyPost
Start Your 7-Day Free Trial
All-platform analytics
Social Inbox
AI-powered assistant
Can AdaptlyPost add a GIF as the first comment on a Facebook post?
No. AdaptlyPost does not post GIF comments, so you add a GIF comment by hand in Facebook. Open the published Page post, click Comment, then click Gif in the comment box and pick one.
Put this into practice with AdaptlyPost
Was This Article Helpful?
Let us know what you think!
See us more often in Google
One click marks AdaptlyPost as a preferred source, so our articles sit higher in your Top Stories, AI Mode, and AI Overviews.
Before you go...
AdaptlyPost
Schedule your content across all platforms
Manage all your social media accounts in one place with AdaptlyPost.
All-platform analytics
Social Inbox
AI-powered assistant
Related Glossary Terms


How to Post a Bluesky GIF That Keeps Moving
How a Bluesky GIF reaches a post: the KLIPY picker, uploads the app turns into video, image embeds that show one frame, and what AdaptlyPost sends.


The Facebook Long Lived Access Token and Its 60-Day Clock
A Facebook long lived access token lasts about 60 days, and the Page token you derive from it has no expiry date at all. The exchange call and the caveats.


Meta's x-app-usage header Is Three Percentages and No Clock
Meta's x-app-usage header reports call_count, total_time and total_cputime as percentages of an app's rolling hourly Graph API allowance, with no reset time.
Related Articles


What facebookexternalhit Is and What Meta Requires From Your Server
The facebookexternalhit user agent is Meta's link preview crawler. Here are the exact UA strings, the server requirements and the AAAA record trap.


Where l.facebook.com Comes From and Why Clicks Land as Direct
Facebook routes outbound clicks through l.facebook.com, its link shim. Here is what the hop does to your referrer and why a visit can land as direct.


How to Add Mastodon Alt Text in the Web App and the API
Adding Mastodon alt text takes the ALT button in the composer or the description field on POST /api/v2/media. Server limits, defaults and culture.

