I am using Wordpress and a strenge thing is happening. I have shared a link earlier which has a different image now after the image changed The facebook is taking the same previous image when it shared. Let me tell you what procedure I have tried
Head Section
<meta property="og:title" content="<?php echo $blogArray['post_heading'];?>" />
<meta property="og:type" content="article" />
<meta property="og:image" content="<?php echo $blogArray['image_url'];?>" />
<meta property="og:url" content="<?php echo site_url().'?page_id=3205&id='.base64_encode($blogArray['ID']);?>" />
<meta property="og:description" content="<?php echo $blogArray['post_sort_details'];?>" />
And HTML
http://www.facebook.com/sharer.php?s=100;&p[title]=<?php echo $blogArray['post_heading'];?>&p[summary]=<?php echo $blogArray['post_sort_details'];?>&p[url]=<?php echo 'http://'.str_replace('http://','',str_replace('www.','',site_url()));?>/?p=<?php echo $blogArray['share_post_id'];?>&p[images][0]=<?php echo $blogArray['image_url'];?>" target="_blank"><img src="<?php bloginfo('template_url');?>/images/fb_static.png" border="0" class="fb" title="Share via Facebook" width="24" height="24" /></a>
But when I am trying from the same site on a beta folder it is coming absolutely fine.
I am attaching screenshots with this.
What I want to share
What is getting shared from the Main Site
What is getting shared from the Beta site and the right one
I have seen once a post is shared on the facebook. Facebook keep the images and text to their cache and even on changing images and the texts, facebook share keeps the previous identity. That is the main thing I am facing and want to solve by reloading Facebook cache with current text and image after share.