Short answer: Facebook doesn't allow that anymore (as of Graph API 2.0).
Facebook has removed that functionality in Graph API 2.0 (probably to avoid spams). That's unfortunate as it was a cool integration for useful apps.
Here you can see the changelog stating that this functionality is not available anymore: https://developers.facebook.com/docs/apps/changelog
Create event Removed - Apps can no longer create events with the API.
Now, I'm thinking that they could allow such an integration for special partners. E.g. Zapier seems to have an integration that creates Facebook events for your Google events, thus I'm guessing it's possible if you can strike a deal with Facebook:
https://zapier.com/zapbook/google-calendar/facebook-pages/6308/create-facebook-page-event-from-google-calendar-event/
But at the same time, another big event provider, Eventbrite, seems not to have managed to secure such a deal (not yet at least):
http://help.eventbrite.com/customer/portal/articles/428611-how-to-publish-your-eventbrite-event-to-facebook
Thus, short answer is that Facebook doesn't want you to create events on their platform, whatever their reason is.
Technically it is possible, but it's nasty
Now, if you really want to do it, there is a way, though I wouldn't recommend it as it relies on the structure of the DOM of the Facebook page. Here how (most of the below is done in JavaScript):
- you use an internal frame to load the facebook events page home.
- you 'click' the
create event
button behind the scenes, using javascript
- you create a similar interface to capture all those fields in your application.
- once the user clicks 'submit' on your page, after filling in all those details, you copy those to the Facebook DOM to the corresponding fields and submit that page (using JS again).
- You search the newly created event (you can do this using Graph API) and show it to the user.
- Voila, you now have created a Facebook event and the user won't even know it.
NOTE: This is heavily relying on the structure of the Facebook DOM, thus a small change in the DOM of the Facebook Events page might break your functionality ... not the best user experience.