Facebook Search API返回空的json [英] Facebook Search API returning empty json
问题描述
Facebook搜索API(https://graph.facebook.com/search
)似乎返回空字符串,即使输入正确的数据也是如此.
The Facebook search API (https://graph.facebook.com/search
) seems to return an empty string even when fed with correct data.
像https://graph.facebook.com/search?q=Joe&type=user&access_token=EAAH8mO348PABAKZCmuqftCrlBbqxNvpxzJiCywVgeAxLgKfMs432GpZC8Xd2yvrXNm7OoWbZAsjOs8LOfJ8BGMMcvJQZCVG1LIHjdVZAr1Gks1ZB5nn7guZBAauPZCdIi16A6cK3vX0i1pLhY3bVZCNSkOG7TkEqaMZBnyIPf0UMo5uzsJsIWXo1J251rDlyMtEpMYTWUcaHOOK6aIJu1vzPZAr
这样的调用(使用我的访问令牌)不会返回任何内容.
A call like https://graph.facebook.com/search?q=Joe&type=user&access_token=EAAH8mO348PABAKZCmuqftCrlBbqxNvpxzJiCywVgeAxLgKfMs432GpZC8Xd2yvrXNm7OoWbZAsjOs8LOfJ8BGMMcvJQZCVG1LIHjdVZAr1Gks1ZB5nn7guZBAauPZCdIi16A6cK3vX0i1pLhY3bVZCNSkOG7TkEqaMZBnyIPf0UMo5uzsJsIWXo1J251rDlyMtEpMYTWUcaHOOK6aIJu1vzPZAr
(using my access token) doesn't return anything.
令牌有效.我直接从Facebook开发者控制台中粘贴了它.
The token is valid. I have pasted it directly from the facebook developers console.
你能帮帮我吗? 预先感谢!
Can you help me out? Thanks in advance!
推荐答案
不可能了
https://developers.facebook .com/docs/graph-api/changelog/breaking-changes#search-4-4
您不能再将/search端点与以下对象一起使用 类型:
You can no longer use the /search endpoint with the following object types:
- 事件
- 组
- 页面
- 用户
- event
- group
- page
- user
这篇关于Facebook Search API返回空的json的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!