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.