清除 Open Graph Object Debugger 中特定域的所有 url 的抓取信息
Clear scrape information for all urls of a particular domain in Open Graph Object Debugger
问题始于总 like/share 计数 FindYogi Micromax Product page . Instead of showing the product page count, it actually showed the count of FindYogi Homepage。
我的理论是,很久以前产品页面 url 指向主页,因此它缓存了计数,因此显示了不正确的数据。(注意已修复)
从 Facebook Open Graph Debugger 获取 受影响的 urls 的新抓取信息后,like/share 计数得到纠正同样。
问题陈述:我有数百个 url 需要更正,所以有没有一种方法可以使用调试器为所有 urls 以某种自主方式,而不是手动地一个接一个地定位和更新它们。
您可以将其自动化,以下是它如何以 jQuery 为例:
$.post('https://graph.facebook.com', {
id: 'http://yourdomain.com/yoururl',
scrape: true
}, function(response) {
console.log(response);
});
只需使用 "id" 和 "scrape" 作为参数向图表 API 发出 POST 请求。当然你也可以在服务器端做。
问题始于总 like/share 计数 FindYogi Micromax Product page . Instead of showing the product page count, it actually showed the count of FindYogi Homepage。
我的理论是,很久以前产品页面 url 指向主页,因此它缓存了计数,因此显示了不正确的数据。(注意已修复)
从 Facebook Open Graph Debugger 获取 受影响的 urls 的新抓取信息后,like/share 计数得到纠正同样。
问题陈述:我有数百个 url 需要更正,所以有没有一种方法可以使用调试器为所有 urls 以某种自主方式,而不是手动地一个接一个地定位和更新它们。
您可以将其自动化,以下是它如何以 jQuery 为例:
$.post('https://graph.facebook.com', {
id: 'http://yourdomain.com/yoururl',
scrape: true
}, function(response) {
console.log(response);
});
只需使用 "id" 和 "scrape" 作为参数向图表 API 发出 POST 请求。当然你也可以在服务器端做。