pradel / node-instagram

Instagram api client for node that support promises.
MIT License
190 stars 27 forks source link

Invalid signed-request: Missing required parameter 'sig' #16

Closed paruckerr closed 7 years ago

paruckerr commented 7 years ago

//Sandbox

const instagram = new Instagram({
  clientId: 'clientIdTest',
  clientSecret: 'clientSecretTest',
  accessToken: 'accessTokenFromUser'
});

const user = (req, res) => {
  instagram
    .get(`users/self`)
    .then((data) => res.status(200).json(data))
    .catch(err => res.status(500).json(err))
}

Catch Error

{
    "error_type": "OAuthForbiddenException",
    "code": 403,
    "error_message": "Invalid signed-request: Missing required parameter 'sig'"
}

Something wrong?

Regards.

paruckerr commented 7 years ago

Sorry I check Enforce signed requests, its ok now.