/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <style type="text/css" media="screen"> html, body{ margin:0px; padding:0px; } </style> </head> <body> <script type="text/javascript"> FB.init("<?php echo $this->api_key; ?>", "<?php echo $this->serverUrl() . '/data/xd_receiver.htm'; ?>"); </script> <fb:serverFbml> <script type="text/fbml"> <fb:fbml> <div class="wrap"> <fb:request-form type="Test" content="<?php echo $this->inviteText . htmlentities('<fb:req-choice url="' . $this->serverUrl() . $this->url(array('action' => 'inviteaccepted')) . '" label="Label"/>'); ?>" invite="true" action="<?php echo $this->serverUrl() . $this->url(array('action' => 'invitesent')); ?>" method="post"> <div class="inviteWrap"> </div> <div class="friendWrap"> <fb:multi-friend-selector actiontext="text" showborder="false" email_invite="true" cols="4"/> </div> </fb:request-form> </div> </fb:fbml> </script> </fb:serverFbml> </body> </html>