What is the parameter “distance” when using search fql?

南笙酒味 提交于 2019-12-11 00:27:13

问题


What does "distance" refer to? Amount of miles? Radius? I can't find any documentation on it. What's the maximum limit FB will allow us to grab?

$nearby = $facebook->api('/search?type=place&center='.$_GET['lat'].','.$_GET['lon'].'&distance=1000&limit=200');

回答1:


Distance refers to the radius with respect to the latitude and longitude of the location in meters. As mentioned by Chris, the maximum is 50,000 m.



来源:https://stackoverflow.com/questions/9501449/what-is-the-parameter-distance-when-using-search-fql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!