在我的网站上,有些人喜欢我,我有100个喜欢让我们说。 在我网站的Facebook页面上,我只有一个人喜欢我,因为他们都喜欢我的网站上的“喜欢”按钮。 我想合并这两个计数。每当有人在我的网站上按“喜欢”时,他也会自动喜欢我网站的脸书页面。
这可能吗?
答案 0 :(得分:0)
这是不可能的,可能的是让人们喜欢网站而不是页面网址
只需对网址进行硬编码:
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2example.com&layout=standard&show_faces=true&width=450&action=like&font&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
“http://example.com”是您的网址