You will need to check for the installed
parameter, so something like
friends = facebook.users.getInfo(friends[0:], ['name', 'birthday','installed'])
for friend in friends:
if 'birthday' in friend:
if 'installed' in friend:
print friend