I need to replicate this thing! Facebook gurus where are you?

avatar33

e-Hustler
Dec 5, 2009
3,838
52
48
Calgary, AB
Check this page out: 1-800-Flowers.com Welcome | Facebook

See how they force people click "Become a Fan" before seeing the Discount Code appear. How do they do this?

Is in an IF statement like this?

IF (isFan) { display this image }
ELSE { display this one instead }

Seems simple but still can't figure it out...
 


well... looks like everyone's too busy talking about religion in the STT section...

I figured it out by myself and tought I'd post it here if anyone needs this:

<fb:fbml version="1.1">
<fb:visible-to-connection>
Fans will see this content.
<fb:else>Non-fans will see this content.</fb:else>
</fb:visible-to-connection>
</fb:fbml>

this is really cool if you want to offer a gift or display a coupon code only when someone becomes a Fan. Great incentive to boost up your fanbase...
 
well... looks like everyone's too busy talking about religion in the STT section...

that's one way of looking at it.

another more logical way of looking at it is that no one is going to do your work for you for free
 
You just can change that behaviour in your page settings, you can change wheter to show the wall or any other page.