Need Help with Facebook Reveal Tab
I'm trying to set up a Facebook reveal tab for a campaign
I'm running for a local business owner, and am having a few
difficulties. Basically, whenever someone 'likes' the page, they
are supposed to be shown details for a coupon download. Here
is the code I'm using in the FBML Static tab builder...
---------------------------
<style type='text/css'>
#wrapper {
width:520px;
height:502px;
margin:0 auto; border:0; padding:0;
position:relative;
}
#not-fans {
width:520px;
position:absolute; top:0; left:0;
height:502px;
}
</style>
<div id="wrapper">
<fb:visible-to-connection>
<div style='width:520px;'>
<img src='http://www.myhometownmartinsburg.com/images/facebook-lander2.jpg' />
</div>
<fb:else>
<img src='http://www.myhometownmartinsburg.com/images/facebook-lander1.jpg' id='not-fans' />
</fb:else>
</fb:visible-to-connection>
</div>
---------------------------
Found this code online. I'm not terribly code-savvy, but from
what I can tell it is supposed to load the second image 'lander-1'
for people who aren't fans, and when they do click like, it's
supposed to load the second image: 'lander-2.' When I test it,
however, it just shows the 'lander-1' image, even after I click
the like button. Am I making a stupid mistake somewhere?
IMMACC ==> SEO Services
I build Facebook Messenger Chatbots and Provide Training. Feel free to check out my demo bot https://m.me/botsguy