Skip to main content
Lists the posts of an Instagram account on the Meta Ads connection (Reels, feed posts, stories) with permalink, shortcode and media id, and resolves an Instagram post URL or shortcode to the media id. Use it to find the instagram_media_id that meta_ads_create_ad_from_post needs to advertise an existing Instagram post.

Inputs

Output

Type: List[Dict] Returns one row per post with id (the instagram_media_id for ad creation), permalink, shortcode, media_product_type, media_type, caption, timestamp and thumbnail_url. Fields: dynamic (depend on the inputs)