0

是否可以获得非常用短语(例如 URL)的结果?

我试图对我的短语进行编码。我使用 PHP urlencode() 函数来尝试查找包含“http://www.google.com”的帖子

https://graph.facebook.com/search?q=http%3A%2F%2Fwww.google.com&type=post

但是我得到的是:

{
   "data": [

   ]
}
4

1 回答 1

0

当我去: https://graph.facebook.com/search?q=http%3A%2F%2Fwww.google.com&type=post

我得到 { "data": [ { "id": "100002667502867_210058145759767", "from": { "name": "Alessio Diesse", "id": "100002667502867" }, "message": "我刚刚兑换了这笔交易! 看看:http ://www.google.com", "type": "status", "application": { "name": "SpotOnCo App", "canvas_name": "spotonco-app", "namespace": "spotonco-app", "id": "132159653549822 " }, "created_time": "2012-02-12T00:53:28+0000", "updated_time": "2012-02-12T00:53:28+0000" }, { "id": "100001565919790_296841673711361", " from": { "name": "Victor Asuquo", "id": "100001565919790" }, "message": "\u003Ca href=\"http://www.google.com\"> 点击此处点击此处\u003C/a>",“类型”:“状态”,“应用程序”:{ “名称”:“黑莓”,“canvas_name”:“viabberry”,“命名空间”:“viabberry”,“id”:“111498688870155”},“created_time”: “2012-02-11T23:46:43+0000”,“updated_time”:“2012-02-11T23:46:43+0000”},...2012-02-11T23:46:43+0000", "updated_time": "2012-02-11T23:46:43+0000" }, ...2012-02-11T23:46:43+0000", "updated_time": "2012-02-11T23:46:43+0000" }, ...

当我转到添加访问令牌的同一链接时,我得到:

{ “数据”: [ ] }

所以这里故事的寓意是:不要将 &access_token=VALID_ACCESS_TOKEN 添加到查询中,您将访问公共数据。;)

于 2012-02-12T15:02:03.673 回答