如何使用fql查询
我是 facebook 应用程序开发的新手,我想知道 fql 查询是如何工作的,我在我的应用程序中使用了它,但我想知道 fql 查询结果显示在哪里,或者如果您无法解释,请向我发送链接,因为官方文档也没有帮助我。
i am new at facebook application development i want to know how fql query works i used it in my application but i want to know where fql query results are displayed or how they can be displayed if you can't explain plz send me the link because the official documentation didn't helped me either.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
FQL
<前><代码>尝试{
$me = $facebook->api('/me');
$当前页=1;
$当前帖子=1;
$当前日期=“”;
$列表=“”;
$arrDate=数组();
$fql = "这里是您的 FQL 声明";
$参数=数组(
'方法' => 'fql.query',
'查询' => $fql,
'回调' => ”
);
$fqlResult = $facebook->api($param);//这里有你的 FQL 结果集
foreach($fqlResult as $row){
//对结果做一些事情
}
} catch (FacebookApiException $e) {
错误日志($e);
}
FQL
您可以使用 Facebook Graph Explorer
https://developers.facebook.com/tools/explorer
然后在访问令牌字段下选择“FQL 查询”。
现在您可以尝试 FQL 查询并查看结果。
You can use the Facebook Graph Explorer
https://developers.facebook.com/tools/explorer
And select under the Access token field, "FQL query".
Now you can try FQL queries and see the result of them.