1

是否可以从用户响应的流中获取事件 ID。我只有消息“XPTO 要去参加一个活动”。

问题是,我能否获取查询 Stream 表的事件 ID,以便获取事件名称?

到目前为止,我正在使用多查询系统。

这是一个例子:

$queries = array(
            'query1' => 'SELECT app_data, app_id, post_id, share_count, created_time, message, permalink , actor_id, attachment, description, attribution, target_id, source_id, parent_post_id, filter_key, type FROM stream WHERE filter_key in (SELECT filter_key FROM stream_filter WHERE type = "newsfeed" AND uid = me()) ORDER BY created_time DESC LIMIT 50',
            "query2" => "SELECT uid,first_name, last_name FROM user WHERE uid in (SELECT actor_id FROM #query1)",
            "query3" => "SELECT page_id, name FROM page WHERE page_id in (SELECT actor_id FROM #query1)"
        );

查询是获取页面和用户名。现在我需要添加事件名称以防用户响应事件。

4

0 回答 0