0

I am using Instamojo in my application with node js. How can I enable sandbox mode using instamojo-nodejs module. In Instamojo docs they mentioned to replace instamojo.com with test.instamojo.com, but with this module only we are mentioning keys to connect Instamojo APIs.

var Insta = require('instamojo-nodejs');
Insta.setKeys(API_KEY, AUTH_KEY);

Here where I can mention the test account.

Ashwini Chaudhary
  • 244,495
  • 58
  • 464
  • 504
user3483782
  • 61
  • 1
  • 13

1 Answers1

0

This can be achieved by adding the following line:

Insta.isSandboxMode(true);

This feature is available in v0.0.4 of the package. Make sure you have latest version installed!

Ashwini Chaudhary
  • 244,495
  • 58
  • 464
  • 504
user3483782
  • 61
  • 1
  • 13