Wired integers displayed instead of Friends List in facebook connect

0 views
Skip to first unread message

gganesh

unread,
Jun 12, 2009, 12:51:39 AM6/12/09
to Django users
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

Rajesh D

unread,
Jun 12, 2009, 2:18:45 PM6/12/09
to Django users
Since this is all Javascript code, Django is not the right group in
which to ask your question. Look for a Facebook API user group.

-RD
Reply all
Reply to author
Forward
0 new messages