Answer the question
In order to leave comments, you need to log in
Facebook API - how to solve the problem with the token?
I have a problem with FB API token. Everything worked, but at some point it began to give an error:
{'error': {'message': 'Error validating access token: Session has expired on Tuesday, 20-Jul-21 02:50:57 PDT. The current time is Thursday, 29-Jul-21 00:58:43 PDT.', 'type': 'OAuthException', 'code': 190, 'error_subcode': 463, 'fbtrace_id': 'APxVQGMEvALKX0DSMdhgmBs'}}
Tried generate a new token with:
curl -X GET " https://graph.facebook.com/oauth/access_token?clie... "
Now the error is:
{'error': {'message': 'No user access token specified ', 'type': 'OAuthException', 'code': 1, 'fbtrace_id': '
The old token was 185 characters long, large/small latin letters and numbers. New - 43 characters, large/small Latin letters, numbers and special characters. Maybe you need to generate something differently?
PS I also tried to add v9.0 to the url, as I did, but it gives the same token 43 characters long.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question