As far as i know, you can use facebook api to save their profile then save their score, level, etc to an array then save it to firebase. So if they logged in to facebook, they can load their array depends on value they have by request at firebase. And you need to setting the permission on firebase so players can write and read their own array there.