When I clicked on loginWithFacebook button, I'm getting this error,
The operation couldn’t be completed. (com.facebook.sdk.login error 301.)
There is no much information regarding what is this error code 301 means. Any suggestions or info regrading this greatly appreciated.
Note: This one is not getting in iPhone, specifically when I run on iPAD. Don't know why.
I got to know what causes this error. Even though it's funny error, it's good to know about this. The device which I'm running on has no browser to use. So facebook wants to open url in browser and it's failed to do so. That gave me error with facebookSDK.Login.Error.code: 301.
You can resolve this by setting FBSDKLoginManager.loginBehaviour to required behaviour(Browser, Web or App).