{"absolute_url": "https://maslow.snipt.net/simple-socialbar/", "blog_post": true, "code": "\n \n \n \n [...]\n \n \n \n \n \n\t\n\t\n
\n \n \n
\" data-send=\"false\" data-width=\"415\" data-show-faces=\"false\" data-font=\"arial\" data-action=\"recommend\">
\n \" href=\"https://twitter.com/share\" data-lang=\"fr\">Tweet\n
\" data-size=\"medium\">
\n
\n\n [...]\n\n \n\t\t\n\t\n\n\n", "created": "2013-02-22T07:25:42.497781", "description": "", "description_rendered": "", "embed_url": "https://snipt.net/embed/5ed06bce7cbfef1006b1a0076897845f/", "full_absolute_url": "https://maslow.snipt.net/simple-socialbar/", "id": 56223, "lexer": "php", "line_count": 31, "log_entries": [], "meta": null, "modified": "2017-01-01T09:14:44.155130", "publish_date": "2013-02-22T07:25:00", "raw_url": "/raw/5ed06bce7cbfef1006b1a0076897845f/", "resource_uri": "/api/public/snipt/56223/", "slug": "simple-socialbar", "stylized": "
 1\n 2\n 3\n 4\n 5\n 6\n 7\n 8\n 9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31
<html>\n    <head>\n        <style>\n            .social-bar { padding: 10px 0; }\n            .social-bar .social-btn { float: left; }\n        </style>\n        \n        [...]\n        \n        <!-- Facebook button -->\n        <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/fr_FR/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>\n        <!-- Twitter button -->\n        <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>\n\t</head>\n\t<body>\n        <div class="social-bar">\n            <?php $urlToShare = "http://michelparpaillon.com" ?>\n            \n            <div class="social-btn fb-like" data-href="<?php echo $urlToShare ?>" data-send="false" data-width="415" data-show-faces="false" data-font="arial" data-action="recommend"></div>\n            <a class="social-btn twitter-share-button" data-url="<?php echo $urlToShare ?>" href="https://twitter.com/share"  data-lang="fr">Tweet</a>\n            <div class="social-btn g-plusone" data-href="<?php echo $urlToShare ?>" data-size="medium"></div>\n        </div>\n\n        [...]\n\n        <!-- Google plus button, juste before </body> tag -->\n\t\t<script type="text/javascript">window.___gcfg = {lang: 'fr'};(function(){var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;po.src='https://apis.google.com/js/plusone.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);})();</script>\n\t</body>\n</html>\n\n<!-- All buttons can be configured as needed on each developper interface, ex: http://developers.facebook.com/docs/reference/plugins/like/ -->\n
\n
", "tags": [{"absolute_url": "/public/tag/facebook/", "id": 321, "name": "facebook", "resource_uri": "/api/public/tag/321/", "snipts": "/api/public/snipt/?tag=321"}, {"absolute_url": "/public/tag/twitter/", "id": 342, "name": "twitter", "resource_uri": "/api/public/tag/342/", "snipts": "/api/public/snipt/?tag=342"}, {"absolute_url": "/public/tag/social/", "id": 527, "name": "social", "resource_uri": "/api/public/tag/527/", "snipts": "/api/public/snipt/?tag=527"}, {"absolute_url": "/public/tag/like/", "id": 5241, "name": "like", "resource_uri": "/api/public/tag/5241/", "snipts": "/api/public/snipt/?tag=5241"}, {"absolute_url": "/public/tag/gplus/", "id": 37248, "name": "gplus", "resource_uri": "/api/public/tag/37248/", "snipts": "/api/public/snipt/?tag=37248"}, {"absolute_url": "/public/tag/recommend/", "id": 37249, "name": "recommend", "resource_uri": "/api/public/tag/37249/", "snipts": "/api/public/snipt/?tag=37249"}], "title": "Simple socialbar", "user": {"absolute_url": "/maslow/", "email_md5": "ce009ffffb0f2f76a2d0914168dc699d", "id": 11049, "resource_uri": "/api/public/user/11049/", "snipts": "/api/public/snipt/?user=11049", "snipts_count": 118, "username": "maslow"}}