]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
trac750 Facebook app's invite tab now works
authorZach <zach@plantard.controlezvous.ca>
Sun, 11 Jan 2009 03:00:12 +0000 (03:00 +0000)
committerZach <zach@plantard.controlezvous.ca>
Sun, 11 Jan 2009 03:00:12 +0000 (03:00 +0000)
actions/facebookinvite.php

index 00efa654b12cf41553d2db2a64f06f3302a96de3..0b966cf261df10f2e52e7764cfddb44c08c94be3 100644 (file)
@@ -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();