Open parsasaei opened 1 year ago
@parsasaei Are you using TOR here?
@parsasaei Are you using TOR here?
No, I'm not used TOR
I have the same problem when I try to login
instagrapi.exceptions.ClientForbiddenError: {"message":"CSRF token missing or incorrect","status":"fail"}
@MainKronos I found when we send user-agent as browser type get this error, so with some searches I found the user-agent here must be have a structure like instagram app needs like this I used:
Instagram 276.1.0.26.103 Android (29/10; 434dpi; 1080x2280; qualcomm; r10p4; ssssss; ssssss; it_IT; 1627776000)
This link can help you to make something like instagram app user-agent structure :
https://whatmyuseragent.com/apps/instagram-app
Hi, I wrote this code for logging in:
But I get this exception in the exception handler function with 403 status error: {"message":"CSRF token missing or incorrect","status":"fail"}
What can I do for solve this issue?