[Solved] Trigger a Facebook like button when the page loads [closed]
You can’t. Clicking on the <fb:like> element has no effect because it’s just a container. The actual clickable “like” button is loaded in an <iframe> inside of it. Because this iframe is loaded from facebook.com, the same origin policy prevents you from accessing its contents (including the link you want) unless you are also on … Read more