Search all public events in the area

I want to query all the events in the area (specific location + reach, as described here ), and return the locations of the events, regardless of whether they are done through a search by schedule or FQL. Problem: I get only a small number of returned events.

I searched strictly, did not find exactly what I was looking for. It is especially important that ALL developments in the area are a problem.

+6
source share
1 answer

In this case, there is no proper way to get "everything." Facebook uses some kind of algorithm based on the parameters of the limit and the distance and density of locations / places / events in this area.

You can try to keep a low distance and limit below 1000, but it really depends on the density, so for crowded areas you will get different results, for example, for rural areas.

You can also try to create some kind of "GEO grid" of the area of ​​interest to you and each time move the center location by 1 km.

0
source

Source: https://habr.com/ru/post/946311/


All Articles