博客 Facebook“赞”不在饲料中
我尝试使用 JavaScript SDK/XFBML 和 iFrame 方法向我的博客网站添加 Facebook Like 按钮。
该按钮会出现并且可以工作,但通知永远不会显示在 Facebook News Feed 中,仅显示在个人资料中。
我使用哪种方法似乎并不重要,所以我一直在摆弄 iFrame。我尝试了这个,但仍然存在同样的问题——新闻提要中没有显示通知:
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/>
有人有建议吗?
I've tried adding a Facebook Like button to my blogger site using the JavaScript SDK/XFBML and the iFrame methods.
The button will show up and it will work, but the notification never shows up in the Facebook News Feed -- only in the individual profile.
It doesn't seem to matter which method I use, so I've been fiddling with the iFrame. I tried this, but still, same problem -- notification doesn't show up in news feed:
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/>
Anyone out there have suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Facebook 点赞按钮旨在仅向该人的朋友显示他们“喜欢”您的网站。这是对您网站声誉的认可。当一个“喜欢”您的网站的人的 Facebook 好友访问您的网站时,他们会看到(他们的 Facebook 好友的名字)“和 (x#) 就像
(您的网站名称)
The Facebook Like button is intended to only show the person's friends that they have 'liked' your site. It is an endorsement of reputation for your site. When a person who is a facebook friend of someone who 'liked' your site visits,then they will see (the name of their Facebook friend) 'and (x#) like
(name of your site)