westman Posted August 7, 2012 Share Posted August 7, 2012 hi all i put a facebook login on my site and its not working this is what i have... <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : 'YOUR_APP_ID', // App ID channelUrl : '//WWW.MY_DOMAIN.COM/channel.html', // Channel File status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); }; // Load the SDK Asynchronously (function(d){ 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.js"; ref.parentNode.insertBefore(js, ref); }(document)); </script><div class="fb-login-button" scope="email" data-show-faces="false" data-width="200" data-max-rows="1"></div> i put my appId in place and with channelUrl i put in the site page after login (user home page) is that right?plus how can i get facebook users info into php veribles? Link to comment Share on other sites More sharing options...
thescientist Posted August 7, 2012 Share Posted August 7, 2012 please only make one thread per topic. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now