I have a voting thing on my site. I also attach the facebook like plugin to the page. For the user to up-vote, they need to be logged in with facebook-connect. So what I want is when the user clicks up-vote, they automatically like the page.
I have a voting thing on my site. I also attach the facebook like
Share
The Facebook “Like” buttons are embedded using an iframe from their domain. For a variety of cross-domain reasons you will not be able to communicate with the iframe in order to send a
clickevent to the iframe.This is intentional, and Facebook would not allow you to do this as it’s essentially a spamming technique.