2016-11-17 38 views
0

我是新來的Facebook圖形API
所以我決定開始與探險Facebook的圖形資源管理器:未知的路徑組件

我得到的照片許可訪問令牌

我先插入這個網址:

me/albums 

我得到這樣的結果:

{ 
"data": [ 
{ 
    "created_time": "2010-09-05T12:04:01+0000", 
    "name": "Profile Pictures", 
    "id": "1587403170821" 
}, 
{ 
    "created_time": "2015-10-09T14:24:32+0000", 
    "name": "Mobile Uploads", 
    "id": "10207728693601171" 
}, 
{ 
    "created_time": "2015-09-30T13:00:27+0000", 
    "name": "Cover Photos", 
    "id": "10207681207694053" 
}, 
{ 
    "created_time": "2008-08-28T15:16:46+0000", 
    "name": "כללי", 
    "id": "1020707883793" 
}, 
{ 
    "created_time": "2008-08-26T16:26:25+0000", 
    "name": "דן", 
    "id": "1019996386006" 
}, 
{ 
    "created_time": "2008-08-06T13:36:47+0000", 
    "name": "Army", 
    "id": "1009862332661" 
} 
], 
"paging": { 
"cursors": { 
    "before": "MTU4NzQwMzE3MDgyMQZDZD", 
    "after": "MTAwOTg2MjMzMjY2MQZDZD" 
} 
} 
} 

所以我嘗試才達到某些相冊中的照片,所以我也喜歡在Facebook Api reference, about how to get photos描述:

v2.2/1587403170821/photos 

但我得到這個錯誤:

{ 
"error": { 
"message": "Unknown path components: /1587403170821/photos", 
"type": "OAuthException", 
"code": 2500, 
"fbtrace_id": "AMeqGuPpuiE" 
} 
} 

我做了搜索,我發現這個(OAuthException 2500 (Unknown path components) when trying to register Achievement in Facebook ),這(Error: "message": "Unknown path components: /photos&callback=" code: 2500")問題
但它沒有幫助我,因爲他們在與URL中的錯誤,他們更換&呢?

那麼是什麼問題?

回答

0

我這出

的問題是,我在「命令行」

提到的圖形API的版本,但我沒有注意到,它已經存在

感謝所有

+0

我在幾個圖形調用得到同樣的錯誤。你是什​​麼意思「在命令行」呢? –

相關問題