Close

Profile: byronfas

Avatar

User posts

2 months ago

I have this error: {"error_type": "OAuthException", "code": 400, "error_message": "Invalid scope: ['basic']"}
so instead of using this url: https://www.instagram.com/oauth/authorize?client_id=------6642&redirect_uri=https://www.ximivogue.com.sv/Instagram/Authenticate?socialNetworkId=1&response_type=code&scope=basic
I use this: https://api.instagram.com/oauth/authorize?client_id=----6642&redirect_uri=https://www.ximivogue.com.sv/Instagram/Authenticate&scope=user_profile,user_media&response_type=code
and this return a Code, but nopcommerce display an error page, and on the log it has the following error:
Log level: Error
Short message: social network id should not be 0
Full message:  
System.ArgumentException: social network id should not be 0
   at SevenSpikes.Nop.Plugins.SocialFeed.Services.SocialNetworkService.GetSocialNetworkSettings[T](Int32 socialNetworkId)
   at SevenSpikes.Nop.Plugins.SocialFeed.Areas.Admin.Controllers.SocialNetwork.InstagramController.OAuth(String code, Int32 socialNetworkId)

Please do you know how to fix this.  I am working with version 4.20. I will appreciate your help.