使用PHP的Instagram API [英] Instagram API with PHP

查看:107
本文介绍了使用PHP的Instagram API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,使用Facebook,Linkedin和Twitter Api在各自的平台上发布.现在,我决定使用Instagram来开始使用其Api发布,但是我没有找到任何好的文章来实现其Api.

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.

此外,我读到某处无法使用Instagram Api发布媒体内容.是真的,还是我们现在可以使用Instagram共享媒体内容?

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 ?

推荐答案

当前,只能通过Instagram Graph API发表评论.您不能发布媒体.

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媒体 代表和Instagram照片,视频,故事或专辑.

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

创建 不支持此操作.要创建IG注释,请改用POST/{ig-media-id}/comments端点.

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

但是,有一个新的发布Beta版计划必须邀请您加入:

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

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

为照片IG Media对象创建媒体容器.该端点仅对Content Publishing API beta程序中的合作伙伴可用. https://developers.facebook.com/docs/instagram-api/指南/内容发布

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

这篇关于使用PHP的Instagram API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆