dilame / instagram-private-api

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

Running with react native on vs code #1289

Open mkkurt opened 4 years ago

mkkurt commented 4 years ago

Hi, i am trying to work with this library but i dont know how to run it. im creating a react native project with npm, then install instagram-private-api to the project folder. and i copy an example code from this github then try to run it by typing "node example.js". It always gives errors like "module not found", "unknown file extension" etc. Can anyone help me with how can i run basic codes like for loggin in or receive data like followers count etc. ? should i use something other than a react native project?

Nerixyz commented 4 years ago

Please be more specific on which errors you're getting. module not found is pretty generic.

chiragshah1312 commented 4 years ago

@Nerixyz check this https://github.com/dilame/instagram-private-api/issues/1233