php - Issue integrating the Open Graph meta tag -
i trying integrate open graph , twitter card on site. works fine until add meta tag:
<meta property="og:image" itemprop="image primaryimageofpage" name="twitter:image" content="my-site-name.com/resources/images/logo.png" />
at stage, headers sent error.
however, if trim down length of image url, logo.png
, error disappears.
is there doing wrong? there maximum length value content attribute of meta tags?
try changing
content="my-site-name.com/resources/images/logo.png"
to this:
content="http://my-site-name.com/resources/images/logo.png"
Comments
Post a Comment