instagram-private-api icon indicating copy to clipboard operation
instagram-private-api copied to clipboard

baseUrl configuration

Open SergioBarbero opened this issue 1 year ago • 1 comments

General Question

Form

Put an [x] if you meet the condition, else leave [ ].

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.

SergioBarbero avatar Apr 27 '24 20:04 SergioBarbero

Change the code in request.js You can configure base URL.

sunmasters avatar Jul 15 '24 02:07 sunmasters