Facebook Graph API Get All Events For Latitude and Longitude -
i'm trying public events given location. here i'm using 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 huge count of events location didn't returning fql query. is there chance events given location or may city ?
i'm using python , if have example code on language please write out.
i think if omit subquery event_member
table, you'll more results. please consider results include events created page itself, not created individual users.
select name, pic_cover,start_time, end_time, location, description,venue event creator in (select page_id place distance(latitude, longitude, "40.1811", "44.5136") < 50000 limit 0,15000) , start_time > now() order start_time desc limit 0,1500
if have list of venues of interest, use method described here: facebook fql find events take place @ venue
edit:
as impossible use fql if app created after 2014-04-30, direct search no longer possible. achieve that, three-step approach must used, implemented in https://github.com/tobilg/facebook-events-by-location example.
Comments
Post a Comment