XF 2.0 Share post on facebook but thumbnail showing is logo

I want first image (Attachment) of post will is thumbnail when sharing on facebook, how can do it?
Now, when i sharing a thread on facebook then show website logo like it.

Screen Shot 2018-05-24 at 22.25.37.webp

Please suggest a addon or code to fix it.
Thanks all!
 
I finally figured this out. If you have a large logo, Facebook will use the logo instead of fetching the url attachment. Keep your logo size small I would say 200*100 max. Do not adjust logo size via css but resize the actual website logo. This was happening to me and drove me crazy till I resized the logo to 180*80 and everything is now working perfectly. My site logo was huge and did adjust it before via css, that is why Facebook would render my site logo instead of first post attachment. Now resized the actual logo and finally no more headache.
 
Top Bottom