Question:

I have added Facebook Like buttons to my web pages. When a user click the Like button, I notice that a wall post will be published to the user's wall. The wall post includes image and text that are extracted from my web pages. However, they are not what I want to be used for the wall post. Is there any way that I can set the content explicitly?

 

Answer:

Appreciate if you can like this page if you find it useful! - Click "Like"

To set the wall post content explicitly, you have to use Open Graph tags.

This is what Facebook document tells us,

The Like button lets a user share your content with friends on Facebook. When the user clicks the Like button on your site, a story appears in the user's friends' News Feed with a link back to your website.

When your Web page represents a real-world entity, things like movies, sports teams, celebrities, and restaurants, use the Open Graph protocol to specify information about the entity. If you include Open Graph tags on your Web page, your page becomes equivalent to a Facebook page.

For sample on how to use the Open Graph tags, see http://developers.facebook.com/docs/opengraph/.

 

Find my FAQ on Facebook Development useful? Download the PDF for all the FAQs HERE!