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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.