This script is prototyped, and can be seen on our Infusionsoft Test Cart.

We had to jump through some hoops to get the Facebook news feed post to look good, but in the end we were able to get everything to look good except… It displays “infusionsofthacks.com” in the post. However… You can download our opengraph_proxy.php script, put it on your own server, and your domain will appear there instead.

Because of a bug in the Infusionsoft shopping cart, the javascript for this MUST be included from an external file (the browser runs external files first, so the file is run before the file with the bug and prevents the bug from stopping javascript).

To enable the like button. Insert the following html into the “top product html” area of the cart.

<script src="/jspServ/imagegetter.jsp?url=http%3A%2F%2Finfusionsofthacks.com%2Fjs%2Fstore_facebook_like.js"></script>