Facebook like button like wrong url

If I try to make facebook as a button to like the following URL:

http://go-style.co.uk/nggallery/page-7029/image/35/ 

Button like URL:

http://go-style.co.uk/test-gallery/

Does anyone know why this is happening? I ran through linter:

 http://developers.facebook.com/tools/linter 

but he seems to be of little help.

It drives me crazy! please, help!

Here is a typical button I tried that will not work:

 <iframe scrolling="no" frameborder="0" style="border: medium none; overflow: hidden; width: 80px; height: 21px;" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?href=http://go-style.co.uk/nggallery/page-7029/image/34/&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=lucida+grande&amp;colorscheme=light"></iframe> 
+4
source share
3 answers

After all, it was a facebook caching issue. Since it cached the URLs when I did them wrong, when I did them correctly, it displayed the old URL.

+3
source

Have you tried creating a link button with this tool ?

0
source

Just adding that for best results using the Facebook β€œLike” or β€œShare” buttons, you should use the Open Graph meta tags in your page headers. Good usage documents here: http://developers.facebook.com/docs/opengraph/

Example for your URL:

 <meta property="og:url" content="http://go-style.co.uk/nggallery/page-7029/image/35/"/> 
0
source

Source: https://habr.com/ru/post/1342141/


All Articles