1
我想用下面的鏈接FPOR例子來展示使用graph api
資料圖片:爲什麼使用圖形API獲取FB個人資料圖片需要訪問令牌?
https://graph.facebook.com/me/picture?redirect=0&height=200&type=normal&width=200
我得到的迴應:
{
"error": {
"message": "An active access token must be used to query information about the current user.",
"type": "OAuthException",
"code": 2500
}
}
凡在link他們說
由於個人資料照片始終在Facebook上公開,因此此電話 不需要任何訪問令牌。
以前我記得 '我' 正在爲當前用戶 – Adham
@Adham啊有趣。並且它不是一個錯誤,無論如何API會返回任何'user-id'(包括無效的)的錯誤? – admdrew