Getting Facebook Events using fql -


trying retrieve facebook events through fql using query below. unable venue details other "id".

fql?q=select name,description, pic_small,pic_big, eid,venue,location event eid in (select eid event_member uid = me())

output :

{   "data": [     {       "name": "happyhour",       "description": "let's have fun !!!",       "pic_small": "http://profile.ak.fbcdn.net/static-ak/rsrc.php/v2/yy/r/xcb-jgxohjk.png",       "pic_big": "http://profile.ak.fbcdn.net/static-ak/rsrc.php/v2/yn/r/5uwzdfmimkq.png",       "eid": ......,       "venue": {         "id": .......       },       "location": "the crab pot seattle"     }   ] } 

the graph api doc says "the venue event being queried being held. contains 1 or more of following fields: street, city, state, zip, country, latitude, , longitude." don't see of these except venue id.

do have make request graph api venue location details? there better way location details in 1 query itself?

you can locations events using this fql multiquery.

this events , information venues. you'll have write script on end combine them usable.

fql?q={  "event_info":     "select name,description, pic_small,pic_big, eid,venue,location        event eid in           (select eid event_member uid = me())",    "event_venue":      "select name, username, page_id, location          page page_id in            (select venue.id #event_info)"  } 

facebook changed default encoding events sometime in april. used location data used returned. since id of location has been returned.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -