It seems the Graph API returns false
or some empty data when you try to access resources which have been restricted. For example, administrators of Facebook fan pages can restrict their access by age (this includes a special setting for pages about alcohol):
Selecting an age restriction means that anyone under the specified age
will not be able to find your Page in search or on friends' profiles
or view the content in other ways. This also means that logged out
users will not be able to see your Page.
The Alcohol-Related age restriction sets the minimum age based on the
location of the user. Only users in Canada, South Korea or Nicaragua
who are 19+, in Japan, Iceland or Paraguay who are 20+, in Cameroon,
Micronesia, Palau, Solomon Islands, Sri Lanka or the U.S. who are 21+,
in India and Sweden who are 25+, and elsewhere who are 18+ will be
able to view your Page. You understand that the Alcohol-Related age
restriction is for convenience and that Facebook does not represent
that by using that setting your Page will be legally compliant in all
countries where your Page is visible. You understand that ultimately
you are responsible for setting the proper legally compliant age
restrictions for each country where your Page is visible.
They can also limit their access by country:
Enter one or more countries and then choose whether you want the page
to be visible to or hidden from people in the listed countries.
Entering one or more countries means that logged out users will not be
able to see your Page. If no countries are listed, your Page will be
visible to people located in all countries. You understand that you
are responsible for setting the proper country restrictions to ensure
that the content of your Page is appropriate for the country or
countries where you allow it to be visible
For example, you will not be able to see this page if you are not logged into Facebook (you will be redirected to the Facebook homepage). And this is the same in the Graph API. Calling:
http://graph.facebook.com/105226926239
Will return:
false
However, if you manage to get an user access token (for example from the Graph API Explorer), and assuming the corresponding profile matches the restrictions defined for this page:
https://graph.facebook.com/105226926239?access_token=AAACEdEose0cBACIijRIMtayOiN5F58x6DxolYi8ezmpAIPORApnfQvG5Kj1ftOQhSzIgxkNxQiu4iBwozqRT3zTvswEvm0O0JobZC8AZDZD
Will return:
{
"id": "105226926239",
"name": "CodeReduc.com",
"picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/71056_105226926239_2230111_s.jpg",
"link": "http://www.facebook.com/pages/CodeReduccom/105226926239",
"likes": 1,
"category": "Local business",
"is_published": true
}
Unfortunately, it is not possible to use an application access token to retrieve this information, which could be useful in some cases.