hi,
My app connects to Facebook and as user logins in with facebook
connect ,i intent to display users friends list .I the process of
doing so i have written a code as pasted below
<script type="text/javascript" src="http://
static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"></
script>
<script type="text/javascript">
FB_RequireFeatures(["XFBML"],function()
{
FB.Facebook.init
("2654d333c10576bae931ba210f288314","xd_receiver.htm");
FB.Facebook.get_sessionState().waitUntilReady(function()
{
FB.Facebook.apiClient.friends_get(null,function(result,ex){
window.alert("friends list :" + result);
});
});
});
</script>
I was expecting friends list in "result" variable ,but it found to be
some wired integer ,Where I went wrong ?,Any suggestions are
appreciable