How does the Facebook Like button work?

前端 未结 2 715
悲哀的现实
悲哀的现实 2020-12-04 20:36

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

相关标签:
2条回答
  • 2020-12-04 20:50

    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.

    0 讨论(0)
  • 2020-12-04 21:01

    I believe the Like button is using cookies to obtain your FB user information, that with additional attributes are then sent to a service endpoint.

    As for security measures, an obvious would be to allow requests only from websites with given access keys.

    0 讨论(0)
提交回复
热议问题