added api functions for friends/ids and friends/list