Hacker News new | comments | show | ask | jobs | submit login
Ask HN: How does Facebook prevent websites from clicking the "like" button?
7 points by photon_off 2792 days ago | hide | past | web | favorite | 1 comment
It seems like websites could just invoke the JS to "force" the user to click the like button, write a comment, etc. Anybody know how is this prevented?

Looks like there's a bunch of arbitrary session/key info in the IFRAME that the parent window can't predict/access.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact