Instagram API Authentication - Do user have to login using their own accounts?

Jim H

Am i getting this right? https://www.instagram.com/developer/authentication/

A visitor of a website that calls the Instagram API must login with their own account in order for the application to fetch data from the Instagram API?

Léo Muniz

Certainly it's the best way to do it.

Until June 2016 it's also possible to use client-id to make requests despite of access token. But this is deprecated, so don't use it.

From Instagram:

The Instagram API requires an access_token from authenticated users for each endpoint. We no longer support making requests using just the client_id.

To avoid users must login, you can authorize your user to create an access_token and make all requests with this token. But it's not a good idea because of the rate limits on the API.

From Instagram:

All rate limits on the Instagram Platform are controlled separately for each access token, and on a sliding 1-hour window.

And Global Rate Limits:

Sandbox Mode - 500 requests/hour

Live Mode - 5000 requests/hour

So if you use just one access_token you will be limiting to 5000 requests per hour (live mode) to all users of your site and your app access could easier be blocked by Instagram.

The best and safer way is to force users to login with Instagram, generate an access_token for each user and then perform requests using users token (with 5000 requests per user, per hour).

Good luck.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Do I have to create an app using the original Instagram API before i can use the instagram graph API?

how to implement a user authentication system and create accounts for social network login?

Can't login to Instagram using Client-Side (Implicit) Authentication

I have a frontend application which we do authentication using rest api. Now we want to add login with google functionality by using firebase

How to use Firebase Authentication service and have user in our own database?

User Login Authentication using forms and Django

Is there a way to have users that login their PC to have their authentication done using LDAP?

Native login with Instagram API

login with Instagram private API

How is it to have User and Role info in Windows Azure Table Storage Accounts for system Authentication

Login User with Firebase Authentication

User login authentication

Using Instagram Graph Api with permanent page access token only works for some accounts

Instagram user location with api

Using Laravel 5.8 authentication with external JSON API (Creating own ServiceProvider)

Is it bad to have an API do it's own API requests on the backend?

Programmatic (API calls) User Authentication using Azure AD B2C instead of login.microsoftoneline.com form

I'm using the Requests module to login into Instagram and retrieve user information after login in

How to do password authentication for a user using LDAP?

Instagram API How do you get the comments a user has made?

upon login authentication with LDAP/AD how do I create a user row if one is non existent using AD records

How to use instagram API for Login

Django - Have a user logged in authentication check on every REST API call

android magento customer login(authentication) using using SOAP API

Github API call for user accounts

How many accounts does a user have?-StackExchange

Django user authentication and login problem

Can’t login to the user that I have just created using useradd

Instagram dark posts, using api to read info and do operations