Instagram API with PHP

て烟熏妆下的殇ゞ 提交于 2020-08-26 09:32:00

问题


I have an application where I am using Facebook,Linkedin and Twitter Api's to post on the respective platforms.Now I am deciding to use Instagram to start posting using their Api but I have not found any good articles to implement their Api.

Moreover I have read somewhere that it is not possible to post media contents using Instagram Api's. Is it true or we can now use Instagram to share media contents ?


回答1:


Currently, it's only possible to post comments via the Instagram Graph API. You cannot post media.

https://developers.facebook.com/docs/instagram-api/reference/media

IG Media Represents and Instagram photo, video, story, or album.

Creating This operation is not supported. To create an IG Comment, use the POST /{ig-media-id}/comments endpoint instead.

However there is a new publishing beta program you must be invited into:

https://developers.facebook.com/docs/instagram-api/reference/user/media

Creates a media container for a photo IG Media object. This endpoint is only available to partners in the Content Publishing API beta program. https://developers.facebook.com/docs/instagram-api/guides/content-publishing



来源:https://stackoverflow.com/questions/59470455/instagram-api-with-php

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