Facebook FQL or graph API events -
Facebook FQL or graph API events -
i'm trying develop application wich facebook events , show on iphone application.
my question best way retrieve public facebook events in php. know there fql , open graph api fql cannot retrieve public events , can't seem find way this.
can help me ?
kind regards !
both fql , graph api work well. both great options.
fql:
fql may faster if want events user's friends. fql has method of getting count of attendees, maybes, not attendings, , "no replies" directly, without having count yourself, saves lots of time when dealing 20,000 people concerts etc. [ if want calculate gender ratios, unfortunately feature wont help much ] fql has method of determining invited whom, called "inviter" "event_member" table, though appears presently broken: finding invited :: facebook fql explorer bug: "inviter":null if using fql, can utilize "privacy" determine if event public. select name, venue, location, start_time event eid in (select eid event_member uid=me())the graph: - used check "privacy" privacy of event. depreciated , believe doesn't matter now, because events have access show up.
$json = $facebook->api('/'.$target.'/events?fields=name,venue,location,start_time,description,picture.type(large),attending.fields(gender)&since='.time());tip: if programme should show events 1 specific region, can utilize app's authentication rather nag user log in , approve app ( unless have special customizations each user).
facebook events facebook-graph-api facebook-fql
Comments
Post a Comment