Facebook Javascript: how to save a Facebook event -
short version:
on facebook (javascript sdk) "save" facebook event through javascript, equivalent of clicking "save" in facebook ui, can't find in sdk... idea?
long version:
to list page's events, do:
fb.api('/somepage/events', function(response) { listevents(response.data); });
where:
function listevents(listofevents) { console.log("number of events: " + listofevents.length); (i=0; i<listofevents.length; i++) { console.log("event " + + ": " + listofevents[i].name); // "save" "listofevents[i]" event? } }
thanks.
Comments
Post a Comment