tags:

views:

281

answers:

1

I know that using fb:visible-to-conection allows you to display content to fans but how do I hide content from fans?

Example if I have "you must be fan to view this" how do I remove that text when they are a fan?

I'm using static fbml app btw. Any help appreciated.

A: 

<fb:fbml version="1.1"> <fb:visible-to-connection> A fan! <fb:else> Not a fan! </fb:else> </fb:visible-to-connection> </fb:fbml>

So you can use the above method to have content for both fans and non-fans, or just for one and not the other.

Remember, if you're a page admin, even if you're not a fan, you'll see both. But this should work for you. I wrote a how-to for showing / hiding content from fans and non-fans that you might find helpful.

Tim Ware

related questions