From My technical interests.
I’d like to how to work Facebook ‘Like’ button?
are there any security risk?
for example:
-Someone push my like button.
–if I ‘m stolen my cookies
If there is a blog that detailed explanation
Could I have the URL?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is always a security risk involved in letting in Javascript from other domains (from the viewpoint of the user and third-party site provider), although that risk is somewhat minized if you serve your button inside an
<iframe>on a separate API-like subdomain. That prevents parent Javascript code access to the contents of the frame and vice-versa. Basically, from the inside of the<iframe>you can only access the URL property of the parent page (and some other minor parameters).