Instagram 集成错误 403 [英] Instagram Integration error 403

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

问题描述

在使用 iOS (swift 3) 应用程序登录 Instagram 期间,我收到以下错误:

During Instagram login using iOS (swift 3) app I am getting error which is below:

{"code": 403, "error_type": "OAuthForbiddenException", "error_message": "您不是此客户端的沙箱用户"}.

请帮助我理解并解决上述问题.

Please help me to understand and solve above issue.

推荐答案

您的申请尚未经过 Instagram 审核和批准.因此,您必须在沙盒模式下进行开发.屁股疼,让我告诉你.

You're application has not yet been reviewed by Instagram and approved. Therefore, you must develop in Sandbox Mode. It's a pain in the butt, let me tell you.

沙盒模式的要点是你必须让你的几个朋友在 instagram 上登录到 开发者网站并接受您的沙盒邀请.然后,您就可以使用 API 客户端查看他们的个人资料.

The gist of Sandbox mode is that you have to get a few of your friends on instagram to log into the Developer Site and accept your Sandbox Invites. Then, you'll be able to use your API client to view their profiles.

Instagram 基本上创建了一个沙盒版本的 Instagram,其中只有您和您的朋友(已批准沙盒邀请)存在.

Instagram basically creates a little sandbox version of Instagram where only you and your friends (that have approved the Sandbox Invite) exist.

IMO,这对开发人员来说是一个障碍.如果您 PM 我,我很乐意接受您的申请的沙盒邀请,因为我知道必须请您的朋友这样做是多么烦人,以便您可以制作视频并提交您的申请以供批准(我我在 Instagram 上@mikeghen).

IMO, this is such an obstacle for developers. If you PM me, I'd be happy to accept a sandbox invite for your application because I know how annoying it can be to have to ask your friends to do this just so you can make your video and submit you application for approval (I am @mikeghen on Instagram).

我强烈建议您花时间通读这些详细介绍沙盒模式和权限审查的文档.

I highly recommend taking the time to thoroughly read through these documents detailing Sandbox Mode and Permission Review.

此外,明确验证您的应用程序是否属于 Instagram 第三方应用程序的用例之一.请参阅登录权限文档中的有效用例..."部分.如果您不适合其中之一(根据我的理解,这是唯一一种),那么您必须回到绘图板.IMO,最好将您的应用程序融入此处的用例,因为这样人们才会真正使用您的应用程序,而 Instagram 会让您访问 API.

Also, definitly verify that your application falls into one of the use cases for Instagram third-party applications. See "Valid Use Cases..." section on the Login Permissions documentation. If you don't fit into one (exclusively one from what I understand), then you have to go back to the drawing board. IMO, its best to fit your application into the use cases here because then people will actually use your application and Instagram will let you have access to the API.

自从 在六月锁定他们的 API2016 年,Instagram 通过引入沙盒使开发人员的工作变得更加困难.但是,如果您可以在 Instagram 上让您的 5-10 个朋友接受您的沙盒邀请,那么这真的是一帆风顺(直到您尝试让您的申请获得批准:P).祝你好运!PM我了解更多.

Since locking down their API in June 2016, Instagram has made it much more difficult for dev by introducing the Sandbox. However, if you can get 5-10 friends of yours on Instagram to accept your Sandbox Invites, then it's really smooth sailing (until you try to get your application approved :P). Good luck! PM me for more.

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

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