Added method get_infriends to the class

Signed-off-by: pnatani <en.pratibha@gmail.com>