我不知道,如何通过FQL获取每个线程的所有线程和最后消息。 我试试:
fql?q={"threads":"SELECT subject, recipients, updated_time, unseen, unread, thread_id FROM thread WHERE folder_id = 0",
"users": "SELECT uid, name FROM user WHERE uid IN (SELECT recipients FROM #threads)",
"first_msg": "SELECT message_id, thread_id, body, created_time FROM message WHERE thread_id IN (SELECT thread_id FROM #threads) ORDER BY created_time DESC LIMIT 1"}
但是对于我来说,我只从列表中获得一个(第一个)线程的最后一条消息。
答案 0 :(得分:0)
我只看到一个答案:为每个线程添加查询以获取最后一条消息。另外检查最大计数查询(如果存在太多线程)