Through this part by part preparation of ente Facebook Analytics, I am trying to help you understand facebook SDK and API. Today we will know how to obtain the userid and locale of a facebook user using FB.api() from Javascript SDK. This is a straight approach without any complications.
Userid and locale are public information of an account. So we do not need an access token to obtain these values. For example, just visit https://graph.facebook.com/reachjoby to find my details. Our job is to extract needed userid and locale and display it.
Here goes the FB.api code which execute the graph api link for a specified userid and locale. Then assign the value to HTML DOM using jQuery.
FB.api('/'+userid,function(response){
$('#facebook-user-id').html(response.id);
$('#facebook-user-locale').html(response.locale);
});





hello joby, liked urblog…whant to know , is there any way to find real location or IP or country by gmail or gtalk or skype or facebook id from whr the oerson is using this, if they are actually faking their location and probably identity too???