検索 API を使用しており、検索結果にいくつかの奇妙な結果が見られます。
今日はチェルシーのフットボールの試合があることを知っているので、イベントでチェルシーに関連するものをすばやく検索します。
(Graph API エクスプローラー @ https://developers.facebook.com/tools/explorer?を使用)
search?q=Chelsea&limit=5000&type=event&since=2013-04-28&until=2013-04-29
戻り値
{
"data": [
{
"name": "Chelsea Jam Tree Comedy Competition Night",
"start_time": "2013-04-28T19:30:00+0100",
"timezone": "Europe/London",
"location": "The Jam Tree (Chelsea)",
"id": "201322573339969"
},
{
"name": "Chelsea Basham at Fly By Night Club",
"start_time": "2013-04-27T19:00:00",
"end_time": "2013-04-27T22:00:00",
"location": "Fremantle, WA, AU",
"id": "119017388296997"
},
{
"name": "The Chelsea & Alexis Show! with Special Friends",
"start_time": "2013-04-27T22:00:00-0400",
"timezone": "America/New_York",
"location": "Mark Fisher Fitness",
"id": "264038507064618"
}
],
"paging": {
"previous": "https://graph.facebook.com/search?q=Chelsea&limit=5000&since=1367173800&type=event&__paging_token=201322573339969",
"next": "https://graph.facebook.com/search?q=Chelsea&limit=5000&type=event&until=1367089200&__paging_token=119017388296997"
}
}
わかりました、正確には私が求めていたものではありません-おそらくイベントは追加されていない/公開されていません.
しかし-検索すると(「チェルシー」の前のvに注意してください)
search?q=v Chelsea&limit=5000&type=event&since=2013-04-28&until=2013-04-29
その後出来上がり - サッカーの試合が表示されます。
{
"data": [
{
"name": "Man United v Chelsea",
"start_time": "2013-04-28T16:00:00+0100",
"timezone": "Europe/London",
"location": "The Rising Sun, Hazel Grove",
"id": "518842844847325"
},
{
"name": "FOOTBALL, Chelsea V Swansea City",
"start_time": "2013-04-28T15:00:00+0100",
"timezone": "Europe/London",
"location": "White Hart, Barnby Dun",
"id": "590753400942611"
},
{
"name": "Chelsea V Swansea City",
"start_time": "2013-04-28T15:00:00+0100",
"timezone": "Europe/London",
"location": "Lizard Lounge - South Woodford",
"id": "281525378649440"
},
{
"name": "Chelsea FC v Swansea",
"start_time": "2013-04-28T10:00:00-0400",
"end_time": "2013-04-28T12:00:00-0400",
"timezone": "America/Toronto",
"location": "Scallywags",
"id": "516466885084282"
},
{
"name": "Chelsea v Swansea",
"start_time": "2013-04-28T15:00:00+0100",
"timezone": "Europe/London",
"location": "Stamford Bridge",
"id": "152203718287492"
},
{
"name": "Chelsea v Swansea",
"start_time": "2013-04-28T19:00:00+0500",
"timezone": "Asia/Baku",
"location": "Stamford bridge, Fulham road, Лондон",
"id": "649119368438501"
},
{
"name": "Chelsea v Swansea",
"start_time": "2013-04-28T09:30:00-0400",
"end_time": "2013-04-28T12:30:00-0400",
"timezone": "America/New_York",
"location": "Ireland's Four Courts",
"id": "404696952971017"
}
],
"paging": {
"previous": "https://graph.facebook.com/search?q=v Chelsea&limit=5000&since=1367161200&type=event&__paging_token=518842844847325",
"next": "https://graph.facebook.com/search?q=v Chelsea&limit=5000&type=event&until=1367155800&__paging_token=404696952971017"
}
}
API に問題があるのでしょうか、それとも何か間違っているのでしょうか?
ありがとう