Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Facebook likes for individual products ?

Options
  • 11-08-2011 1:15pm
    #1
    Closed Accounts Posts: 3,489 ✭✭✭


    In the final stages of website development. Just installed Add This for the headers.

    I'm looking for something that I can add to individual products so that people can like the products themselves & hopefully share them.

    Anyone know of anything ?


Comments

  • Registered Users Posts: 26,574 ✭✭✭✭Creamy Goodness


    place this on each of the products pages? http://developers.facebook.com/docs/reference/plugins/like/

    place the url to each product into the code this produces.
    <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.myawesomesite.com/products/unicorn-meat" send="true" width="450" show_faces="true" action="like" font=""></fb:like>
    

    if the like button has to be in your header, you'll need to figure out in your header the following.

    1. are you on a product page (usually have a product id at this stage).
    2. if so, build url for product and show the like button code like above..
    3. otherwise show like button for site itself.


  • Registered Users Posts: 2,234 ✭✭✭techguy


    Hi,

    I just came across this "sharer" feature...
    http://www.facebook.com/sharer/sharer.php?u=http://www.google.com
    

    You can use something like the above and just provide the permalink to your product as the value for "u".

    When a use clicks the link it will bring them to a page where there can write a message and then your link will be appended to the wall post along with a thumbnail.

    It really is that simple.. surprising really!


Advertisement