instagram-private-api
instagram-private-api copied to clipboard
baseUrl configuration
General Question
Form
Put an [x] if you meet the condition, else leave [ ].
- [X] I've searched the Issues
- [X] I've read the basic concepts
- [X] I'm using the latest version
Question
Hi guys! Thank you for the hard work on building this library. I wonder if there's any way of configuring the instance so that I can change baseUrl from https://i.instagram.com to one of my choice. The reason is that I created an instagram mock server (with the help of Wiremock) that I use for testing. Being able to use it would help me massively to test my cases without hitting the real instagram.
Change the code in request.js You can configure base URL.