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.
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With