Is there a simple URL string that Facebook will accept to \"like\" a site... or more accurately (as a commenter points out below), share a site? As a comparison, Twitte
There is a way how to do it, but not very comfortable for users, because they must click on 'like' button twice.
https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fexample.com%2F
http%3A%2F%2Fexample.com%2F
is url encoded version of http://example.com/
.
Or you can place this link into iframe
and then only one click is needed for liking of url