instagraminstagram-api

Is there a way to distinguish Trial Reels from normal reels using the Instagram Graph API?


We have a SaaS platform that fetches media and insights using the Instagram Graph API to create reports for creators & brands.

Now that the new trial reels feature is being rolled out to more people, our users are noticing multiple duplicate reels in their reports. We aren't able to distinguish between between the Trial Reels and the final reel "displayed on the main grid and reels tab of your profile".

Does anyone know if there's a flag or some other signal in the Graph API to determine which reels are Trial reels? Or which reel has been placed in the main grid?

There's no mention of it in the offical documentation.


Solution

  • I may have spoken too early about there being no mention of it in the official documentation, I found something here:

    Docs > Instagram Platform > API Reference > IG Media

    screenshot of is_shared_to_feed field from IG Media section of Instagram API documentation

    The is_shared_to_feed field seems to do what I need.

    I used the following request against 13 identical reels:

    GET https://graph.facebook.com/<API_VERSION>/<IG_MEDIA_ID> \
      ?fields=is_shared_to_feed \
      &access_token=<ACCESS_TOKEN>
    

    and 12 came back with a response of "false" while only returned "true":

    {
      "is_shared_to_feed": true,
      "id": "180......111"
    }
    

    Hopefully this is enough to allow me to consistently distinguish between the trial reels and the final one displayed in the grid 🤞