开发者

Facebook Open Graph OG: Meta Tags - Works only sometimes?

开发者 https://www.devze.com 2023-04-07 04:26 出处:网络
I have a like button on my site, i have defined all the og: meta tags and its works for most of most pages, but doesnt for 2 开发者_运维知识库other pages. Its using a template so its exactly the same

I have a like button on my site, i have defined all the og: meta tags and its works for most of most pages, but doesnt for 2 开发者_运维知识库other pages. Its using a template so its exactly the same code, how can it work for some but not all pages?

For the pages it doesnt work, it doesnt pick up the title, image, link or description, basically any of the meta tags information.

Working like button.... http://www.imoffonholiday.com/holiday.php?id=des_home&destination=faliraki

Not working Like button http://www.imoffonholiday.com/holiday.php?id=des_home&destination=ayianapa

Any ideas?


One usual problem is caching. If you were testing and at some point had the wrong data in the metatags facebook will cache that info.

One simple wat to test if it is a caching issue is to add a random param at the end of the URL. so www.yourpage.com/index.php?cacheBust=1


Running the Facebook Debugger often clears those kind of things up. It appears to refresh the FB cache when you do.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号