I added a code to my zencart products page that is integrated into a facebook tab so that a user can "like" a product and it is posted on their wall with a picture of the product and a link back to the product (I copied the code from this site: http://www.navspan.com/ecommerce/facebook-like-twitter-google-zen-cart.htm#comment-305).
The problem is the link back to the product goes to the site but not within the facebook iframe (ie the tab)... it goes to my hosting account that I have the site setup on with a correct link to the product... but again not within facebook...
The two reasons I want it to stay within facebook is: first, the site is styled to be in the iframe and looks broken outside of it and second I want the users to move between their activity on facebook and buying the product on the fanpages tab seamlessly... So here is the code that I don't know how to modify:
<link rel="image_src" href="<?php echo "http://" . $_SERVER['HTTP_HOST'] . "/images/" . $products_image; ?>" />
Can I replace the "http://" with the unique facebook fanpage url? but I don't know how to get the fanpage url to go directly to the correct product...
Thoughts?