skip to Main Content

I am using this url for get request –

https://graph.facebook.com/${ig_media.id}/comments?access_token=${config.userAccessToken}

But it is returning only 25 comments. What can I do to get more comments?

Here ig_media.id is media ID of instagram, which is required to get comments on a media, where media can be posts of pictures or videos on instagram.

userAccessToken is the access token required to do the following api request on Instagram.

3

Answers


  1. It also gives you a after parsing like that use that for further record.
    For reference it will like that…

     "paging": {
            "cursors": {
                "before": "QVFIUjRPWGRFU3NVejFma29QeGtwVTA2Y1o1bW5vVGRFS1FkeTdKZAW1VSU5nMG5DbzJBWEJGcnFlVU05SlFCR0ZAvVXU2dGlYZA3lZAbXMzbzhfNkVQZAktEWlBn",
                "after": "QVFIUlZApd01xQXlFbHc0eTYwMEloVWFoVDFLVzllbXlRUlFQUmlIUUQteUl1Sy1fTF9Odk1SMjVHWk9IYUJiS2ZAiODVUZAllpWUtuZA0NfTjVTRnRQQS1vN25R"
            },
    Login or Signup to reply.
  2. Instagram Allow max 25records at one go.. and return before and after paging with it for further records..

    Login or Signup to reply.
  3. It also gives you a after parsing like that use that for further record. For reference it will like that…

    "paging": {
            "cursors": {
                "before": "QVFIUjRPWGRFU3NVejFma29QeGtwVTA2Y1o1bW5vVGRFS1FkeTdKZAW1VSU5nMG5DbzJBWEJGcnFlVU05SlFCR0ZAvVXU2dGlYZA3lZAbXMzbzhfNkVQZAktEWlBn",
                "after": "QVFIUlZApd01xQXlFbHc0eTYwMEloVWFoVDFLVzllbXlRUlFQUmlIUUQteUl1Sy1fTF9Odk1SMjVHWk9IYUJiS2ZAiODVUZAllpWUtuZA0NfTjVTRnRQQS1vN25R"
            },
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search