This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
63 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
config.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
|
||
* associate a picture with a subscription which then will be added to every event created | ||
* Update event on facebook when it changes in the ical file | ||
|
||
* add URL from ical file with Events.edit | ||
* share events created with $facebook->api_client->stream_publish($message, $attachment, $action_links, NULL, $page_id); | ||
* redo user interface with AJAX. (error messages etc.) | ||
* Your default RSVP: not attending. | ||
* publish to stream: $facebook->api_client->stream_publish($message, $attachment, $action_links, NULL, $page_id); | ||
* invite members of group/fans | ||
|
||
* redo user interface with AJAX. (error messages etc.) | ||
* display error message from update_all.php to user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
mb_internal_encoding('UTF-8'); | ||
|
||
//after filling in your data, change the file name of this file to 'config.php' | ||
|
||
//canvas url | ||
define('_SITE_URL','http://apps.facebook.com/test-ics-to-event/'); // your Canvas URL | ||
define('_HOST_URL','http://ics-to-fbevent.project21.ch/'); // your Canvas Callback URL | ||
|
||
$appapikey = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; | ||
$appsecret = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; | ||
|
||
//database | ||
$database_name = 'ics-to-fbevent'; | ||
$host = 'localhost'; | ||
$db_user = ''; | ||
$db_password = ''; | ||
|
||
|
||
|
||
//////////////////// | ||
// config parameters | ||
//////////////////// | ||
|
||
//do not add more than "number" events at the same time to not overstretch the facebook limits | ||
$config['number_of_events_threshold'] = 19; | ||
|
||
//event is not added if it is older than now "-1 month" | ||
$config['old_event_threshold'] = "-1 month"; | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
#messages{ | ||
min-height: 60px; | ||
} | ||
.box{ | ||
float:left; | ||
width: 50%; | ||
|