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

[FBML] Non-Fan Invite Script

Discussion in 'FaceBook' started by FLIZZOW, Nov 1, 2010.

  1. FLIZZOW

    FLIZZOW Junior Member

    Joined:
    Oct 26, 2010
    Messages:
    185
    Likes Received:
    286
    Hai,

    I believe there are many FBML expert here in BHW, hence i want to seek your advice and opinion on the above subject. Hopefully there will be professional or expert members who can assist a newbie like me :)

    After viewing lots of sample and some code testing, finally i manage to create a simple page and i'm using the non-fan function. In the non-fan section, i put the code for share and invite function. So they have to follow the 3 steps (share-invite-like) in order for the free gift to appear for fan section.

    Although by right they can simply click like and skip the share and invite steps. But anyway, the share code works fine and i have tested it out. Unfortunately i'm having problem with the invite code:

    1. Max only 6 people to invite
    2. Once click send invitation, i received error message "unsuccessful"

    Can anyone spare some time to look at the code and let me know what when wrong :eek:

    Code:
    <h2 style="color:blue">
    STEP 2: Click the Invite button
    </h2>
    Kindly click the below button and invite your bestfriends to join us...
    <br>
    
    <a id="binvite" href="#" onclick="showInvite(); return false;">
    <img src="http: i take out the image URL ">
    </a>
    
    <!-- Facebook Invite Box Part Start-->
    <div class="invite" id="invite_box" style="display:none">
    <fb:fbml>
    
    <fb:request-form 
    action="http: i take out the image URL "
    method="POST"
    invite="true"
    type=" My Fanpage Name "
    content=" This message here will appear in the invite message bar 
    <fb:req-choice url=' i take out the image URL ' 
    label='Accept' />"
    >
    
    <fb:multi-friend-selector
    showborder="false"
    actiontext="Invite your friends to join NOW">
    </fb:request-form>
    </fb:fbml>
    </div>
    

    On a separate note, does anyone knows what is the coding to ensure the user follow step by step (1-Share, 2-Invite, 3-Like) so that they cant go straight away to step 3 and click LIKE?

    Maybe a combination of 'Click to Show' and 'fb share' with a bit of code adjustment? I dont know...Is it something that is doable?

    And also since non-fan and fan code is use based on creativity, depend on what you want to show and what you want to hide to your fans, maybe you guys can share with me what is the best tactic to implement this.


    Looking forward for some advice and help.
    Thanking you in advance.
     
  2. FLIZZOW

    FLIZZOW Junior Member

    Joined:
    Oct 26, 2010
    Messages:
    185
    Likes Received:
    286
    Going once...going twice...

    Is there anyone using the non-fan script here or its only me??
     
  3. cisumcd

    cisumcd Registered Member

    Joined:
    Sep 5, 2010
    Messages:
    83
    Likes Received:
    24
    I would also like to know how to do this, I want to offer download links to my music for liking-suggesting-sharing my page but I don't know how to go about this..
     
  4. FLIZZOW

    FLIZZOW Junior Member

    Joined:
    Oct 26, 2010
    Messages:
    185
    Likes Received:
    286
    Friend,
    The code is easy:

    Code:
    <fb:visible-to-connection>
    Fans will see this content.
    <fb:else>Non-fans will see this content.</fb:else>
    </fb:visible-to-connection>
    
    But most importantly is the creativity on how you want to implement it to your page. If you walk around to other people's page, there a lots of ways to be creative and innovative.
     
  5. moneyrocks

    moneyrocks Supreme Member

    Joined:
    May 22, 2009
    Messages:
    1,205
    Likes Received:
    135
    buddy no use of this know even if some one works it out for yea still it wont work because fb will kill it before you know