I am trying to update the description of a Facebook event using the Facebook SDK. I have granted the following permission to my application:
'publish_stream, email, manage_pages, user_events, create_event, rsvp_event
The event I'm trying to update is one of my own events, so I believe I should update it.
In the code "9999" below, there is an event identifier for the created event and the event I am trying to change:
Authorizer authorizer = new Authorizer();
FacebookClient fbapp = new FacebookClient(authorizer.Session.AccessToken);
Console.Write(fbapp.Get("9999"));
dynamic parameters = new ExpandoObject();
parameters.description = "the new description";
fbapp.Post("9999", parameters);
The fbapp.Get function works fine and returns event information.
The problem is the Post method, this returns (OAuthException) (#200) Permissions error
Any ideas on where I am going wrong?
source
share