4
以下是代碼。結果我想看到我的談話和我的朋友談話。對於對話歷史記錄功能我該怎麼做?獲取聊天對話的FQL查詢
SELECT message_id, thread_id, author_id, body, created_time, viewer_id
FROM message WHERE thread_id IN
(SELECT thread_id, subject, recipients FROM thread WHERE folder_id =0)
AND author_id = 'xxxxxxxxxxxxxxx' ORDER BY created_time DESC LIMIT 0,25
此代碼只返回我的朋友數據。
這個答案獲取消息,其中author_id是你,即任何消息,你曾經發送 – Jason