开发者

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

开发者 https://www.devze.com 2023-03-27 07:25 出处:网络
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 beingembedded inside a landing page. I know I can make use of t

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

精彩评论

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