Facebook 2008 FBML Betriebsanweisung Seite 94

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 159
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 93
facebook FBML Reference Guide Page 94 of 159
// Build an delimited list of users...
if ($rs)
{
for ( $i = 0; $i < count($rs); $i++ )
{
if ( $arFriends != "" )
$arFriends .= ",";
$arFriends .= $rs[$i]["uid"];
}
}
// Construct a next url for referrals
$sNextUrl = urlencode("&refuid=".$user);
// Build your invite text
$invfbml = <<<FBML
You've been invited to join the PickPocket™ Guild!
<fb:name uid="$user" firstnameonly="true" shownetwork="false"/> wants you to add PickPocket™ so that you
can join <fb:pronoun possessive="true" uid="$user"/> wily band of thieves!
<fb:req-choice url="http://www.facebook.com/add.php?api_key=$appapikey&next=$sNextUrl" label="Join the
Guild!" />
FBML;
?>
<fb:request-form type="PickPocket" action="index.php?c=skipped" content="<?=htmlentities($invfbml)?>"
invite="true">
<fb:multi-friend-selector max="20" actiontext="Here are your friends who don't have PickPocket™.
Invite them to play with you!" showborder="true" rows="5" exclude_ids="<?=$arFriends?>">
</fb:request-form>
www.yapish.com
Seitenansicht 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 158 159

Kommentare zu diesen Handbüchern

Keine Kommentare