I am trying to determine whether a visitor has clicked the 'Like' button on my page. Here is the code I am currently using:
<fb:like href="[my_url]" layout="button_count" show_faces="false" width="20" font=""></fb:like>
I have also included the necessary script from Facebook. I know that I can utilize the following:
FB.Event.subscribe('edge.create', function(response) {
//if the user clicks on Like
}
However, my concern is how to detect if the user has already Liked my site. I would like to avoid triggering the aforementioned event if the user has already liked the page and then attempts to like it again.