window.fbAsyncInit = function() { // init the FB JS SDK FB.init({ appId : '129750940515416', // App ID from the App Dashboard channelUrl : '//https://www.consulteaqui.com/fb-channel.php', // Channel File for x-domain communication status : true, // check the login status upon init? cookie : true, // set sessions cookies to allow your server to access the session? xfbml : true // parse XFBML tags on this page? }); // Additional initialization code such as adding Event Listeners goes here }; // Load the SDK's source Asynchronously // Note that the debug version is being actively developed and might // contain some type checks that are overly strict. // Please report such bugs using the bugs tool. (function(d, debug){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all" + (debug ? "/debug" : "") + ".js"; ref.parentNode.insertBefore(js, ref); }(document, /*debug*/ false)); (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/pt_BR/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); window.___gcfg = { lang: 'pt-BR', parsetags: 'onload' }; !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); function fbLogin() { window.location.href = "https://www.facebook.com/dialog/oauth/?client_id=129750940515416&redirect_uri=https%3A%2F%2Fwww.consulteaqui.com%2Ffb-connect.php&scope=read_friendlists%2Cpublish_stream%2Ccreate_event%2Cuser_about_me%2Cuser_birthday%2Cuser_events%2Cuser_hometown%2Cuser_location%2Cuser_photos%2Cemail"; }