我有一個用戶,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