Link web page, Facebook Like button, and Facebook fan page?
Is this possible?
When s开发者_开发知识库omeone 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!
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:
- Have two Like buttons, one for the current page and one for the Facebook Page
- Place the Like button of your Facebook Page in a "visible" location (e.g. on top of the sidebar)
- Capture the like event of your current page (with
edge.create
) - Encourage the user to "Become a Fan on Facebook too" whenever they like your current page.
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.
精彩评论