You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
541 B

  1. <script>
  2. window.fbAsyncInit = function() {
  3. FB.init({
  4. appId : '<?= Config::$fbClientID ?>',
  5. xfbml : true,
  6. version : 'v2.2'
  7. });
  8. if(window.quillFbInit) {
  9. window.quillFbInit();
  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>