summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach <zach@plantard.controlezvous.ca>2009-01-11 03:00:12 +0000
committerZach <zach@plantard.controlezvous.ca>2009-01-11 03:00:12 +0000
commitd96de79888d59d88ff96d7aacb75a3be353e67a3 (patch)
treefe186d20b0a300b542c134ca52f31801722198a6
parent2d456a15e5652a0c0e2c0f9f50221eed2d16e109 (diff)
trac750 Facebook app's invite tab now works
-rw-r--r--actions/facebookinvite.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/actions/facebookinvite.php b/actions/facebookinvite.php
index 00efa654b..0b966cf26 100644
--- a/actions/facebookinvite.php
+++ b/actions/facebookinvite.php
@@ -40,7 +40,17 @@ class FacebookinviteAction extends FacebookAction
$this->show_header('Invite');
- echo '<h2>Coming soon...</h2>';
+ $fbml = '<fb:request-form '
+ .'action="invite.php" '
+ .'method="POST" '
+ .'invite="true" '
+ .'type="Identi.ca" '
+ .'content="You have been invited to Identi.ca! '
+ . htmlentities('<fb:req-choice url="http://apps.facebook.com/identica_app/" label="Add"/>') . '">'
+ .'<fb:multi-friend-selector showborder="false" actiontext="Invite your friends to use Identi.ca.">'
+ .'</fb:request-form>';
+
+ echo $fbml;
$this->show_footer();