query database by facebook id