You can customize the Facebook sharing text and image that show up on Facebook when someone clicks the share message on Facebook icon.
By default, Facebook will use the information shown on the permalink page for the message to display the images and text. The title for the Facebook code defaults to <title> tag, for instance.
You can add Facebook meta tags in the header of the message to customize the text, images, and URL for the Facebook share button:
<meta content="Title for FB" property="og:title">
<meta content="Description for facebook share" property="og:description">
<meta content="https://portal.criticalimpact.com/imageURL.jpg" property="og:image">
This code will generate the title of the shared page on FB:
<meta content="Title for FB" property="og:title">
This code will generate the description text of the shared page on FB:
<meta content="Description for facebook share" property="og:description">
This code will generate the image of the shared page on FB:
<meta content="https://portal.criticalimpact.com/imageURL.jpg" property="og:image">
Comments
0 comments
Please sign in to leave a comment.