开发者

Placing the like button of a fan page in the middle of a landing page

I wanted to know if it is possible to add the like button of a Facebook fan page(which is normally placed on the header of the page), as being embedded inside a landing page. I know I can make use of the like button generator given by Facebook http://developers.facebook.com/docs/reference/plugins/like/ , but I am after getting the like button of a fan page (which in reality is visually different than th开发者_开发技巧e like button that is generated at the above mentioned link). If indeed there is a way , please let me know. I welcome your suggestions.

Regards, Ghulam Mustafa Majal


You can place a like button to the Facebook Page inside the landing page by specifying the appropriate href or using the Like box (https://developers.facebook.com/docs/reference/plugins/like-box/). For example, this Like button likes the Facebook Platform Page and can be pasted directly inside an iframe on a Page Tab:

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=191014414294211&amp;xfbml=1"></script><fb:like href="http://www.facebook.com/platform" send="true" width="450" show_faces="true" font=""></fb:like>

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜