Advertisement
Guest User

Dar ponto/desconto ao compartilha no facebook

a guest
May 10th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.71 KB | None | 0 0
  1. <script>
  2. window.fbAsyncInit = function() {
  3.     FB.init({
  4.         appId : ‘413574989018068’,
  5.         xfbml : true,
  6.         version : ‘v2.9’
  7.     });
  8.  
  9. // ADD ADDITIONAL FACEBOOK CODE HERE
  10. };
  11.  
  12. (function(d, s, id){
  13.     var js, fjs = d.getElementsByTagName(s)[0];
  14.     if (d.getElementById(id)) {return;}
  15.     js = d.createElement(s); js.id = id;
  16. js.src = “//connect.facebook.net/en_US/sdk.js”;
  17. fjs.parentNode.insertBefore(js, fjs);
  18. }(document, ‘script’, ‘facebook-jssdk’));
  19. </script>
  20. <style>
  21. /*Facebook Invite Friends Button CSS http://www.makingdifferent.com*/
  22. .MD_fb_invite a{
  23.     font-family: ‘lucida grande’, tahoma, verdana, arial, sans-serif !important;
  24.     font-weight:bold !important;
  25.     font-size:12px !important;
  26.     width:150px !important;
  27.     border:solid #29447e 1px !important;
  28.     border-bottom:solid #29447e 1px !important;
  29.     cursor:pointer !important;
  30.     padding:6px 6px 6px 6px !important;
  31.     background-color:#5c75a9 !important;
  32.     border-top:solid #8a9cc2 1px !important;
  33.     text-align:center !important;
  34.     color:#fff !important;
  35.     text-decoration:none ! important;
  36. }
  37.  
  38. .MD_fb_invite a:active{
  39.     background-color:#4f6aa3 !important;
  40. }
  41. /*End CSS http://www.makingdifferent.com*/
  42. </style>
  43. <script src=//connect.facebook.net/en_US/all.js’></script>
  44. <script>
  45. FB.init({
  46.     appId:’413574989018068′,
  47.     cookie:true,
  48.     status:true,
  49.     xfbml:true
  50. });
  51. function FacebookInviteFriends()
  52. {
  53.     FB.ui({
  54.         method: ‘apprequests’,
  55.         message: ‘Venha conhecer um site que visitei e adorei’
  56.     });
  57. }
  58. </script>
  59. <div id=’fb-root’></div>
  60. <span class=’MD_fb_invite’>
  61.     Convide seus amigos a conhecer
  62. </span>
  63. <script type=text/javascript’>
  64. if (top.location!= self.location)
  65. {
  66.     top.location = self.location
  67. }
  68. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement