我試圖檢索JSON格式的許多頁面的「份額」圖數據。我懷疑我遇到的錯誤源於這樣的事實,即某些URL在其中包含逗號,並且正在被解析爲嘗試傳遞多個ID。facebook圖api返回錯誤2500時,在標識爲url的逗號中
返回錯誤2500「不能指定一個空標識符」
https://graph.facebook.com/?ids=http://www.people.com/people/article/0,,20624518,00.html
編碼逗號,仍返回2500
https://graph.facebook.com/?ids=http://www.people.com.people.article/0%2C%2C20624518%2C00.html
如果你仍然想要一次查詢多個,這樣的調用可以[批量](https://developers.facebook.com/docs/graph-api/making-multiple-requests/)。 – joeln