You need to remove your own code (account set) and use the latest Facebook SDK. this will work.
If you only used the Account Kit for login, you need to give a new app update in the AppStore, since there is now a login option in iOS 11.
Ref Blog
source
to share