Link to home
Start Free TrialLog in
Avatar of kbit
kbit

asked on

Facebook like on logged-in website content

Hi,

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.

Many thanks
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

You have painted yourself into a corner.  The like is on the login page, and that is the url that is going to be sent.  It sounds like you are trying to force users to like things just to access them, and that kind of behavior really is a questionable practice that borders on scamming users.


Cd&
Avatar of kbit
kbit

ASKER

The idea of having the like is to raise awareness of the site on Facebook.

If within Facebook, people click on a product that a friend of theirs liked, they arrive at my site and have the option of signing up, signing in or ignoring.

There is no scam, all I'm trying to do is get Facebook to show the content I want it to show.

It's extremely similar to arriving at an Experts Exchange question and not being able to view the solutions unless you sign up/in.
SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I noticed that you have a close request pending for this question, but I'd like to offer one anecdote from last year's MoDevDC conference on navigation and client relations.  One of the presenters told us about an experiment which took the "register/sign-in" component of a well-known ecommerce site completely out of the buying process.  The client was anonymous right up to the point of entering shipping and payment details.  When the conversion rate (actual purchases) for this experiment was benchmarked against the site's earlier requirement to register before creating a shopping cart, it was discovered that the value of moving the "register" button from the front of the shopping experience to the back of the shopping experience was $300,000,000 per year.  The site now sends a follow-up email a few weeks after you have received your products, asking you to review the products and give feedback.  That's where your Facebook "like" button should go.

Who is this smart company that figured out how to sell without appearing manipulative?

Amazon.com
Avatar of kbit

ASKER

Came up with a workaround as described above