wordpress - How to Clear Facebook Cache while sharing Image and text -


I am using Wordpress and talking a staircase. I have shared a link in the past, in which now the image has a different image, when Facebook shares it is taking the same image. I'll tell you what process I've tried

 & meta property = "og: title" content = "& lt; php echo $ blogArray [' Post_heading '];?? "/ & Gt; & Lt; Meta Property = "OG: Type" content = "Article" /> & Lt; Meta Property = "OG: Image" content = "& lt ;? php echo $ blogArray ['image_url'] ;? & gt;" / & Gt; & Lt; Meta Property = "OG: url" content = "& lt ;? php echo site_url (). '? Page_id = 3205 & ID ='. Base64_encode ($ blogArray ['id']) ;;>" / & Gt; & Lt; Meta Property = "OG: Description" content = "& lt ;? php echo $ blog array ['post_sort_details'] ;? & gt;" / & Gt;  

and HTML

  http://www.facebook.com/sharer.php?s=100;&p [title] = & Lt ;? Php echo $ blogArray ['post_heading'] ;? & Gt; & Amp; Amp; P [summary] = & lt ;? Php echo $ blog array ['post_sort_details'] ;? & Gt; & Amp; P [url] = & lt ;? Php echo 'http: //'.str_replace (' http: // ',' ', str_replace (' www., '', Site_url ())) ;? & Gt; /? P = & lt;? Php echo $ blogArray ['share_post_id'] ;? & Gt; And [pd] [images] [0] = & lt ;? Php echo $ blogArray ['image_url'] ;? & Gt; "Target =" _ blank "& gt; & lt; 'Share via Facebook' width =" 24 "height =" 24 "height =" 24 "height =" 0 "square =" FB "title =" Facebook's Share via Media "" 24 "/>  

But when I'm trying on the beta folder from the same site then it's all right .

I am enclosing a screenshot with it.

What I do Want to share what i want to share

What's happening is shared from the main site

Beta site and what is being shared with the right one

I once used Facebook Posted on the post. Facebook keeps images and text in its cache and even changes the images and texts, Facebook shares keep the previous identities, which is the main thing Facebook may include cash with'm experiencing and sharing text and image I want to solve the load again.

itemprop = "text">

林果 皞 Correct you can refresh cash by Facebook's debugger tool. Simply enter the URL on the debugger tool you are sharing.

You can also use this script on the site as you do not have to go to the debugger tool and manually refresh the page. Automatically refresh Facebook page with following code.

  $ Post ('https://graph.facebook.com', {id: '[pAGE_URL]', scrape: true}, function (feedback) {console.log (response);});  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -