Preview text in Facebook

When I publish a webpage in Facebook, it shows the title of the page, but also a short preview text of the page. How can I control this content? This also happens in a search result in Google. Do I add something in Sparkle to type my own text that I would like to see?


For Facebook you can turn on the social sharing setting in the site settings, that fill make sparkle produce the metadata Facebook expects, the text comes from the page description, the image can be chosen in the page settings.

If the page has already been shared on Facebook you might need to clear Facebook’s cache of that information (or wait for it to expire). This can be done manually from the open graph debugger.

Google very rarely shows the page description, most of the time it will show an extract of the page that matches the search query.