parse friends data