Both oxygen and fluorine atoms are highly electronegative and have a very small size. Due to these properties, they are able to oxidise the metal to its highest oxidation state.
However, in case of oxoanions, oxygen is the oxidising agent which is capable to form multiple bond with metals whereas in metal fluorides, fluorine forms single bond with metals. This explains the superiority of oxygen as compare to fluorine.