Can I post both images og: image: secure_url and og: on the page for linkedin and facebook

my site is currently running on https: //. I use this for social functionality.

Problem: I am experiencing the following issues when sharing links.

a) In most cases, only half of the image appears b) For some time, the image does not appear.

Questions:

1) Can I place both og: image: secure_url and og: images on the linked and facebook page. if so, what should be the order. Example:

<meta property="og:image" content="http://example.com/ogp.jpg" /> <meta property="og:image:secure_url" content="https://secure.example.com/ogp.jpg" /> 

2) To bind to and on facebook, the following rules must be observed:

 <meta property="og:image:type" content="image/jpeg" /> <meta property="og:image:width" content="400" /> <meta property="og:image:height" content="300" /> 

any solution, but it should work with both linkin and facebook.

+8
opengraph facebook-like open-graph-protocol linkedin
source share
2 answers

1) Yes, and based on http://ogp.me/#structured , this will tell the crawl service that "the web page requires HTTPS."

2) They are not required, since FB and LinkedIn will form the correct size independently. Remember that LinkedIn clearly has minimum requirements , while FB does not.

+13
source share

Here is what I recently discovered with these tags and the latest open schedule protocol (June 2019).

  1. You must include the full URL (relative paths do not work)
  2. Use og:image (not og:image:secure_url )
  3. og:image currently supports secure ( https ) for content value
  4. You can change the website and check its functionality using the Facebook sharing debugger .

Hope this helps, as it's hard for me to follow the documentation with these specific details.

0
source share

All Articles