我有一个用户,user_2。他们的墙上有一个帖子,由user_1制作。当我尝试通过Facebook Graph API访问特定类型的对象时,为什么会出现此错误?
的网址是
https://www.facebook.com/user_1/posts/10150166228506188
我尝试使用Graph API来获取内容,这个请求:
https://graph.facebook.com/10150166228506188?access_token=ACCESSTOKENUSER_2
我得到这个错误:
{
"error": {
"type": "GraphMethodException",
"message": "Unsupported get request."
}
}
我使用的的access_token是好的,因为请求得到这样的状态的东西&图像精细工作:
https://graph.facebook.com/10150233707783933?access_token=ACCESSTOKENUSER_2
结果:
{
"id": "10150233707783933",
"from": {
"name": "American Steel",
"category": "Professional sports team",
"id": "203692078932"
},
"tags": {
"data": [
etc
错误似乎发生每当我试图让有项目这种URL的:
https://www.facebook.com/username/posts/item_id
的权限我的应用程序包括以下:
为什么会发生此错误?
是的,非常感谢! – ben 2011-05-08 23:19:36