deathsec / instagram-py

MIT License
323 stars 113 forks source link

fatal error:: "name='csrftoken', domain=None, path=None" #68

Open knighthawk48753 opened 1 year ago

knighthawk48753 commented 1 year ago

Select your issue type: (check at least one)

Describe your issue: I had this working for a quite a while, but now get:

fatal error:: "name='csrftoken', domain=None, path=None"

I've tried uninstalling / reinstalling, recreating config file, clearing cookies but none of that helped.

If I open a browser on the same computer and hit "https://i.instagram.com/api/v1/si/fetch_headers/?challenge_type=signup&guid=800e88b931bf491fa3b4a7afa4e679eb", I can see the csrftoken value, with domain of ".instagram.com" and path of "/".

Any suggestions would be appreciated. Thank-you.

CocoBonjo commented 1 year ago

same !!!

Oraclis commented 1 year ago

Change your user agent in your instapy-config.json

devvarun001 commented 1 year ago

How to change

GiantPopey commented 1 year ago

Same problem

mw55309 commented 9 months ago

Same issue, anybody solved this? @Oraclis

syntaxerrortion commented 9 months ago

@Oraclis how?

shreesha345 commented 8 months ago

I too have a same problem

Arunisgreat1234 commented 8 months ago

Change your user agent in your instapy-config.json

How to change bro pls reply pls I give you more bless pls bro teach me how to change the user agen I know how to change user agent but Please tell me what should I change to remove this error?