How to get facebook user id after login
The mapping information is stored in the fb_user table in the database.

I'm not aware of any API functions the module provides for querying this data but I wouldn't be surprised if something exists.

If all you are doing is authentication I'd have a look at FBOauth module instead, it provides a similar table and makes the whole process a lot easier.