How to Specify a Link Title and Image for a Shared Link
Updated: Jun 30, 2026
Overview
This topic describes how to specify the title and image that is displayed for a URL hosted on your server. It assumes that you have a web host and are able to modify it.
Step-by-Step Instructions
- Collect the link details: link URL, link title, and link image URL.
-
Modify the HTML response header for your URL to include the following meta tags. Replace the content attributes with your information.
<meta property="og:title" content="your_link_title"> <meta property="og:image" content="your_image_url">
-
Open the Sharing Debugger to verify that your server is returning the correct metadata to Facebook for sharing.
-
In the Sharing Debugger, type the URL for your page and click Debug. This gives you a page that reveals what information the Facebook scraper pulled from your page. The image below shows the Sharing Debugger results for http://developers.facebook.com/docs.

Remarks
- For more information on working with images, see Images in Link Shares.
- Consider verifying your domain for increased control over how your link appears on Facebook.
- For additional getting started guides, see Getting Started.