In this paper, we firstly give a general integral identity for once differentiable mapping involving Hadamard fractional integrals. Secondly, we use this integral identity to derive some new generalization of fractional Hermite--Hadamard inequalities through $GA$-convex functions via power means and integrals $GG$-convex functions via power means. Some applications to special means of real numbers are given.