On LinkedIn, here "the image must be at least 80 x 150 pixels." On Facebook , the image here "cannot exceed 130x110 pixels." I want to use the php function to resize thumbnails for Facebook or LinkedIn.
How can I determine if there is Facebook or LinkedIn when I share the link?
EDIT (details):
When I embed a link to share it on Facebook or LinkedIn, they get the information that is in these tags inside the header of the html document:
<meta property="og:url" content="..." /> <meta property="og:description" content="..." /> <meta property="og:image" content="image.jpg" /> <meta property="og:title" content="title" /> <meta property="og:type" content="website" /> <meta property="fb:app_id" content="id..." /> <meta property="og:locale" content="en_US" />
For the og: image part for LinkedIn, if it is smaller than the size, it ignores it, while for Facebook the maximum required is less than what LinkedIn requires, and on Facebook for the wrong picture, this is the default image. So I'm trying to determine if I can share the link on Facebook or LinkedIn to resize
Alqin source share