Thanks for your response. Yes, thats exactly what it does. I just don't know exactly what to do from here. Could you please show me?
Here is what I have so far.... I just dont know how to grab the data. I could really use the help if you/someone has the time.
<body onload="onReady()">
<div id="fb-root" style="display: none;"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '<myIDHere>', // App ID
channelUrl : 'pages_fb/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
});
// Additional initialization code here
fbApiInit = true; //init flag
};
// 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));
// listen for and handle auth.statusChange events
FB.Event.subscribe('auth.statusChange', function(response) {
if (response.authResponse) {
// user has auth'd your app and is logged into Facebook
FB.api('/me', function(me){
if (me.name) {
document.getElementById('auth-displayname').innerHTML = me.name;
}
})
document.getElementById('auth-loggedout').style.display = 'none';
document.getElementById('auth-loggedin').style.display = 'block';
} else {
// user has not auth'd your app, or is not logged into Facebook
document.getElementById('auth-loggedout').style.display = 'block';
document.getElementById('auth-loggedin').style.display = 'none';
}
});
FB.Event.subscribe('auth.login', function(response) {
FB.api('/me', function(response) {
alert("[doc] > Yes, " + response.name + " is logged in!");
});
});
</script>
<div id="auth-status">
<div id="auth-loggedout">
<a href="#" id="auth-loginlink">Login</a>
</div>
<div id="auth-loggedin" style="display:none">
Hi, <span id="auth-displayname"></span>
(<a href="#" id="auth-logoutlink">logout</a>)
</div>
</div>
<button onclick="login()">Login</button>
<div id="tiny">
<h3>Help</h3>
</div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript" src="js_global/social/facebook/fbCommon.js"></script>
</body>