This plugin creates events in personal Facebook profiles and Facebook Pages.
Version 4.x is a major re-write to work with Facebook’s new Graph API. It requires Otto’s Simple Facebook Connect plugin v 1.x. You must configure SFC’s Publisher module, which is used by SFCe to publish events to Facebook.
To create a Facebook event with this plugin, create or edit a post, scroll down the page to the Create Facebook Event section.
Provided the WordPress user account has been “Connected to Facebook” using the SFC plugin, they will see a form that will allow them to create an event in their Facebook profile or your Facebook Page. Fill in the event title and start time, tick the Create Public Facebook Event box and Update or Publish the post. If the WordPress user is not “Connected to Facebook” they will see a warning message and not see the form. The plugin handles Facebook security properly. The first time someone uses this plugin on your WordPress site, Facebook may ask the WordPress user to authorize this plugin.
SFCe can populate the event with data from the WordPress post – e.g. the post title etc, and SFCe can be configured with default values for many Facebook event parameters. WordPress site admins can configure SFCe to enforce default values or let users override them.
Example: We use this plugin to automatically create public Facebook events for our fan page when certain types of post are published. We also use it to create private Facebook events when other types of post are published.
Follow me on Facebook</a href>
This plugin requires Otto’s Simple Facebook Connect (SFC) plugin is also installed in your WordPress site. Otto’s SFC is an excellent set of plugins for integrating Facebook with your WordPress site. Unfortunately Otto’s SFC does not create Facebook Events. However, this plugin is designed and tested to work with Otto’s SFC, so if you want to create Facebook events from your WordPress blog, install Otto’s SFC and this plugin.
- Install and configure Simple Facebook Connect by Otto.
- Ensure your WordPress account is ‘connected’ to your Facebook account using Otto’s Simple Facebook Connect.
- Unzip the sfce-create-event.zip in your WordPress plugins directory.
- Login to WordPress as an administrator, go to Plugins and Activate SFCe Create Events.
- Configure Otto’s SFC to publish events to Facebook.
- Create or edit a Post, scroll down and use the Create Facebook Events section to supply information about your Facebook event.
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?
There are no reviews for this plugin.
Contributors & Developers
“Plugin name: SFCe Create Event” is open source software. The following people have contributed to this plugin.Contributors
Translate “Plugin name: SFCe Create Event” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Click this link to see the changelog.