Changeset 464479
- Timestamp:
- 11/18/2011 04:23:24 AM (14 years ago)
- Location:
- sync-facebook-events/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
screenshot-1.png (modified) (previous)
-
sync-facebook-events.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sync-facebook-events/trunk/readme.txt
r464388 r464479 2 2 Contributors: markpdxt 3 3 Donate link: http://pdxt.com/ 4 Tags: facebook, events 4 Tags: facebook, events, synchronize, calendar 5 5 Requires at least: 3.0 6 6 Tested up to: 3.0 … … 18 18 2. Upload the sync-facebook-events folder to your /wp-content/plugins/ directory 19 19 3. Go to the plugins page and click 'Activate' for Sync FB Events 20 4. Navigate to the Settings section within Wordpress and enter your Facebook App ID, App Secret & UID. 21 5. Ensure The Events Calendar plugin is installed and configured - http://wordpress.org/extend/plugins/the-events-calendar/ 22 5. Press 'Update' to synchronize your current Facebook events for display within The Events Calendar. 20 23 21 24 == Frequently Asked Questions == 22 25 23 This is a simple plugin that is designed to be used with The Events Calendar plugin. 26 Q: What is the Facebook App ID and App Secret, and why are they required? 27 A: The Facebook App ID and App Secret are required by Facebook to access data via the Facebook graph API. To signup for a developer account or learn more see - http://developers.facebook.com/docs/guides/canvas/ 28 29 Q: Do my Facebook events get updated on a schedule? 30 A: Currently, your Facebook events are updated only when you press the 'Update' button from the Sync FB Events section within settings. 24 31 25 32 == Upgrade Notice == 33 34 Upgrade Notice 26 35 27 36 == Screenshots == -
sync-facebook-events/trunk/sync-facebook-events.php
r464394 r464479 142 142 if (array_key_exists($event['eid'], $eids)) { 143 143 tribe_update_event($args); 144 $action = "Updating Post: ".$eids[$event['eid']];144 $action = "Updating: ".$eids[$event['eid']]; 145 145 } else { 146 146 $post_id = tribe_create_event($args); 147 $action = "Inserting Post: ".$post_id;147 $action = "Inserting: ".$post_id; 148 148 } 149 149 reset($eids); 150 150 151 //print $action."<br />";151 print $action; 152 152 } 153 153 fclose($fp); 154 print "<br />"; 154 155 ?> 155 <span style="color:red;">Events Calendar update finished.</span><br /><br />156 <span style="color:red;">Events Calendar updated with current Facebook events.</span><br /><br /> 156 157 </div> 157 158 <? } ?>
Note: See TracChangeset
for help on using the changeset viewer.