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

FBML - How to make content invisible to connection?

Discussion in 'FaceBook' started by cooke, Jun 14, 2010.

  1. cooke

    cooke Newbie

    Joined:
    Jan 1, 2010
    Messages:
    7
    Likes Received:
    0
    That is the opposite of visible-to-connection tag. But there doesn't seem to be code for this. Thanks for help.
     
  2. OnlineGodfather

    OnlineGodfather Senior Member

    Joined:
    Mar 3, 2010
    Messages:
    1,117
    Likes Received:
    406
    Occupation:
    Interwebs
    Location:
    Russia
    why do you need this for, did you try with google? but i think there isnt.
     
  3. buddyboy

    buddyboy Junior Member

    Joined:
    May 26, 2009
    Messages:
    149
    Likes Received:
    278
    Newbo heres,


    normally I don't do this because they flame for helping rooks but you seem to have gotten somewhat far. The close tag is the same as the open.

    Here is an example

    </fb:visible-to-connection>
    <a href="yoururl"><img src="http://budgetlexicon.files.wordpress.com/2008/06/grocery_bag.jpg
    </fb:visible-to-connection>

    Take care!
     
  4. cooke

    cooke Newbie

    Joined:
    Jan 1, 2010
    Messages:
    7
    Likes Received:
    0
    I'm talking about making content shown to non-fans only. Already know the tag for visible-to-connection.
     
  5. facebookanswers

    facebookanswers Newbie

    Joined:
    Nov 8, 2010
    Messages:
    2
    Likes Received:
    1
    I am a fellow noob who was puzzled by this too. The answer is actually fairly simple. You need to used the fb:else tag.

    <fb:visible-to-connection>
    <fb:else>
    </fb:visible-to-connection>

    Now, according to the facebook docs, you need to use </fb:else> as well. However, I didn't use that in my example.

    This is what I did, and I know it works because I include screenprints in the example:

    facebookanswers.co.uk/?p=83

    However, the closing else may be needed to make it "proper", so its worth trying it with them in first. If it doesn't work, just remove them as I did.
     
  6. locknload007

    locknload007 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 14, 2010
    Messages:
    475
    Likes Received:
    67
    I have used the else, I find it better to do it without it.