执行此查询时:
查询Q =娘&安培;类型=地方&安培;中心= 50.9305992,6.9384799&安培;距离= 1000&安培;极限= 2000&安培;字段= ID,名字
我希望此页面出现在搜索结果中:686513714751273
姓名:“Fuckin' Monday”
但不是。即使我将q =空并且将latitide /经度放在半径为2000的事件上,它也找不到它。它与“他妈的”有关吗?fb认为它不合适?但那为什么直接查询页面ID有用呢?
答案 0 :(得分:1)
您在寻找某个地方的Facebook页面吗?或者对于实际的Place对象?
对我来说,它适用于类型的页面。 (HTTP编码)
graph.facebook.com/search?q=fuckin%27%20monday&type=page&limit=2000&fields=id,name¢er=50.9305992,6.9384799&distance=1000
OR(HTTP编码)
graph.facebook.com/search?q=fuckin&type=page&limit=2000&fields=id,name¢er=50.9305992,6.9384799&distance=1000
所以你应该在Type中指定对象类型,而不是Facebook页面类型。如果这是你的意图。 (因为您的问题标题表示实际页面)
输出示例:
{
"data": [
{
"id": "293987407372110",
"name": "Fuckin' Monday Madrid"
},
{
"id": "686513714751273",
"name": "Fuckin' Monday Köln"
},
{
"id": "159859830745544",
"name": "Metal Fuckin' Mondays"
},
{
"id": "137862186385028",
"name": "Fuckin' Monday München"
},
{
"id": "304288229704190",
"name": "Fuckin' Monday Lille"
},
{
"id": "275769749221137",
"name": "Fuckin Mondays"
},
{
"id": "608070615956303",
"name": "Fuckin' Monday Berlin"
},
{
"id": "340716655944732",
"name": "Fuckin' Mondays"
}
}
注意:如果您实际上在寻找地方,我的回答无效。
编辑1:现在我根据您对事件
的评论进行了修改graph.facebook.com/search?q=fuckin' monday&type=event&limit=2000¢er=50.9305992,6.9384799&distance=1000
现在输出
{
"data": [
{
"name": "FUCKIN' MONDAY",
"start_time": "2015-12-28T22:30:00+0100",
"end_time": "2015-12-29T22:30:00+0100",
"timezone": "Europe/Berlin",
"id": "328336493920924"
},
{
"name": "FUCKIN' MONDAY",
"start_time": "2015-12-28T22:30:00+0100",
"end_time": "2015-12-29T22:30:00+0100",
"timezone": "Europe/Berlin",
"location": "Citrus",
"id": "266920333408256"
},
{
"name": "FUCKIN' MONDAY",
"start_time": "2015-12-28T22:30:00+0100",
"end_time": "2015-12-29T22:30:00+0100",
"timezone": "Europe/Berlin",
"id": "218674224902426"
},
{
"name": "Metal Fuckin' Monday at Beerland with Eukaryst, WOB, Id, and Cathexis!!",
"start_time": "2015-09-07T21:00:00-0500",
"timezone": "America/Chicago",
"location": "Beerland, Texas",
"id": "412093375666047"
},
{
"name": "FUCKIN' MONDAY: VERSCHOLLEN IM HK!",
"start_time": "2015-07-27T21:30:00+0200",
"end_time": "2015-07-28T21:30:00+0200",
"timezone": "Europe/Berlin",
"location": "zum hinteren Kreuz // HK Ulm",
"id": "147966178716108"
},
{
"name": "★ ♥ FUCKIN' MONDAY INTERNATIONAL PARTY @ Independance Club!",
"start_time": "2015-07-13T23:45:00+0200",
"end_time": "2015-07-15T05:30:00+0200",
"timezone": "Europe/Madrid",
"location": "Fuckin' Monday Madrid",
"id": "1413329865620567"
},
{
"name": "★ ♥ FUCKIN' MONDAY INTERNATIONAL PARTY @ Independance Club!",
"start_time": "2015-07-13T23:45:00+0200",
"end_time": "2015-07-15T05:30:00+0200",
"timezone": "Europe/Madrid",
"location": "Fuckin' Monday Madrid",
"id": "725461987568076"
},
{
"name": "Fuckin' Monday",
"start_time": "2015-07-13T22:30:00+0200",
"end_time": "2015-07-16T22:30:00+0200",
"timezone": "Europe/Berlin",
"location": "Roonburg",
"id": "310759625778698"
},
{
"name": "FUCKIN' MONDAY - jeden Montag im Ruby!",
"start_time": "2015-07-13T22:30:00+0200",
"end_time": "2015-07-14T22:30:00+0200",
"timezone": "Europe/Berlin",
"id": "1546763038913578"
},
{
"name": "FUCKIN' MONDAY - jeden Montag im Ruby!",
"start_time": "2015-07-13T22:30:00+0200",
"end_time": "2015-07-14T22:30:00+0200",
"timezone": "Europe/Berlin",
"id": "649921368488042"
},
{
"name": "FUCKIN' MONDAY - jeden Montag im Ruby!",
"start_time": "2015-07-13T22:30:00+0200",
"end_time": "2015-07-14T22:30:00+0200",
"timezone": "Europe/Berlin",
"id": "394242367414488"
},
{
"name": "FUCKIN' MONDAY - jeden Montag im Ruby!",
"start_time": "2015-07-13T22:30:00+0200",
"end_time": "2015-07-14T22:30:00+0200",
"timezone": "Europe/Berlin",
"location": "Ruby Dance Club",
"id": "417152511783993"
},
{
"name": "FUCKIN' MONDAY - jeden Montag im Ruby!",
"start_time": "2015-07-13T22:30:00+0200",
"end_time": "2015-07-14T22:30:00+0200",
"timezone": "Europe/Berlin",
"id": "502362173237762"
},
{
"name": "✦ MEET & DANCE: Learn Salsa, Merengue, Bachata & International Get-Together ✦",
"start_time": "2015-07-13T21:45:00+0200",
"end_time": "2015-07-15T00:30:00+0200",
"timezone": "Europe/Madrid",
"location": "Fuckin' Monday Madrid",
"id": "841707392549858"
},
{
"name": "✦ MEET & DANCE: Learn Salsa, Merengue, Bachata & International Get-Together ✦",
"start_time": "2015-07-13T21:45:00+0200",
"end_time": "2015-07-15T00:15:00+0200",
"timezone": "Europe/Madrid",
"location": "Fuckin' Monday Madrid",
"id": "219024774934814"
},
{
"name": "FUCKIN' MONDAY: Fuckin' Exams Edition!",
"start_time": "2015-07-13T21:30:00+0200",
"end_time": "2015-07-14T21:30:00+0200",
"timezone": "Europe/Berlin",
"location": "zum hinteren Kreuz // HK Ulm",
"id": "568944169809566"
},
{
"name": "FUCKIN' MONDAY: Fuckin' Exams Edition!",
"start_time": "2015-07-13T21:30:00+0200",
"end_time": "2015-07-14T21:30:00+0200",
"timezone": "Europe/Berlin",
"location": "zum hinteren Kreuz // HK Ulm",
"id": "1447770675474865"
},
{
"name": "FUCKIN' MONDAY: VERSCHOLLEN IM HK!",
"start_time": "2015-07-13T21:30:00+0200",
"end_time": "2015-07-14T21:30:00+0200",
"timezone": "Europe/Berlin",
"location": "zum hinteren Kreuz // HK Ulm",
"id": "543891975651073"
},
{
"name": "FUCKIN' MONDAY: Fuckin' Exams Edition!",
"start_time": "2015-07-13T21:30:00+0200",
"end_time": "2015-07-14T21:30:00+0200",
"timezone": "Europe/Berlin",
"location": "zum hinteren Kreuz // HK Ulm",
}
}
似乎位置仍然被忽略,因为我是从世界各地获得的。
https://developers.facebook.com/bugs/122501314556518/?search_id