Instagram dark posts, using api to read info and do operations

谁说我不能喝 提交于 2019-12-25 13:15:18

问题


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.

  1. There is Marketing api in facebook Marketing Api Link
  2. 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?


回答1:


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 weather effective_instagram_story_id exists in creative, and lookup the posts by id lookup via fetch object endpoint.



来源:https://stackoverflow.com/questions/47172815/instagram-dark-posts-using-api-to-read-info-and-do-operations

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!