tschellenbach/Django-facebook — Issue #53: Return Registered and New Friends
Author: jonandkelly
Created: 2011-10-28 01:57:31+00:00
State: open

Hi,

The function that is supposed to return registered and new friends works for returning registered friends but then then new friends returns all of your Facebook friends and doesn't exclude the registered ones. After doing some digging I figured out it is because registered_ids come from facebook_id in the UserProfile which is an integer and f['id'] is a string so you are comparing an integer to a string and so it is never true that f['id'] is in registered_ids.

Also a question for you. I don't think the Facebook image in the UserProfile is getting uploaded. I couldn't find anywhere it was doing this in the code. Is it supposed to or am I supposed to do that?

Thanks,
Kelly