dilame / instagram-private-api

NodeJS Instagram private API SDK. Written in TypeScript.
MIT License
5.94k stars 1.14k forks source link

How to set custom user agent ? #1523

Open pythonjsgo opened 3 years ago

pythonjsgo commented 3 years ago

Hello, how can I set custom user agent for ig ?

kingbotss commented 3 years ago

find file src/samples/devices.json there you can add your own user agent.

pythonjsgo commented 2 years ago

Thanks

pythonjsgo commented 2 years ago

Is there any ways to set user agent for current account ( I have multiply accounts )

kingbotss commented 2 years ago

It will take 1 unique user agent from list for username you gave. but there is no way to set manually(I think)