Facebook:有人知道为什么我无法参加我要参加的活动吗?
我正在尝试获取我正在参加的 Facebook 活动的列表。我有这些代码:
$fql = "SELECT eid FROM event_member WHERE uid = 100000266996446 AND rsvp_status = 'attending'";
$param = array(
'method' => 'fql.query',
'query' => $fql,
'callback' => ''
);
$fqlResult = $facebook->api($param);
foreach( $fqlResult as $keys => $values ){
echo "<div>" . $values['eid'] . "[][]</div>";
}
非常感谢您的帮助! :)
I'm trying to get a list of facebook events I'm attending. I have these codes:
$fql = "SELECT eid FROM event_member WHERE uid = 100000266996446 AND rsvp_status = 'attending'";
$param = array(
'method' => 'fql.query',
'query' => $fql,
'callback' => ''
);
$fqlResult = $facebook->api($param);
foreach( $fqlResult as $keys => $values ){
echo "<div>" . $values['eid'] . "[][]</div>";
}
Many thanks for any help! :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请注意,对于您的代码,如果您使用的是配置文件 uid,则无法执行此操作。它仅适用于粉丝页面。
With your code, please note that you cannot do it if you're using a profile uid. It will only work with fan pages.