Changeset 504738
- Timestamp:
- 02/14/2012 11:12:12 AM (14 years ago)
- File:
-
- 1 edited
-
sfce-create-event/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sfce-create-event/trunk/readme.txt
r504731 r504738 41 41 == Frequently Asked Questions == 42 42 43 <strong>I can't create events with this plugin.</strong> 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.44 <strong>"Warning: include_once() [function.include]: Failed opening '[path]/wp-content/plugins/simple-facebook-connect/facebook-platform/facebook.php'</strong> You are using version 1.x of Otto's SFC plugin with version 3.x of SFCe. Either downgrade SFC or upgrade SFCe.45 <strong>I can't add a photo to my events.</strong> 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.46 <strong>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?</strong> 47 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): 48 49 if (function_exists('sfce_create_event')) sfce_create_event( array( 50 'name' => $name, 51 'description' => $fbdescription, 52 'host' => $host, 53 'post_id' => $post_id, 54 'tagline' => 'Let\'s Skate Together!', 55 'is_fanpage' => TRUE, 56 'privacy' => 'OPEN', 57 'timezone' => 'Europe/London', 58 'day' => $_POST['eday'], 59 'month' => $_POST['emonth'], 60 'year' => $_POST['eyear'], 61 'start_hour' => $start_hour, 62 'start_min' => '45', 63 'end_hour' => $end_hour, 64 'end_min' => '00') 65 ); 66 67 Note: Many parameters are optional, see the Facebook documentation (below) for a list of the required param ters.43 <strong>I can't create events with this plugin.</strong> <br>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.<br> 44 <strong>"Warning: include_once() [function.include]: Failed opening '[path]/wp-content/plugins/simple-facebook-connect/facebook-platform/facebook.php'</strong><br>You are using version 1.x of Otto's SFC plugin with version 3.x of SFCe. Either downgrade SFC or upgrade SFCe.<br> 45 <strong>I can't add a photo to my events.</strong><br>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.<br> 46 <strong>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?</strong><br> 47 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):<br> 48 <br> 49 if (function_exists('sfce_create_event')) sfce_create_event( array(<br> 50 'name' => $name,<br> 51 'description' => $fbdescription,<br> 52 'host' => $host,<br> 53 'post_id' => $post_id,<br> 54 'tagline' => 'Let\'s Skate Together!',<br> 55 'is_fanpage' => TRUE,<br> 56 'privacy' => 'OPEN',<br> 57 'timezone' => 'Europe/London',<br> 58 'day' => $_POST['eday'],<br> 59 'month' => $_POST['emonth'],<br> 60 'year' => $_POST['eyear'],<br> 61 'start_hour' => $start_hour,<br> 62 'start_min' => '45',<br> 63 'end_hour' => $end_hour,<br> 64 'end_min' => '00')<br> 65 );<br> 66 <br> 67 Note: Many parameters are optional, see the Facebook documentation (below) for a list of the required parameters.<br> 68 68 69 69 <strong>Where is the Facebook documentation for creating events in this way?</strong> 70 http://wiki.developers.facebook.com/index.php/Events.create 70 http://wiki.developers.facebook.com/index.php/Events.create<br> 71 71 72 72 == Changelog ==
Note: See TracChangeset
for help on using the changeset viewer.