Facebook like on logged-in website content
Posted on 2013-01-05
I have a list of products on a website. The website is built using PHP and mySQL. In order to view any part of a product page, a user must be logged into my website...if the user is not logged in then the login page loads up.
Each product has a Facebook Like button on its page, added using the IFrame method. The idea is that a "Like" will add a Facebook wall link to this exact product URL.
My problem is that when the Like button is pressed, Facebook posts that the signin page was liked, and not the actual product URL.
I can't allow non-logged-in people to see my products and I must also have the Facebook Like working as described.
Has anyone else ever had the same issue and found a way around it? The only thing I can think of is to show the page to non-logged-in users and hide/blur the content I don't want them to see.