Daniel G. Gabori
Daniel G. Gabori

Reputation: 65

Website meta tag, special characters

Our website meta tag contains special characters such as "í and é" and when I share the website on Facebook the special characters show in a weird way, image attached. How can this be fixed? enter image description here

Upvotes: 1

Views: 1447

Answers (1)

smobx
smobx

Reputation: 67

  1. Include the Open Graph XML namespace extension to your HTML declaration

< html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">

  1. Inside your use the following meta tag to define the image you want to use

< meta property="og:image" content="your_image_here" />

3.Visit https://developers.facebook.com/tools/debug/ and follow the instructions to change the final image for the preview.

Upvotes: 1

Related Questions