To unlock the Fence trophy in Borderlands: Game of the Year Edition, you can sell any weapons, grenades mods and shields that you don't require at the vending machines.
The 50 required is an accumulative total, so you don't have to sell them all to a specific vending machine. Any vending machine will do.