<?php
require_once 'facebook.php';
$appapikey = '1111111111111111111111111';
$appsecret = '111111111111111111111111111';
$facebook = new Facebook($appapikey, $appsecret);
$user = $facebook->require_login();
// Build your invite text
$invfbml = <<<FBML
You have been invited to join YQLM notifier.
<fb:name uid="$user" firstnameonly="true" shownetwork="false"/> wants you to add YQLM googlegroups Notifier. so that you can join
<fb:pronoun possessive="true" uid="$user"/>London YQLM GoogleGroups! <fb:req-choice url="http://www.facebook.com/add.php?api_key=$appapikey" label="Add this application" />
FBML;
?>
<fb:request-form type="YQLM Notifier" action="./index.php" content="<?=htmlentities($invfbml)?>" invite="true">
<fb:multi-friend-selector max="20" actiontext="Select your friends to add this application!" showborder="true" rows="3">
</fb:request-form>
Monday, 17 March 2008
Facebook application: Invitation page
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment