What is the parameter “distance” when using search

2019-07-17 01:39发布

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条回答
ゆ 、 Hurt°
2楼-- · 2019-07-17 02:16

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.

查看更多
登录 后发表回答