Creating Facebook Event - Graph API

facebook, facebook-graph-api

Solution

As per Facebook's documentation in: https://developers.facebook.com/docs/graph-api/reference/v2.0/event#publish

Publishing

You cannot create events via the Graph API.

Use Facebook SDK instead: https://developers.facebook.com/docs/javascript/reference/FB.api

Problem

I have gotten the access token with the correct permissions to manage events etc. However, the following: ``` https://graph.facebook.com/{pageID}/events?access_token=xxxx&name%3Dtest%26description%3Dtest%2520description ``` (I have not included the credentials here) Upon testing the above does not create a name value or description for the event - the page just returns a blank data object. Is it possible to create some test data for an event through the browser address bar and if so what is the correct syntax?

Original source