我需要帮助才能开始使用图谱 API 从 Instagram 帐户检索基本公共(public)信息(帐户名称、点赞数、发布日期、图片 URL、描述)。我能够使用 Instagram API 完成所有这些操作,但我还没有看到有关如何使用 Instagram Graph API 执行此操作的任何示例。
最佳答案
是的,Instagram API 将在 2018 年之前弃用一些 API。到 2020 年完成 API 弃用:https://developers.facebook.com/blog/post/2018/01/30/instagram-graph-api-updates/ - 一切都将在 FB 图形 API 上移动。
We will be deprecating the older Instagram API Platform in three phases with complete deprecation occurring in early 2020.
The following will be available until July 31, 2018:
Follower List - to read the list of followers and followed-by users Relationships - to follow and unfollow accounts on a user’s behalf Commenting on Public Content - to post and delete comments on a user’s behalf on public media The following will be available until December 11, 2018:
Commenting - to post and delete comments on a user’s behalf on owned media Public Content - to read any public profile info and media on a user’s behalf Likes - to like and unlike media on a user’s behalf Subscriptions - to receive notifications when media is posted The following will be available until early 2020:
Basic - to read a user’s profile info and media
但是,是的,您的担忧是正确的 - 图形 API 中没有公共(public)内容的方法。
而且您搜索公共(public)内容的用例将不受支持。
FB 希望转向企业帐户方法,而不是成为用于搜索的照片存储库(如 twitter、pinterest 或 flickr)。他们希望拥有带有广告和其他帐户类型特定功能的品牌帐户。 (例如面子书或微信)
关于php - 如何使用 PHP 使用 Instagram Graph API 检索公共(public)帖子信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48626845/