fix some error in get_user_friends

Signed-off-by: xiehuc <xiehuc@gmail.com>