You are not a member of this sandbox. Error Codeigniter-Instagram api

In my project, codeigniterI try to use Instagram APIto enter.

This is the library I use.

But when you go to the login page, an error is displayed

{"code": 403, "error_type": "OAuthForbiddenException", "error_message": "You are not a member of this client's sandbox"}

URL example

https://www.instagram.com/oauth/authorize/?client_id=[client ID]&redirect_uri=[your url]&response_type=code

Why does it work like this? Any help could be appreciated

+7
source share
3 answers

According to this error:

{ "code": 403, "error_type": "OAuthForbiddenException", "error_message": " " }

Sandbox:

1:

http://instagram.com/developer ", " ", , - " ".

2:

OAuth redirect_uri " http://localhost" . Disable implicit OAuth

3:

" ", Access Token API , URL-:

https://instagram.com/oauth/authorize/?client_id=[CLIENT_ID_HERE]&redirect_uri=http://localhost&response_type=token

: enter image description here

: http://jelled.com/instagram/access-token

+10

:

{"code": 403, "error_type": "OAuthForbiddenException", "error_message": " "}

Instagram Sandbox Users:

1:

https://www.instagram.com/developer/clients/manage/

Manage.

Sandbox.

2:

Instagram ID , , , Save. pending , .

3:

. Instagram https://www.instagram.com.

https://www.instagram.com/developer/clients/sandbox_invites/.

http://joxi.ru/l2ZRDDPFzV9GK2.jpg

Accept.

! .

+3

:

, Instagram

A B.

, 15 , , Chrome.

0
source

Source: https://habr.com/ru/post/1655426/


All Articles