Closed paruckerr closed 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.
Sorry I check Enforce signed requests, its ok now.
//Sandbox
Catch Error
Something wrong?
Regards.