gpt4 book ai didi

facebook - Facebook 搜索距离参数的单位是什么?

转载 作者:行者123 更新时间:2023-12-04 18:19:12 26 4
gpt4 key购买 nike

Facebook 允许他们的搜索使用距离参数,例如

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

他们没有说这是在什么单位。有人知道吗?

最佳答案

距离以米为单位(来源:Using Actions - Facebook Developers):

place - Page ID of the place where the action took place. You can search for the Place ID using our Graph API.

  • Specify type=place
  • Specify q as query parameter
  • Optional distance (in meters)

但如前所述 herehere ,这不是很准确,仅限于 50 公里。

关于facebook - Facebook 搜索距离参数的单位是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11041805/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com