instagrapi
instagrapi copied to clipboard
Instagram Basic Display API compatibility
I am developing an app using Instagram Basic Display API to authorize the user, which uses an autentication token to log in the user. So i want to authenticate the user with the official Display API (with the token) and exploit instagrapi to get the saved collections, but afaik it uses the id of the session to autenticate the user.
Could there be an instagrapi endpoint to login the user with the token instead of the sessionId giving the explicit username and password? Or maybe retrieve the sessionId from official API?
If i take the sessionId from the cookie of the above screen (using the Instagram Basic Display API) and i use it to login in instagrapi with python it works. But if i do the same with instagrapi rest (in a flutter app) it says session not found
, and my login is blocked.
How can this happen?
+1 here I would also be interested about a compatibility between the two
Also getting a session not found
if I use the sessionId
from the browser with instagrapi-rest