Can anybody tell me how can I have an image or logo that fits when you post a link on Facebook or twitter. I’m attaching an image to show what I mean.
If I’m not mistaken, by default if there is no image in the post, or site, Facebook pulls in the next closest thing it can find (author image, favicon, etc.) Try comparing your site in an RSS reeder like feedly to see what I mean, it should be identical.
If there is an image though, it should pull that by default. This is where it gets a bit obtuse in my opinion, as if there are multiple images, it can sometimes pull the first one, (good), or sometimes pull none (bad Facebook).
Either way, YMMV, but I tend to lean on the RSS feed for comparing, as it’s easier to see the most likely viewing method by multiple sites.
Looking at your site, the picture you attached shows your header, which is an image for sure, but also appears as such to Facebook…I’m assuming this is not desirable for you.
An example of how my blog looks to places like Facebook, feedly, any rss reeder, etc. It pulls in my author img from typed when there is no image in the post. This is not ideal as its not sized accordingly.
Might try to have an icon that does not show on the site, but loads for this if you want it to appear that way…sized smaller (not sure of the appropriate dimensions, but it appears to be 16:9 ratio. make that < div > load when pulling your links into Facebook.
Head [here][1] to find out how to code it properly.
—Matt
[1]: Sharing Debugger - Meta for Developers
Thank you @dream!! Now I have something to check and improve. Appreciate the help!! Aloha
You are right, it is my header… Thank you for taking the time to help me. Aloha
No no, thank you as I learned something new in the process!
Here’s some further reading on the proper “og” tags to help ensure this doesn’t happen any longer: Facebook Sharing Checklist