Facebook Graph API Get All Events for Latitude and Longitude

I am trying to get all public events for a given location. Here is what I use now

SELECT+name,+pic_cover,start_time,+end_time,+location,+description,venue++FROM+event+WHERE+eid++in(SELECT+eid+FROM+event_member+WHERE+uid+IN+(SELECT+page_id+FROM+place+WHERE+distance(latitude,+longitude,+"40.1811",+"44.5136")+<+50000+limit+0,15000))+ORDER+BY+start_time+desc+limit+0,1500

But there are a huge number of events with a location that did not return with this FQL query. Is there a chance to get all the events for a given location, or can it be around the city?
I use Python, but if you have sample code in any language, write it.

0
source share
1 answer

, event_member, . , , , , .

SELECT name, pic_cover,start_time, end_time, location, description,venue FROM event WHERE creator IN (SELECT page_id FROM place WHERE distance(latitude, longitude, "40.1811", "44.5136") < 50000 limit 0,15000) and start_time > now() ORDER BY start_time desc limit 0,1500 

, , : Facebook FQL ,

2017-12-20:

FQL, 2014-04-30, . , https://github.com/tobilg/facebook-events-by-location-core, .

+3

All Articles