Instagram API Authentication - Do user have to login using their own accounts? -
am getting right? https://www.instagram.com/developer/authentication/
a visitor of website calls instagram api must login own account in order application fetch data instagram api?
certainly it's best way it.
until june 2016 it's possible use client-id make requests despite of access token. deprecated, don't use it.
from instagram:
the instagram api requires access_token authenticated users each endpoint. no longer support making requests using client_id.
to avoid users must login, can authorize your user create access_token , make requests token. it's not idea because of rate limits on api.
from instagram:
all rate limits on instagram platform controlled separately each access token, , on sliding 1-hour window.
and global rate limits:
sandbox mode - 500 requests/hour
live mode - 5000 requests/hour
so if use 1 access_token limiting 5000 requests per hour (live mode) users of site , app access easier blocked instagram.
the best , safer way force users login instagram, generate access_token each user , perform requests using users token (with 5000 requests per user, per hour).
good luck.
Comments
Post a Comment