views:

250

answers:

1

hi, I am trying to get status msg of the user in my facebook app. But getting error in loading page.

here is the code:

user, created = FacebookUser.objects.get_or_create(id = request.facebook.uid)

key = request.facebook.session_key
some = request.facebook.friends.get()

status_msg = request.facebook.status.get(request.facebook.uid)
friend_list =[]
for friends_uid in some:
    fri_user = request.facebook.users.getInfo([friends_uid], ['first_name'])[0]['first_name']
    friend_list.append(fri_user)

I am trying to play around with facebook api. but getting page loader error.

What am I doing wrong here. How can I fix this problem.

Thanks.

A: 

ok i fixed it.I was making mistake.

can you please answer your question with your fix?
marcog
This is not a useful answer. Please delete it.
S.Lott