Is there a simple Facebook “Like” or share URL?

后端 未结 6 1841
一整个雨季
一整个雨季 2021-02-09 09:36

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

6条回答
  •  青春惊慌失措
    2021-02-09 09:45

    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

提交回复
热议问题