A button to attend a public event with PHP or javascript
I want to have a button (an image) and when a user clicks it automaticaly attend my public event, is that possible? And I want to do it using PHP or/and javascript
开发者_JAVA技巧Thanks
Yes, it is possible. You'll need to have the rsvp_event extended permission for the user. And you can use both php and/or javasctipt to perform this action.
Taken from Event - A connection in the faecbook graph api...
To mark an event as "attending" you make call to this url :
https://graph.facebook.com/EVENT_ID/attending
精彩评论