Как в instagram получить access_token

1. Заходим в
https://www.instagram.com/developer/clients/manage/
2. Нажимаем кнопку
MANAGE
3. Переходим на вкладку
Security
4. В поле «Valid redirect URIs» вводим адрес своего сайта
http://prooop.ru
5. Обязательно! Отключаем галку «Disable implicit OAuth»
6. Update Client
7. В браузере вводим адрес
https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=token
например:
https://www.instagram.com/oauth/authorize/?client_id=1edf777777777777777777777777777111&redirect_uri=http://prooop.ru&response_type=token
8. В адресной строке получаем
http://prooop.ru/#access_token=1534398845.1edf777.4f7c555555555577777777766111
9. Обязательно! Включаем назад галку «Disable implicit OAuth»


Оставить комментарий