喜欢和不喜欢的代码,就像我们在Facebook中进行评论一样

问题描述:

代码的喜欢和不喜欢,就像我们在facebook

code for like and dislike as we do for comment in facebook

您好,
您的问题令人困惑.如果您想在网站上嵌入一个Facebook Like按钮,则必须在Facebook上研究社交插件以获取开发人员资源.方法很简单:

Hi,
your question is confusing. If you like to embed a Facebook Like button within your web site, you''d have to study social plugins at Facebook for developers resource. The approach is fairly simple:

<html>
    <head>
      <title>My Great Web page</title>
    </head>
    <body>
       <iframe src="http://www.facebook.com/plugins/like.php?href=YOUR_URL"

        scrolling="no" frameborder="0"

        style="border:none; width:450px; height:80px"></iframe>
    </body>
 </html>



可以在此处 [



Details can be found here[^]
Regards