A diplomatic row erupted on social media as France accused the US of aligning with authoritarian regimes following a UN vote, sparking widespread debate and criticism.