How to implement the Facebook Like button on your site without using iframe and FBML?

I want to use the Like button on my site, but I don't want to use FBML and iframe. Is it possible to implement this button using simple HTML + JavaScript?

http://developers.facebook.com/docs/reference/plugins/like

+3
source share
2 answers

I don’t think there is any way to create a custom, non-iframe "Like" for a resource other than Facebook, because the object must first exist on Facebook in order to add an API through the API to it.

Facebook Graph API, , Facebook Connect. , , .

Facebook Connect, , http://graph.facebook.com/[objectid]/likes. .

+3

:

http://openlike.org/

:

<script type="text/javascript" src="http://openlike.org/v1/openlike.js"></script>
<script type="text/javascript">OPENLIKE.Widget()</script> 
0

Source: https://habr.com/ru/post/1742240/


All Articles