checking generate token for fb