Link web page, Facebook Like button, and Facebook fan page?

早过忘川 提交于 2019-12-09 11:28:06

问题


Is this possible?

  • When someone clicks a Facebook Like button, he/she shares the web page URL with friends on Facebook.

  • With the same click, the user also becomes a fan of the web site's Facebook fan page.

Thanks!


回答1:


See this link on Facebook's developer site.

This will do all the points 1 and 3 you mentioned above. As far as point 2 goes, you will need to reference that on your facebook page.




回答2:


While adding a Like button on your website to like you "Facebook Page" is possible (and I guess you know that), you can't use the same button to like multiple entities (your current page and the Facebook Page).

What you can do is:

  1. Have two Like buttons, one for the current page and one for the Facebook Page
  2. Place the Like button of your Facebook Page in a "visible" location (e.g. on top of the sidebar)
  3. Capture the like event of your current page (with edge.create)
  4. Encourage the user to "Become a Fan on Facebook too" whenever they like your current page.


来源:https://stackoverflow.com/questions/5846716/link-web-page-facebook-like-button-and-facebook-fan-page

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