1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[HELP] FBML code Help

Discussion in 'Membership Sites' started by CyrusVirus, Dec 11, 2010.

  1. CyrusVirus

    CyrusVirus BANNED BANNED Premium Member

    Joined:
    Aug 20, 2009
    Messages:
    1,110
    Likes Received:
    686
    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: Dec 11, 2010
  2. CyrusVirus

    CyrusVirus BANNED BANNED Premium Member

    Joined:
    Aug 20, 2009
    Messages:
    1,110
    Likes Received:
    686
    bumped, new reason and title
     
  3. xrvel

    xrvel Registered Member

    Joined:
    Feb 4, 2009
    Messages:
    76
    Likes Received:
    16
    Gender:
    Male
    Home Page:
    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>
     
    • Thanks Thanks x 1
  4. Aarondo

    Aarondo Newbie

    Joined:
    Nov 1, 2010
    Messages:
    16
    Likes Received:
    0
    Yes that should do it. if you're still having problems PM me and Ill help you out.
     
  5. secretsteve

    secretsteve BANNED BANNED

    Joined:
    Jan 22, 2011
    Messages:
    25
    Likes Received:
    0
    hey the cde isnt working for me inface the page just tirns up blank???