1

我正在获取 facebooks 页面提要:$fb->api('/415533455147213/feed?limit=3');,以及我的问题:如何过滤此请求,使其不返回类型为status(`'type' => 'status') 的提要

4

1 回答 1

2

您可以使用 FQL 查询,例如

$fb->api( array(
                     'method' => 'fql.query',
                     'query' => 'SELECT message from stream where source_id =415533455147213 and type != 46',
                 ));
  //you might need to urlencode the query   

您可以在此处找到有关要撤回的字段的信息https://developers.facebook.com/docs/reference/fql/stream

于 2013-07-10T21:01:59.180 回答