0

So I am trying to make a PHP code to get image from a provided event id, but it seems like maybe it is no longer possible? These are public events visible for anyone. I have created an app and try it in Graph explorer or PHP with either user token or app token, but I always get

"message": "Unsupported get request. Object with ID '1322025316236575' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,

according to this page I need a user token https://developers.facebook.com/docs/graph-api/reference/v23.0/event/picture

Did I select wrong use cases for my facebook app? I have chosen "Manage everything on your Page (Pages API)" and in Graph explorer selected both permissions, but maybe I need to add more in the app Customize use case page?

pages_show_list
business_management

If I try to see my own event created by me I get another error: /

{
  "error": {
    "message": "(#100) Missing Permission",
    "type": "OAuthException",
    "code": 100,
    "fbtrace_id": "A6muHrOa05vsArribvEr9RF"
  }
}
1
  • 1
    developers.facebook.com/docs/graph-api/reference/v23.0/event says, "Access to Events on Users and Pages is only available to Facebook Marketing Partners." - and if you don't have access to the event to begin with, you're not likely to have access to its picture either. Commented Sep 24 at 6:06

0

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.