使用 Instagram 新图形 API 在 iOS 应用程序中登录 Instagram

Posted

技术标签:

【中文标题】使用 Instagram 新图形 API 在 iOS 应用程序中登录 Instagram【英文标题】:Login with Instagram in iOS app using Instagram new graph API 【发布时间】:2018-07-31 12:23:50 【问题描述】:

我们如何通过新的 Instagram 图形 API 在 ios 应用程序中使用 Instagram 功能实现登录?他们正在弃用旧的 API,并建议迁移到新的图形 API。

我没有找到有关位于以下路径的文档的正确详细信息: https://developers.facebook.com/docs/instagram-api/

这是同一个问题,但没有从该问题中得到明确的细节: ios - instagram login with new instagram graph api?

【问题讨论】:

ios - instagram login with new instagram graph api?的可能重复 【参考方案1】:

Instagram Graph Api 仅适用于 Instagram 企业帐户。为此,您需要在您的 facebook 开发人员帐户中创建一个应用程序。您还需要从您的 facebook 应用程序仪表板的产品部分添加 instagram 检查以下屏幕截图 这些 API 不支持常规的个人资料如果您对涉及 Instagram 登录的消费者(非商业)用例感兴趣,您可以关注the official instgram developer portal 了解更多详情

【讨论】:

【参考方案2】:

目前,新的 Facebook Graph API 不为普通用户提供instagram_basic 范围。因此,拥有登录功能的唯一方法是通过 Instagram 的旧 API 平台。

但是,此功能是 announced to be released in early 2019,比旧平台基本范围宣布的弃用日期早一年。

关于审核验证过程我也有更详细的回复in another related thread。

【讨论】:

以上是关于使用 Instagram 新图形 API 在 iOS 应用程序中登录 Instagram的主要内容,如果未能解决你的问题,请参考以下文章

Instagram 图形 API

使用facebook graph api获取Instagram自己/自我饲料

日期之间的 Instagram 图形 API 媒体帖子

没有下一个用于在 Facebook 的商业帐户图形 API 上获取 instagram 媒体的网址

Instagram API 到图形 API

Instagram 图形 API 访问令牌