Fractional Schrodinger-Poisson systems with a general subcritical or critical nonlinearity