No, that is impossible. You can´t use the username anymore, for privacy reasons. You only get a User ID by authorizing a User in your App. And you only get an App Scoped ID, not the real one.
Changelog: https://developers.facebook.com/docs/apps/changelog#v2_0
solved How to get user Id from username in facebook [closed]