dongxieyi9115 2013-05-31 10:58
浏览 35

Facebook FQL流事件ID

Is it possible to obtain the event id from the stream that a user responds. I only have the message "XPTO is going to an event."

The question is, can I get the event ID querying the Stream table so I can get the name of the event?

I'm using multyquery system so far.

Here is an example:

$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)"
        );

The query is to obtain the page and user names. Now i need to add the event name in case the user responds to an event.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 微信小程序协议怎么写
    • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
    • ¥20 怎么用dlib库的算法识别小麦病虫害
    • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
    • ¥15 java写代码遇到问题,求帮助
    • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
    • ¥15 有了解d3和topogram.js库的吗?有偿请教
    • ¥100 任意维数的K均值聚类
    • ¥15 stamps做sbas-insar,时序沉降图怎么画
    • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看