M
M
mvk8432021-07-30 08:14:28
Facebook
mvk843, 2021-07-30 08:14:28

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

1 answer(s)
M
mvk843, 2021-10-25
@mvk843

Understood. The token can be obtained from the link https://developers.facebook.com/apps
6176a1ae8842d614043402.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question