Facebook Like Button: Unify a Url & a Facebook Page

五迷三道 提交于 2019-12-25 14:24:59

问题


In Facebook docs it says:

Can I link the Like button to my Facebook page?
Yes. Simply specify the URL of your Facebook page in
the href parameter of the button.

My problem is that I don't want the Facebook page to be the target of the 'like'. So currently, the like button on my site attributes the likes to the root domain 'http://example.com/', which is what I want.

This has got many more likes than the facebook page 'http://facebook.com/examplecompage'

Is there a way to make the likes on my facebook page contribute towards the root domain likes?


回答1:



That is not possible, since they are treated as 2 different objects.
And just to clarify, the documentation on the Facebook developer site is referring to the Like button that you create to be displayed on your site, not the Like button you get on Facebook automatically when you create a page.



来源:https://stackoverflow.com/questions/12140842/facebook-like-button-unify-a-url-a-facebook-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!