Graph Explorer - return filtered items with call to 'media'

240 Views Asked by At

I am trying to retrieve a subset of Instagram posts (only media_product_type = 'REELS'), now that these are available from the Graph API.

The accepted answer in this post suggests it's possible but I can't get it to work. Perhaps because it's calling insights rather than media? How to further filter Facebook Graph API query on Graph API Explorer for my ad account? Appending this, for example, does not work: &filtering=[{field: "media_product_type",operator:"EQUAL", value: 'REELS'}

The working request is: 'https://graph.facebook.com/v10.0/{my account ID}/media?fields=media_product_type,timestamp,id,ig_id,caption,comments_count,like_count,media_url,thumbnail_url,media_type,permalink&limit=200

Is there a way I can return only Reels? Any help much appreciated, thanks for reading.

0

There are 0 best solutions below