Facebook graph api 我试图获取包含某个字符串的所有域,但没有结果
我试图获取包含某个字符串的所有域,但没有结果 我试过了Facebook graph api 我试图获取包含某个字符串的所有域,但没有结果,facebook-graph-api,dns,facebook-fql,Facebook Graph Api,Dns,Facebook Fql,我试图获取包含某个字符串的所有域,但没有结果 我试过了 fql?q=SELECT url, id, type, site FROM object_url WHERE strpos(url,'a') >=0 fql?q=SELECT domain_name FROM domain WHERE strpos(domain_name,'a') >=0 并获得: { "error": { "message": "Your statement is not indexable.
fql?q=SELECT url, id, type, site FROM object_url WHERE strpos(url,'a') >=0
fql?q=SELECT domain_name FROM domain WHERE strpos(domain_name,'a') >=0
并获得:
{
"error": {
"message": "Your statement is not indexable. The WHERE clause must contain an indexable column. Such columns are marked with * in the tables linked from http://developers.facebook.com/docs/reference/fql ",
"type": "NoIndexFunctionException",
"code": 604
}
}
我试过了
fql?q=SELECT url, id, type, site FROM object_url WHERE strpos(url,'a') >=0
fql?q=SELECT domain_name FROM domain WHERE strpos(domain_name,'a') >=0
我得到:
{
"error": {
"message": "You must specify a domain_id or a domain_name",
"type": "NoIndexFunctionException",
"code": 604
}
}
在graph api中,搜索类型域或仅url页面没有选项。我需要从FB获得域名
首先,我应该查询哪个表的域或对象\u url?Facebook故意限制了他们的API,所以你不能像这样勉强使用它。您必须以另一种方式找到您想要的目标url,然后在(URI1,URI2,…URIn)中的[url/domain]处查询它
Correct-cpilko您可能应该将此添加为答案-OP正在使用的FQL表的文档明确提到您只能在已经指定域时查询