FB 6.x.3 and events
Hello,
I'd like to know how to subscribe to events using fb module, looking at fb_stream.module I am not able to understand how to do it ... If somebody could give me some tips it would be great !
Thanks,
Clem
- Forums:
Hello,
I'd like to know how to subscribe to events using fb module, looking at fb_stream.module I am not able to understand how to do it ... If somebody could give me some tips it would be great !
Thanks,
Clem
It's not built into
It's not built into modules/fb. If you figure out how to do it with facebook's api, you can build it that way, on top of modules/fb.
Please share what you come up with. I could imagine one day having a fb_event.module.
I managed to attend event in
I managed to attend event in my module this way:
<?php
global $_fb;
$session = $_fb->getSession();
try{
$result = fb_call_method($_fb, 'events.rsvp',array('eid' => 'My Facebook event id','rsvp_status'=> 'attending','session_key' => $session['session_key']));
}
catch (exception $e){
}
?>
Now I am trying to perform the same task but without $_fb->getSession(), I need to store the offline_access access_token in the db and then use it when needed.
Let see how it goes ;)
any news here? Would be great
any news here? Would be great to know if you had some progress.