summaryrefslogtreecommitdiff
path: root/actions/facebookinvite.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2008-12-05 22:01:32 -0500
committerZach Copley <zach@controlyourself.ca>2008-12-05 22:01:32 -0500
commitdccf8374cf7e4673cbc83f695e1665031bdf6539 (patch)
tree72969db82213d3cc38d46553e1863441016479d0 /actions/facebookinvite.php
parent92ea88fd6030b3def92e100291102187be032490 (diff)
trac750 - Exoskeleton of a nascent Facebook app
darcs-hash:20081206030132-7b5ce-96c38ab67edd3d58f8722ef25852a6143f05a86b.gz
Diffstat (limited to 'actions/facebookinvite.php')
-rw-r--r--actions/facebookinvite.php46
1 files changed, 46 insertions, 0 deletions
diff --git a/actions/facebookinvite.php b/actions/facebookinvite.php
new file mode 100644
index 000000000..68b351fb9
--- /dev/null
+++ b/actions/facebookinvite.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Laconica - a distributed open-source microblogging tool
+ * Copyright (C) 2008, Controlez-Vous, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+if (!defined('LACONICA')) { exit(1); }
+
+require_once(INSTALLDIR.'/lib/facebookaction.php');
+
+class FacebookinviteAction extends FacebookAction {
+
+ function handle($args) {
+ parent::handle($args);
+
+ $this->display();
+ }
+
+ function display() {
+
+ $facebook = $this->get_facebook();
+
+ $fbuid = $facebook->require_login();
+
+ $this->show_header('Invite');
+
+ echo '<h2>Coming soon...</h2>';
+
+ $this->show_footer();
+
+ }
+
+}