I'm talking about completely general forces. These can depend in an arbitrary way on the configuration of the system, ie, positions and velocities of all particles (for example, this would apply to the Lorentz force, which is velocity dependent). It might be true that the force depends only on position, or that it is directed along the line between the particles, but it isn't necessary to assume this for either my example or the thing you're meant to prove.
The only assumption is that whatever symmetries the configuration has, the forces must also have. Because if there was some transformation that left the system the same as it was but changed the forces, you'd have two identical configurations to which you're assigning different forces.
In my example, if the particles are at rest (or more generally, moving along the line connecting them), the system can be rotated around the line connecting them without changing anything. Unless the forces are also directed along this line, such a rotation would change them, which isn't allowed.
As a hint, the relevant symmetry to your problem will be reflection through the plane the particles are moving in.