Facebook Like按钮如何工作? [英] How does the Facebook Like button work?

查看:158
本文介绍了Facebook Like按钮如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想提供一个简单的Javascript(或一个iframe,我猜),允许第三方从我的网站嵌入功能。所述小部件的用户将在我们的网站上进行身份验证 - 因此基本上Facebook Like按钮或Facebook Connect是我能找到的最接近的例子。

I want to provide a simple piece of Javascript (or an iframe, I guess) that allows 3rd parties to embed functionality from my site in theirs. The user of said widget will be authenticated on our site already - so basically the Facebook Like button, or Facebook Connect, are the closest examples I could find.

由于Facebook已经几个不同的按钮,我很难准确地了解他们在做什么。有没有一个简洁的(和技术 - 我是一个开发人员,想要建立自己的小部件)解释在某个地方?我特别关注所涉及的安全问题。

Since Facebook has a few different buttons I'm struggling to understand exactly what they're doing though. Is there a succinct (and technical - I'm a developer and want to build my own widget) explanation somewhere? I'm particularly focused on the security issues involved.

推荐答案

这里是对Facebook的按钮和这里是关于如何构建Web窗口小部件的教程。最后,这里是关于Web小部件安全性的讨论。

Here is a brief explanation of the facebook 'like' button and here is a tutorial on how to build a web widget. Finally here is a discussion on the security of web widgets.

这篇关于Facebook Like按钮如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆