但是,当第二个用户登录此链接时:
https://www.instagram.com/oauth/authorize/?client_id=XXXXXXX&redirect_uri=yyyyyyyyyyy://&response_type=token
他们得到了
{“code”:403,“error_type”:“OAuthForbiddenException”,“error_message”:“您不是此客户端的沙箱用户”}
解决方法
“To manage the list of sandBox users for a given app,you can go to
the SandBox tab in your client configuration screen. There you will be
able to add and remove the sandBox users for your app,up to a maximum
of 10 users. Note that the admin of the app is always a sandBox user,
so you can effectively add up to 9 additional ‘sandBox users’.After adding users to the list,they will have to accept your
invitation before actually becoming sandBox users. To accept the
invitation,they can go to the ‘SandBox Invites’ button on the top bar
of the developer site. In the ‘SandBox Invites’ page people can accept
or reject invitations,and also stop being sandBox users for a given
app.”
我尝试了但它没有用 – 可能是由于延迟. 5分钟后,我能够看到邀请并通过.