Facebook Oauth Rest Api Error
-
Hello, I was implementing Facebook Oauth on a mobile app using rest API along with your plugin. Also, I have read other post related to REST API(its Flow, data format, and possible error). I am here because I have tried all mean using POSTMAN client(3 different ways).
Note- I can successfully login on my website using Fb Oauth with help of your plugin. Also, I have a different app on FB developer, one for mobile app and one for the website.
1st way- Screenshot- https://prnt.sc/sv5t39 . This Token I have obtained via my app and tried in post man. Getting below Error
2nd way- Screenshot- https://prnt.sc/sv5tkf. I know this was not correct way, but still I have tried it, sending data into body.
3rd way- Screenshot- https://prnt.sc/sv5rjv . This Token I have obtain via the website using this
echo wp_remote_retrieve_body($request);exit;in filewp-content/plugins/social-login/nextend-facebook-connect/includes/oauth2.phpnear line 138. Here, I am sending all data as the paramater as told by you, and I am getting below error (500 Internal Error){
“code”: “error”,
“message”: “An active access token must be used to query information about the current user.”,
“data”: null
}Could you tell me what I am missing exactly, Even I am getting Token via website which has come from nextend, still facing problem. Thanks in advance.
The topic ‘Facebook Oauth Rest Api Error’ is closed to new replies.