Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想查询由 app_id 生成的用户状态,但它不起作用。
这什么都不返回:
SELECT message FROM status WHERE uid = me() IN app_id = xxxx
FQL 文档说,负责发布特定状态的应用程序 ID 列是source. 有了这些知识,就很容易构建一个有效的查询:
source
SELECT message FROM status WHERE uid = DESIRED_USER_ID AND source = DESIRED_APP_ID
我自己测试了一下,得到了预期的结果。