Can I get the access token without login? As I need to get the ratings by below API and this API i required access_token.
https://graph.facebook.com/v5.0/{page-Id}/ratings?access_token={page_access_token}
Below steps I have done it to achieve the ratings. First API Call
https://graph.facebook.com/oauth/access_token?client_id={client-id}&client_secret={client-
secret-id}&grant_type=client_credentials
Second API calls
https://graph.facebook.com/debug_token?input_token={user_access_toke}
&access_token={generated_access_token_from_ouath}
Error:
{
"error": {
"message": "(#100) The App_id in the input_token did not match the Viewing App",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "AFBYAMTvW5W65Ur3gUXa_0e"
}
}
Can you please help me out to generate the access token so I can get the rating and reviews.