I have a public-facing SharePoint Foundation 2013 site, http://ift.tt/1qgqWM3. It is NOT a SharePoint Online site. I am trying to build meta tags in the master page so I can control the data shown when posting to Facebook. I have it working except for the image, which for me is the most important part.
Here are my meta tags in the master page:
<meta property="og:type" content="website" />
<meta property="og:url" content="http://ift.tt/1qgqYnd" />
<meta property="og:title" content="Ocean View Lodge No. 335" />
<meta property="og:site_name" content="Ocean View Lodge No. 335" />
<meta property="og:image" content="http://ift.tt/1yYUiPK" />
<meta property="og:description" content="Ocean View Masonic Lodge No. 335
A. F. & A. M. Norfolk, Virginia" />
Based on suggestions I found in stackoverflow and elsewhere, I added this line:
<link rel="image_src" type="image/jpeg"
href="http://ift.tt/1yYUiPK" />
Using the Object Debugger for Facebook, http://ift.tt/siKgVZ I get the following results:
og:image was not defined, could not be downloaded or was not big enough.
Please define a chosen image using the og:image metatag, and use an image that's
at least 200x200px and is accessible from Facebook.
Image 'http://ift.tt/1yYUiPM' will be used instead.
The end result is, if I create a NEW post in Facebook, the image from my home page "2015%20DDGMs.png" is displayed. If I COMMENT on an existing post, the correct image "OV_eye_small.jpg" is displayed. I have tried various suggestions, such as resizing the image to 200x200 or a multiplication thereof. The current image is 200x200. I have tried .png and .jpg images. I have added the image_src link listed above. Nothing I found through Googling to try has removed this "image was not defined" error or given me the correct image in Facebook posts.

0 commentaires:
Enregistrer un commentaire