开发者

Facebook Like button pointing to the like.php script, rather than the page itself

开发者 https://www.devze.com 2023-02-17 06:11 出处:网络
<iframe src=\"http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.diacarbon.com%2Fblog%2F&a开发者_Go百科mp;amp;layout=button_count&amp;show_faces=false&amp;width=220&amp;acti
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.diacarbon.com%2Fblog%2F&a开发者_Go百科mp;amp;layout=button_count&amp;show_faces=false&amp;width=220&amp;action=like&amp;font=lucida+grande&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:220px; height:21px;" allowTransparency="true"></iframe>

Currently the page is at http://www.diacarbon.com/blog/

The "LIKE" button on the sidebar, for some reason, is pointing towards the facebook.com/plugins/like.php rather than the www.diacarbon.com/blog URL itself.

Everytime I "LIKE" it, on my Facebook I get an ugly "Jeff likes facebook.com/plugins/like.php...." type of messy URL on there.


Try the following:

  1. Use the XFBML version WITHOUT the href attribute
  2. Add the missing Open Graph meta tag og:title
  3. Run the site again over the URL Linter
0

精彩评论

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