Last active
August 29, 2015 14:26
-
-
Save wowkin2/e90cb6a6ffc68ab1fae2 to your computer and use it in GitHub Desktop.
Comments in your WebSite from here: http://spodaryk.pp.ua/post/18/blog-social-comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="disqus_thread"></div> | |
<script type="text/javascript"> | |
/* * * CONFIGURATION VARIABLES * * */ | |
var disqus_shortname = '<your app name>'; | |
/* * * DON'T EDIT BELOW THIS LINE * * */ | |
(function() { | |
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | |
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; | |
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | |
})(); | |
</script> | |
<noscript> | |
Please enable JavaScript to view the | |
<a href="https://disqus.com/?ref_noscript" rel="nofollow"> | |
comments powered by Disqus. | |
</a> | |
</noscript> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="fb-root"></div> | |
<script>(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); js.id = id; | |
js.src = "//connect.facebook.net/uk_UA/sdk.js#xfbml=1&version=v2.4&appId=<your app id>"; | |
fjs.parentNode.insertBefore(js, fjs); | |
}(document, 'script', 'facebook-jssdk'));</script> | |
<div class="fb-comments" data-href="<root url here>" data-numposts="5"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Put this script tag to the <head> of your page --> | |
<script type="text/javascript" src="//vk.com/js/api/openapi.js?116"></script> | |
<script type="text/javascript"> | |
VK.init({apiId: <your app id>, onlyWidgets: true}); | |
</script> | |
<!-- Put this div tag to the place, where the Comments block will be --> | |
<div id="vk_comments"></div> | |
<script type="text/javascript"> | |
VK.Widgets.Comments("vk_comments", {limit: 10, width: "665", attach: false}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment