Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Fri 27-Sep-13 - solution by http://MetadataConsulting.blogspot.ca */
- <script src="//connect.facebook.net/en_US/all.js"></script> /*not &xfbml=1*/
- <script>
- FB.init({
- appId : 'YOUR APP ID',
- status : false, // check login status
- cookie : true, // enable cookies to allow the server to access the session
- xfbml : true, // parse XFBML add it here
- oauth : true
- });
- (function(d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return;
- js = d.createElement(s); js.id = id; js.async = true;
- js.src = "//connect.facebook.net/en_US/all.js"; /* NOT "//connect.facebook.net/en_US/all.js#xfbml=1"; */
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));
- </script>
- email metadataconsult@gmail for rest of solution, want to know level interest in this. Thx, M.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement