Facebook API returns blank data for page

I have an application that retrieves data from Facebook. Users authorize the application to read and write to their pages, and we read their data and publish it from our application. All interaction takes place through the PHP interface that Facebook provides.

Over the past few months, our application has flawlessly completed this task. However, in recent days we began to notice a problem with certain pages.

We exit and retrieve data for a specific page, and we no longer receive any data. Instead, Facebook returns us an empty result. This obviously causes problems in our application that should read this data.

We can still write data simply.

I am at a point where I am not sure what it could be. Any common scripts or recent Graph API issues that might cause this?

+3
source share
2 answers

Sounds weird. The only thing that comes to mind is that the owner of the page has limited the audience to his page, and then you need to pass an access token to access the data about the page. An example is a beer company that wants to restrict access to its FB page for users over 21 years of age. Since there is a restriction on access to the content of the page, we apply this restriction on the FB platform. In this case, you will need to transfer to the access_token a user who is at the age of 21 or more, access to the details of the page through the api chart.

+3

, , . , ( " " > " " ). .

+1

All Articles