Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   FBML help (https://www.warriorforum.com/programming/195132-fbml-help.html)

jaybaker 27th March 2010 11:13 PM

FBML help
 
Hello all,

I have a client that is looking for a fan page but not just a regular one... They want one of the ones where you have three steps to go through become a fan invite fans and click finish or confirm button to see the hidden content.

I have seen them done on FB and found some code at another site but have been told its not working and that there is a possibility of using this code could get your account banned from FB. Any suggestions?Thanks.

Goliathseo

jaybaker 28th March 2010 03:09 AM

Re: FBML help
 
Got it figured out... Will share the code below in the event someone wants to go about this task as well.

First off I want to let you know that FB does not allow the content to be shown on the premise that friends are invited. Therefore all we can do is set up a bit of text saying Step 2: Click on the wall tab then on Suggest to friends link

Then on the next line having a button linking to the proper page we want users to see.

Any way heres the code:

Code:

<h1>To view this content you need to complete following steps:</h1>
<h2>Step 1: Click <img src="http://i38.tinypic.com/ubh2a.jpg"> button</h2>
<br></br>
<fb:visible-to-connection>
<a  class="UIButton UIButton_Gray UIActionButton" clicktoshow="step2"><span class="UIButton_Text">Step 2: Invite your friends!</a>

<br></br>
<div id="step2" style="display:none;">Make sure to click on the wall tab and then on the Suggest to friends link to tell your friends about us!<br>
<a  class="UIButton UIButton_Gray UIActionButton" href="YOUR SITE HERE"><span class="UIButton_Text">Finish</a>
</div>



All times are GMT -6. The time now is 07:30 PM.