What could be the solution to this problem, since the app id is in string.
You're probably using an invalid or already canceled AppID.
You need to go to the Facebook developer portal , check if the app you created within the portal, for your app of iOS, has the same AppID or not that you are using.
In the worst case, just create a new app in the portal.