I have a site where a user submit a quote, each quote is added in a list and has its own page once created. The URL for each quote looks like: http://example.com/quote-231
My Client wants each quote to have its own like button that is displayed on the main page and the quote page itself. Each quote has it’s own id.
I’ve tried to read developer.facebook.com and I can’t really understand how I would implement the like button for each page, can someone explain what I need to do/find out/read to get this working for me?
I’ve coded this in ColdFusion, but it should be very easy for you to adapt for PHP. This allows you to customise the thumbnail and description for the “like” button’s data and display.
Inside the
headtag:Inside the
bodytag:Inside the
bodytag (at the end in the footer):Check out the Facebook docs for the different
og:typeoptions.Hope that helps?