关于Facebook Places的Graph API [英] About Graph API of Facebook Places

查看:54
本文介绍了关于Facebook Places的Graph API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看不到有关Facebook Places的优质文档,请告诉我您是否对此有所了解.

i can not see good documentation about Facebook Places, please tell me if you know something about it.

https://graph .facebook.com/search?q = coffee& type = place& center = 37.76,122.427& distance = 1000

1)在上面的网址中,距离的单位是多少? (米,公里,英里还是其他?)

1) In above url what is the unit of distance? (Meter, KM, Miles or something else?)

2)距离的实际含义是什么..搜索结果是否在此范围内?或者它在此范围内开始搜索,并且超出了搜索范围?

2) What is the actual meaning of distance.. is it search result comes within this range or it starts search within this range and goes beyond for more results?

3)如何将搜索结果限制在任何特定的城市或国家/地区?

3) How can we restrict search result to any specific city or country?

4)使用此API我们还能做些什么?

4) What we can do more with this API?

推荐答案

  1. 根据 https://developers.facebook.com/docs /android/scrumptious/show-nearby-places/距离的单位是米.
  1. According to https://developers.facebook.com/docs/android/scrumptious/show-nearby-places/ the unit of distance is meters.
    • edit - FB keeps moving the information around their documentation, so it may not be there when you look. Search for 'places meters' and you should find the citation: https://developers.facebook.com/search/?q=places%20meters

[{ "name": "Bembe", "location": { "street": "81 S 6th St.", "city": "Brooklyn", "state": "NY", "country": "United States", "zip": "11222", "latitude": 40.710978587859, "longitude": -73.965404723282 }, "id": "146207358735488" }, { "name": "Manhattan Bridge Orthodontics", "location": { "street": "145 Canal St, 2nd Floor", "city": "New York", "state": "NY", "country": "United States", "zip": "10002-5033", "latitude": 40.709716414644, "longitude": -73.988593034059 }, "id": "121071754616533" }]

[{ "name": "Bembe", "location": { "street": "81 S 6th St.", "city": "Brooklyn", "state": "NY", "country": "United States", "zip": "11222", "latitude": 40.710978587859, "longitude": -73.965404723282 }, "id": "146207358735488" }, { "name": "Manhattan Bridge Orthodontics", "location": { "street": "145 Canal St, 2nd Floor", "city": "New York", "state": "NY", "country": "United States", "zip": "10002-5033", "latitude": 40.709716414644, "longitude": -73.988593034059 }, "id": "121071754616533" }]

4.仅由您的想象力限制.

4.Limited only by your imagination.

这篇关于关于Facebook Places的Graph API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆