Create Facebook events automatically when you create WordPress posts. This plugin requires the Simple Facebook Connect plugin by Otto.
I can't create events with this plugin.
You must install and configure Simple Facebook Connect (SFC), a separate WordPress plugin by Otto. For version 4.x of SFCe you need version v1.x of SFC.
I get an error message about no Access Token.
You must configure Otto's SFC plugin's Publisher module to allow it to publish events to Facebook. Make sure you have granted SFC permission "Automatic Publishing" and "Extended Permissions" in the "Publish Settings" section of the SFC settings page.
"Warning: include_once() [function.include]: Failed opening '[path]/wp-content/plugins/simple-facebook-connect/facebook-platform/facebook.php'
You are using version 1.x of Otto's SFC plugin with version 3.x of SFCe. Either downgrade SFC or upgrade SFCe.
I can't add a photo to my events.
The old Facebook API allowed you to upload a photo for your event, the new Graph API does not. Please contact Facebook and ask them to provide this feature and documentation. You could also downgrade to SFCe 3.x and SFC 0.x, which use the old Rest API.
I want to create an event using this plugin but without filling in the form on my Edit Post page. How do I create an array containing the event date/time etc?
There are several methods of doing this. We use the one below. Please note, in this example we pass some parameters as literal text (e.g. end_min). We pass other parameters as PHP variables (e.g. end_hour). And others we pass as data obtained from an HTML form (e.g. month):
if (function_exists('sfce_create_event')) sfce_create_event( array(
'name' => $name,
'description' => $fbdescription,
'host' => $host,
'post_id' => $post_id,
'tagline' => 'Let\'s Skate Together!',
'is_fanpage' => TRUE,
'privacy' => 'OPEN',
'timezone' => 'Europe/London',
'day' => $_POST['eday'],
'month' => $_POST['emonth'],
'year' => $_POST['eyear'],
'start_hour' => $start_hour,
'start_min' => '45',
'end_hour' => $end_hour,
'end_min' => '00')
Note: Many parameters are optional, see the Facebook documentation (below) for a list of the required parameters.
Where is the Facebook documentation for creating events in this way?
Requires: 2.7 or higher
Compatible up to: 3.3.2
Last Updated: 5 years ago
Active Installs: 100+
Got something to say? Need help?