I’ve a public-facing SharePoint Basis 2013 web site, http://www.oceanview335.com. It’s NOT a SharePoint On-line web site. I’m making an attempt to construct meta tags within the grasp web page so I can management the info proven when posting to Fb. I’ve it working apart from the picture, which for me is an important half.
Listed below are my meta tags within the grasp web page:
<meta property="og:kind" content material="web site" /> <meta property="og:url" content material="http://www.oceanview335.com/SitePages/House.aspx" /> <meta property="og:title" content material="Ocean View Lodge No. 335" /> <meta property="og:site_name" content material="Ocean View Lodge No. 335" /> <meta property="og:picture" content material="http://www.oceanview335.com/Photos/OV_eye_small.jpg" /> <meta property="og:description" content material="Ocean View Masonic Lodge No. 335 A. F. & A. M. Norfolk, Virginia" />
Primarily based on strategies I discovered in stackoverflow and elsewhere, I added this line:
<hyperlink rel="image_src" kind="picture/jpeg" href="http://www.oceanview335.com/Photos/OV_eye_small.jpg" />
Utilizing the Object Debugger for Fb, https://builders.fb.com/instruments/debug I get the next outcomes:
og:picture was not outlined, couldn't be downloaded or was not sufficiently big. Please outline a selected picture utilizing the og:picture metatag, and use a picture that is no less than 200x200px and is accessible from Fb. Picture 'http://www.oceanview335.com/Photos/2015%20DDGMs.png' will probably be used as an alternative.
The top result’s, if I create a NEW submit in Fb, the picture from my house web page “2015%20DDGMs.png” is displayed. If I COMMENT on an current submit, the proper picture “OV_eye_small.jpg” is displayed. I’ve tried varied strategies, corresponding to resizing the picture to 200×200 or a multiplication thereof. The present picture is 200×200. I’ve tried .png and .jpg photographs. I’ve added the image_src hyperlink listed above. Nothing I discovered via Googling to attempt has eliminated this “picture was not outlined” error or given me the proper picture in Fb posts.
UPDATE: I simply posted this query on StackOverflow as I’ve acquired zero responses. I feel this downside is particular to SharePoint websites. Utilizing Twitter Playing cards, which additionally use meta tags, work flawlessly: https://dev.twitter.com/cards/getting-started