如何让Facebook朋友在特定日期生日



我想在特定日期获得Facebook朋友的生日。例如,我想在2014年2月5日获得朋友生日。我并给出您的建议和代码。

您可以使用FQL实现此目的。请记住,您需要" friends_birthday"权限!

尝试以下FQL查询:

SELECT name, birthday, birthday_date FROM user 
WHERE uid in (SELECT uid2 FROM friend WHERE uid1 = me()) 
    AND (substr(birthday_date, 0, 2) = "02")
    AND (substr(birthday_date, 3, 2) = "05")
LIMIT 500

在这里尝试:

https://graph.facebook.com/fql?q=select name,birthday,birthday from user where where uid in in frols frol uid2 werry where uid1 = uid1 = me() and (substr(生日_date, 0, 2) = %2202%22) and (substr(生日_date, 3, 2) = %2205%22) 订购 asc limit 500& access_token = {your_access_token}

最新更新