Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does the Facebook Like button work?

Tags:

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.

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.

like image 225
Brad Wright Avatar asked Nov 24 '11 11:11

Brad Wright


People also ask

What happens when you push the like button on Facebook?

Clicking Like below a post on Facebook is a way to let people know that you enjoy it without leaving a comment. Just like a comment, anyone who can see the post can see that you liked it. For example, if you click Like below a friend's video: People who can see the video will be able to see that you liked it.

What is the purpose of the like button?

A like button, like option, or recommend button, is a feature in communication software such as social networking services, Internet forums, news websites and blogs where the user can express that they like, enjoy or support certain content.

What are the different Like buttons on Facebook?

Like – Facebook designed Reactions so Liking is still as easy ever. You'll see the Like button on every post, but now if you tap and hold on it (or hover on desktop), the Like will expand to reveal the other emotions: Love, Haha, Wow, Sad, and Angry. Drag your finger across and you can select one.

Does Facebook notify you when someone likes your post?

The Facebook user won't be notified that you unliked their photo, but what about when you liked it? Well, everything depends on timing. If you liked and then unliked the Facebook post while that person was online at that moment, then there's a great chance they saw it.


1 Answers

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.

like image 177
Nathan Avatar answered Sep 22 '22 15:09

Nathan