No public page Info from Graph API
When I try to query the graph api for any Fan page I get the info about them such as their ID, Name, About etc. Here's an example:
https://graph.facebook.com/google
However certain pages return no information at all! An example:
http://graph.facebook.com/https://www.facebook.com/CobaltHeights
Why is this?
It just means that "CobaltHeights" is not the namespace of any existing page.
Adding a namespace to a page
In other words, the page doesn't have its page address (in the page settings -> "page info" tab) configured as https://www.facebook.com/CobaltHeights
:
or:
Calling Graph API for a page without a namespace
If your page URL looks like:
https://www.facebook.com/pages/CobaltHeights/205123456718603
Then your page ID will be 205123456718603
and you could call:
https://graph.facebook.com/205123456718603
链接地址: http://www.djcxy.com/p/32614.html上一篇: 在Facebook Graph API 2.0中获取用户名字段
下一篇: Graph API没有公开页面信息