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

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -