Link to home
Start Free TrialLog in
Avatar of rascal
rascalFlag for United States of America

asked on

How to share a product from our webpage onto Facebook

We're trying to share a product page from our e-commerce site onto Facebook.

We are frustrated because by all appearances it should work, but doesn't.

Here is a link to our page. It contains a Facebook share icon. When clicked, it takes you to the Facebook page, but it doesn't show the title. It actually shows the title very briefly, then replaces it with "No Title". Very odd.

Here is the link:
http://www.moxieandoliver.com/pages/product.asp?iid=278

Any thoughts on why this is failing?

For your reference, here is a link to a Lands End site where it does work just fine. We can't find any differences between their site and ours??

http%3a%2f%2fwww.jcpenney.com%2fjcp%2fX6.aspx%3fGrpTyp%3dSIZ%26ItemID%3d1a535f6%26cmsitelet%3dtrue%26cmcatid%3dPPRELATED-FACEBOOK&t=JCPenney+%3a+St.+John's+Bay%c2%ae+Pintuck+Pocket+Short
ASKER CERTIFIED SOLUTION
Avatar of Webmonkey
Webmonkey
Flag of United States of America 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
Avatar of rascal

ASKER

Avatar of rascal

ASKER

Here is that link as a code block as well.
http://www.jcpenney.com/jcp/X6.aspx?GrpTyp=SIZ&ItemID=1a535f6&cmsitelet=true&cmcatid=PPRELATED-FACEBOOK&t=JCPenney+:+St.+John's+Bay%c2%ae+Pintuck+Pocket+Short

Open in new window

Avatar of rascal

ASKER

I discovered the problem - the full link we were providing to facebook was urlencoded.

This means that the 'dot' such as in http://www.domain.com was also being encoded. This broke facebook.

We took the root domain name out of the encoding so that it was as follows:

"http://www.domain.com/" & Server.URLEncode("pages/path/pagename.asp?.....") and then it worked.
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
Avatar of rascal

ASKER

I discovered the problem - the full link we were providing to facebook was urlencoded.

This means that the 'dot' such as in http://www.domain.com was also being encoded. This broke facebook.

We took the root domain name out of the encoding so that it was as follows:

"http://www.domain.com/" & Server.URLEncode("pages/path/pagename.asp?.....") and then it worked.
Avatar of rascal

ASKER

Please see my comment for actual solution.