my company is trying to make interactions with instagram dark posts(It is when you create an ad to target specific people, unpublished posts like facebook dark posts). I have searched nearly all of documentations and I am noting what I have found.
- There is Marketing api in facebook Marketing Api Link
- There is a link I have taken from a php scrapper "www.instagram.com/p/{short_code}/?__a=1"
Option 2 is giving likes and comments but I think it is limited. There is another link with "/graphql?queryid=123123" that gives comments.
And another thing is I have not seen anything to post a comment to a dark post except Marketing Api.
My question is how can I do interactions with dark posts in the most efficient way?
You can use normal
/comments
edge to retrieve comments from the post id. and POST to create comments on them.It would work same as engagement on normal posts. Once you have the instagram dark posts with you.
One way to poll dark posts are:
act_{pageId}/ads
would return all the ad groups. and you can filter only Insta post by checking weathereffective_instagram_story_id
exists in creative, and lookup the posts by id lookup via fetch object endpoint.