我想要登錄用戶的簽到以及他簽入的地點的類別。如何獲取用戶的簽到地點類別?
我試圖獲取用戶喜歡和他們的類別,這是對我工作 - 「/我/喜歡欄=類別?」 以下是響應返回:
{
"data": [{
"name": "11 East Street Cafe",
"category": "Restaurant/Cafe",
"id": "94871278677"
},{
"name": "ABC DEF",
"category": "Politician",
"id": "177526890164"
}],
"paging": {
"cursors": {
"before": "NDkyMzg4OTc3NTYyMjk3",
"after": "MTc3NTI2ODkwMTY0"
}
}
}
辦理入住手續,我試過「/ me/feed?with = & fields = place,story」,它返回檢入地點列表。它返回我以下內容:
{
"data": [{
"place": {
"id": "117586118328311",
"name": "Carraba's",
"location": {
"city": "Ellicott City",
"country": "United States",
"latitude": 39.27153726574,
"longitude": -76.800542073324,
"state": "MD",
"zip": "21043"
}
},
"story": "ABC was at Carraba's.",
"id": "1533836476934935_1546360939015822"
}, {
"place": {
"id": "876737405718973",
"name": "Chipotle Mexican Grill",
"location": {
"city": "Baltimore",
"country": "United States",
"latitude": 39.2866707,
"longitude": -76.6196671,
"state": "MD",
"street": "300 W Pratt St",
"zip": "21201"
}
},
"story": "Aadya Extentia was at Chipotle Mexican Grill.",
"id": "1533836476934935_1546360502349199"
}],
"paging": {
"next": "https://graph.facebook.com/v2.5/1533836476934935/feed?fields=place,story&wi…WzlgXDpe8ZCV8kHWcO2aNxlARSpwIZByS9OWkU8VC3nj2E3VoiLkJNpy2ESOI1R7fHIOJQZDZD"
}
}
但它不返回簽入的地方的類別。即我想知道,如果它是一個餐廳,博物館和體育場等
我該怎麼辦呢? 謝謝。只是看起來這是工作API版本< = 2.4,但沒有任何更多與V2.5:
做你有帳戶(FB開發商)尚未??? –
當然,是的。這就是爲什麼我在獲取用戶喜歡時得到了期望的迴應。 –