我想获取我的信息流中的所有帖子,而不是来自页面的帖子。我努力了:
SELECT post_id, actor_id, target_id, message, comment_info, likes FROM stream WHERE filter_key in (SELECT filter_key FROM stream_filter WHERE uid = me() AND type = 'newsfeed') AND NOT (actor_id IN (SELECT id FROM object_url WHERE type='Page'))
但是,您不能在 Where 子句中使用 type='Page',因为它不可索引。
有任何想法吗?