Post Animated Pictures on Facebook Groups and Timeline [How to]


ADVERTISEMENT

I wrote a post already to insert animated picture on Facebook cover photo and life events. You need the tutorial of them to understand or follow with this post. Please have a look in that article because only when you have your own animated picture in a Life Event of your profile, you may proceed few steps here. Previous article: Insert Animated Pictures on Facebook Cover Photo and Life Event [How to]. Read it to add an animated picture in your life event. Now, if you have learnt how to add animated images in your Life Event, its time to post animated pictures on Facebook Timeline or Group.

Certain things are to be required before applying this trick.

  1. Profile ID or Group ID
  2. Photo ID
  3. Access Token

Posting animated pictures on groups and timeline require an Application. So, it is a must that an access token is required. I will explain you in simple steps to post animated or GIF images on your Facebook timeline or groups.

ADVERTISEMENT

Step 1: Get access token here. When you go here, just allow the application and copy the access token which appears like the one below.
AAABZBS7sSkUYBAAQZCtAQk9U9HDZCrSRzKUC8plnXLSAZC5QbTgZAZAQTZCbzNZBFot0Vd4x2etuvREzCeHm0vZBNvkVm1NDEqUZChkcYqI0T0ckFK6QbTOOJG

If you have more doubts on getting access token, see the below image.

Get Access Token

[CLICK ON THE IMAGE TO ENLARGE]

Step 2: Now, copy the below code in your favorite text editor like notepad. This is just for easy use.

Use below code to post on your timeline:

Use the below code to post in groups:

Step 3: Replace the following, in the above code.

TIMELINE_ID_OR_USERNAME or GROUP_ID with the ID of the group or timeline to be posted. To get a ID of your profile i.e. a Timeline or wall, you should, go here:
http://graph.facebook.com/username
In the above URL, replace the username with the Username of your profile.

To get ID of the group, it’s simple, analyse its URL and get it. Usually a group have an URL like below one.
http://www.facebook.com/groups/123456789/
Here, in the above example, 123456789 is the group ID.
If a group URL doesn’t appear like above, just go to the group, choose Notifications and right click on Settings. Choose Copy Link Location. You can find the group ID there, in the URL.

MESSAGE_TO_BE_DISPLAYED with your message.
ANY_NAME_FOR_PICTURE with any name for the picture.
PICTURE_ID with the ID of the picture you inserted in life events. Go to your profile info on your timeline, select a life event which you created already with animated pictures (Tutorial link given in this article’s first paragraph). Open the photo and the PICTURE_ID is the value of fbid in the URL of the image.
LINK_FOR_NAME will be the link for the text that you specify for the value &name.
PICTURE_CAPTION with a caption of the picture (any).
PICTURE_DESCRIPTION with the description of the picture.
ACCESS_TOKEN with the access token which you got from step 1.

See the below image and learn how your replaced text will work after posting.

Code working sample

Step 4: After replacing your custom text in the code, it’s time for you to post on timeline and groups. Just copy the replaced code and paste it in your address bar of your browser. And voila, if you get something like the image below this, you are successful in posting. You may check your timeline or group.

Success Post Animated Pictures on Facebook

Share your comments and doubts here in comments. Subscribe and stay tune for new updates. Like us on Facebook.

Update 1: If you like to post animated pictures on Page with your page name, you can’t make use of this trick. Instead, use the latest trick here.

Update 2: We have updated this post with the code to post animated pictures on groups. Larbi, one of our readers of CryptLife site corrected this. He pointed out a error in the code for posting animated pictures on groups. We debugged it and added a code for posting animated pictures on groups. Thanks Larbi! If you have any queries or suggestions, you may contact us.



25 people commented. Join the conversation.

Leave a Reply

Your email address will not be published. Required fields are marked *


  • `mOp says:

    this is the error i get
    {
    “error”: {
    “message”: “(#100) href must be a string”,
    “type”: “OAuthException”,
    “code”: 100
    }
    }

    • Arjun says:

      I have updated the post. You may check now. 🙂 If you are trying to post in groups, then a new code inserted in this post(exclusively for groups) will help.

  • `mOp says:

    Thx Bro keep up the good work

  • `mOp says:

    i didn’t understant what to put in the “&link” pliz give me an exemple

    • Arjun says:

      You can specify any URL there. The URL you specify there will automatically linked with the ANY_NAME_FOR_PICTURE, that is the &name value.

  • Sufi says:

    the group script doesnt work.. it come out this
    {
    “error”: {
    “message”: “(#100) href must be a string”,
    “type”: “OAuthException”,
    “code”: 100
    }
    }

  • sufi says:

    this my code 🙁

    graph.facebook.com/361063150579223/feed?method=POST&message&object_attachment=265551560226868&link&name&description&access_token=***HIDDEN*FOR*PRIVACY***

    • Arjun says:

      The code is correct.
      1. Check whether you have given the value of FBID of your own animated picture. That is, only if you have uploaded animated picture in your life events or cover picture, you can use that FBID for the value of object_attachment.
      2. Do not delay after getting access token. It may expire after sometime.
      3. I think you have tried to post animated pictures in a group, so please provide the value for &link.
      4. Check the group ID.

  • James says:

    Ahhh … Dude ! I’m lost at when I finished editing the thing that I copied in Notepad. I mean, where do I put it ?

  • sUFI says:

    sIR aRJUN ,, help me please

    graph.facebook.com/137253743065670/feed?method=POST

    &message=poWER bALANcE
    &object_attachment=268088946638437
    &access_token=For Privacy 🙁

    and this it come out

    {
    “error”: {
    “message”: “(#100) Invalid object_attachment parameter”,
    “type”: “OAuthException”,
    “code”: 100
    }
    }

  • Andrija says:

    It doesn’t work !

  • JD says:

    please inform me mr.arjun if you found a new way to work this trick… T_T thank you..

  • Randy says:

    sIR aRJUN ,, help me please,

    {
    “error”: {
    “message”: “Unsupported method, post “,
    “type”: “GraphMethodException”,
    “code”: 100
    }
    }

    this my code 🙁 🙁

    graph.facebook.com/374927849227011/feed?method=POST

    &message=RANDY NXT
    &object_attachment=http://static.tumblr.com/gqlnath/GnDlxhq5z/tumblr_lqenqa2ana1qkiqdko1_500.gif
    &name=RANDY NXT
    &description=RANDY
    &access_token=CAACEdEose0cBAInIVWFZCkRN7SUzCgBVzpFA53MXgotBRHZARX2U0iNa810EqOag5Lcadol8z5ZA5eMOVQ2qtomXsKP0Tyb6BZAnCizbSOjZAEMwfVoLLVWZBGhZAfrHZCLId9wlbtBKvGAJZB9bEISoqd45UVSdXFL0ZD