0
可能重複:
How to get only friends with profile photos uploaded, and ignore those users with the default silhouette?空白的用戶頭像
有沒有一種方法來檢查用戶是否有一個資料圖片或者只是使用FQL一個普通的空白圖片?
可能重複:
How to get only friends with profile photos uploaded, and ignore those users with the default silhouette?空白的用戶頭像
有沒有一種方法來檢查用戶是否有一個資料圖片或者只是使用FQL一個普通的空白圖片?
從文檔
圖:URL鏈接到小型的個人資料圖片爲對象進行查詢。該圖像可以具有50px的最大寬度和150px的最大高度。 此URL可能爲空。
雖然,這樣的查詢:
select pic from user where uid = xxxx
上的用戶我知道沒有個人檔案相片,返回此:
{
"data": [
{
"pic": "http://profile.ak.fbcdn.net/static-ak/rsrc.php/v1/yV/r/Xc3RyXFFu-2.jpg"
}
]
}