Reputation: 17
In my website I have put Facebook popup. Now I want only those people to see that pop up who didn't like my website Facebook page yet.
this is my code.
.facebookOuter { background-color:#F4F4F4; width:230px; padding:10px 0 10px 10px; height:250px; border:1px solid #CCCCCC; } .facebookInner { height:250px; overflow:hidden; } (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));
I looking to hear from you.
Best regards.
Upvotes: 0
Views: 1234
Reputation: 476
I think You need to store a flag somewhere. Guess this might be helpful. Check the link below
Facebook popup remember when user likes
Upvotes: 0