FQL Friends_request 空结果
目前我正在查询 FQL friends_request
表,但它返回空结果... 我有 read_request
权限,
这是我的代码:
try {
$fql = 'SELECT uid_from, time, message FROM friend_request WHERE uid_to = me()';
$ret_obj = array(
'method' => 'fql.query',
'query' => $fql );
$fqlResult = $facebook->api($ret_obj);
foreach($fqlResult as $result)
{
print_r($result);
}
Currently I'm querying the FQL friends_request
table but it's returning the empty result...
I have the read_request
permission
here is my code:
try {
$fql = 'SELECT uid_from, time, message FROM friend_request WHERE uid_to = me()';
$ret_obj = array(
'method' => 'fql.query',
'query' => $fql );
$fqlResult = $facebook->api($ret_obj);
foreach($fqlResult as $result)
{
print_r($result);
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是使用 Graph API 的相同查询(对我有用):
Here's the same query using the Graph API (working for me):