2012-08-06 50 views
1

試圖獲取我/朋友參加/可能參加未來一個月(FQL中的日期操作)的所有活動的詳細信息。Facebook API:如何獲取活動詳細信息

我也需要在我的程序中獲取這些事件的進一步分析。

到目前爲止,我發現Facebook API的文檔幾乎沒有任何幫助。

回答

2

您可以將事件和event_member表與朋友表一起使用以獲取此數據。
例如: SELECT eid, name, location, start_time FROM event WHERE eid in (select eid from event_member where rsvp_status != 'declined' and uid = me() or uid in (select uid2 from friend where uid1 = me())) AND start_time >= '2012-08-01' and start_time <= '2012-08-31'

+0

很好的答案,謝謝!我現在確實已經得到了這個:-) – Itai 2012-08-30 07:03:05

相關問題