Title: Plugin name: SFCe Create Event
Author: roggie
Published: <strong>August 11, 2010</strong>
Last modified: February 15, 2012

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/sfce-create-event.svg)

# Plugin name: SFCe Create Event

 By [roggie](https://profiles.wordpress.org/roggie/)

[Download](https://downloads.wordpress.org/plugin/sfce-create-event.zip)

 * [Details](https://pcd.wordpress.org/plugins/sfce-create-event/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/sfce-create-event/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/sfce-create-event/#installation)
 * [Development](https://pcd.wordpress.org/plugins/sfce-create-event/#developers)

 [Support](https://wordpress.org/support/plugin/sfce-create-event/)

## Description

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.

[Changelog](http://www.thehypervisor.com/simple-facebook-connect-extensions)

[Follow me on Facebook</a href>](http://www.facebook.com/home.php?sk=lf#!/pages/The-Hypervisor/114689115238103)

[Follow me on Twitter</a href>](http://twitter.com/thehypervisor)

## Screenshots

 * [[
 * Section added to “New Post” and “Edit Post” to supply details about your event.
 * [[
 * Settings page.

## Installation

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.

 1. Install and configure Simple Facebook Connect by Otto.
 2. Ensure your WordPress account is ‘connected’ to your Facebook account using Otto’s
    Simple Facebook Connect.
 3. Unzip the sfce-create-event.zip in your WordPress plugins directory.
 4. Login to WordPress as an administrator, go to Plugins and Activate SFCe Create 
    Events.
 5. Configure Otto’s SFC to publish events to Facebook.
 6. Create or edit a Post, scroll down and use the Create Facebook Events section to
    supply information about your Facebook event.

## FAQ

**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?**
 http://
wiki.developers.facebook.com/index.php/Events.create

## Reviews

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

 *   [ roggie ](https://profiles.wordpress.org/roggie/)

[Translate “Plugin name: SFCe Create Event” into your language.](https://translate.wordpress.org/projects/wp-plugins/sfce-create-event)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/sfce-create-event/),
check out the [SVN repository](https://plugins.svn.wordpress.org/sfce-create-event/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/sfce-create-event/)
by [RSS](https://plugins.trac.wordpress.org/log/sfce-create-event/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

Click this link to see the [changelog](http://www.thehypervisor.com/simple-facebook-connect-extensions).

## Meta

 *  Version **4.00.2**
 *  Last updated **14 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/sfce-create-event/)
 * Tags
 * [create](https://pcd.wordpress.org/plugins/tags/create/)[Event](https://pcd.wordpress.org/plugins/tags/event/)
   [facebook](https://pcd.wordpress.org/plugins/tags/facebook/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/sfce-create-event/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/sfce-create-event/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/sfce-create-event/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/sfce-create-event/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/sfce-create-event/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/sfce-create-event/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/sfce-create-event/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sfce-create-event/reviews/)

## Contributors

 *   [ roggie ](https://profiles.wordpress.org/roggie/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/sfce-create-event/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.rogerh.com/donate.html)