I want to post an event to a facebook "group" using the graph API from a php application running elsewhere. Basically when someone creates an event on my system I'd like to also publish it as an event in facebook in my group.
I created an application on facebook and then get an authorization token using the following URL :-
This gets me back a token I can use.
I then try to create my event like this -
https://graph.facebook.com/{GROUP_ID}/events?name=Test%20event&start_time=$st&end_time=$et&access_token=$oauth&privacy=OPEN&page_id={GROUP_ID}
$st and $et are php variables containing the event start and end times and $oauth contains my access token
But I get back a permissions error.
Clearly my access token for my application doesn't have permissions to post an event to my group. So.. Is there any way to give it those permissions? Or is there a different approach I need to use?