Hello I am using k2 2.6.5 and using the integrated share button of facebook. But when I share something to facebook it shares a wrong image. Can someone help me solving the problem ?
13 years 7 months ago #111907
<meta property="og:image" content="<?php echo $this->item->image; ?>"/>Al wrote:I haven't tried this, but you can try adding this to the very top of item.php<meta property="og:image" content="<?php echo $this->item->image; ?>"/>
It will grab the article main image. The meta is part of Facebook Open Graph. Great tool developers.facebook.com/tools/debug
Log in or create an account to reply.