facebook - Use url_id to find fan_page? -


i'm wondering if it's possible use url id [see below] find fan page information in link below.

{   data: [           {              url: "http://stackoverflow.com",               id: 24121414888,             type: "link",             site: "stackoverflow.com"           }         ] } 

https://graph.facebook.com/11239244970

if use link id throws error below:

{   error: {             message: "an access token required request resource.",             type: "oauthexception",             code: 104          } } 

if knows of way it, appreciate it. can in fql or graph form. search url, , not have spaghetti line of results of non official pages link below.

https://graph.facebook.com/search?q=stackoverflow.com&type=page

thanks in advance help.

if know page id, 24121414888 @ example, should no problem request https://graph.facebook.com/11239244970 unless it's restricted page. restricted require user access token instead of app access token verify caller fulfill requirement(age, demographic...etc)

as documented @ https://developers.facebook.com/docs/reference/api/page/:

to read page need:

  • an app or user access token public , non-demographically restricted pages
  • a user access_token restricted pages current user able view (no special permissions required)

Comments