Gifts received from relatives are not charged to tax. Friend is not a relative as defined in the above list and hence, gift received from friends will be charged to tax (if other criteria of taxing gift are satisfied).
If Cash Gift received from friends exceeds Rs. 50,000/- in aggregate (i.e. all amounts given by friends during the whole previous year) then the entire amount would be chargeable to tax under section 56(2)(x). But if the cash received during the previous year in aggregate does not exceeds Rs. 50,000/- (i.e. upto 50,000/-) then no tax implications would happen.