Can we access Facebook Api using the email client

I want to access my details using facebook api. I use the mail client for this and click api as

  URL :  graph.facebook.com/v2.2/me
  METHOD : GET
  HEADER PARAMETER :
   AccessToken : djbjd
   AppID : dsdmds
   AppSecret :sdkkd

Now I get the answer:

STATUS: 400 Bad Request and Response

"error": {
    "message": "An active access token must be used to query information about the current user.",
    "type": "OAuthException",
    "code": 2500,
    "fbtrace_id": "AQt0krgrd2U"
}

}

Can someone tell me how I can click facebook api using email client.

+4
source share
2 answers

For this you need only one GET parameter, a parameter access_token. This must be a valid user token or page token.

You can also just try this directly in the browser: https://graph.facebook.com/me?access_token=xxx

+5
source

- Postman Client. , , .

, . , , .

0

Source: https://habr.com/ru/post/1651003/


All Articles