[HELP] FBML code Help

CyrusVirus

BANNED
Joined
Aug 20, 2009
Messages
1,109
Reaction score
693
I need a fbml code that like.. invites i guess. nothing bad, just something that pops the invite box up and they can pick their friends and invite. that would be great, thanks guys.
 
Last edited:
Try this :usa:
PHP:
<?php
define('APP_NAME', 'YOUR APP NAME HERE');
define('APP_URL', 'ht'.'tp://'.'apps.fac'.'ebook.com/EXAMPLE/');// sorry, truncated because i can not post URL here lol
$user_id = '1203123';// this is the FB user id
?>
<fb:fbml>
<fb:request-form action="index.php?inviteform=1" method="post" invite="true" type="<?php echo htmlentities(constant('APP_NAME')); ?>" content="<?php echo htmlentities("<fb:name uid=\"$user_id\" useyou=\"false\" />"); ?> invites you to use <?php echo htmlentities(constant('APP_NAME')); ?> ! <?php echo htmlentities("<fb:req-choice url=\"".constant('APP_URL')."?done=1\" label=\"Agree\"") ?>">
<fb:multi-friend-selector showborder="true" actiontext="Your Friends" exclude_ids=""></fb:multi-friend-selector>
</fb:request-form>
</fb:fbml>
 
Yes that should do it. if you're still having problems PM me and Ill help you out.
 
Back
Top