1

When I use graph API to post on a Facebook page it's not working, it responds with an ID and URL but instead it should be responding with a post id.

When I open the URL it gives this error:

{
   "error": {
      "message": "An access token is required to request this resource.",
      "type": "OAuthException",
      "code": 104,
      "fbtrace_id": "FdvAOg41htB"
   }
}

Screenshot of Facebook Graph API Explorer

I'm providing the right access token but still it's not posting.

3
  • Do you know whether it is a short-lived (1-2 hours) or long-lived (60 days) token?
    – tshimkus
    May 7, 2019 at 0:59
  • I had a long-lived page access token
    – ashu
    May 8, 2019 at 5:41
  • @ashu Did you find the answer to this? Sep 22, 2020 at 20:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.