I think its fine to give and take some merit from a friend, because it is our choice to whom were going to give our merits especially if they deserve it most. Giving to friends is not a usual type of trading our merits to a friend so we can have it also in return. But if we just keep in mind that, she really had a quality post, he should have a merit as a reward no matter he is a friend of mine or not