Comments (3)
This -999 is an error generated from Apple's sdk. In an iPhone connect, especially when the network is slow, after the login web view is loaded and people input their user name and password, the user is tended to click multiple times of "Login" button therefore the -999 error would be generated. There were many discussions about how to handle this error in different places such as
http://www.iphonedevsdk.com/forum/iphone-sdk-development/6280-uiwebview-didfailloadwitherror-how-get-errors-code-list.html
In this case, the best way to handle is to ignore the error and continue wait for the page to be loaded.
You can see in the FBLoginDialog, I have ignore this error as
- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error {
if (!(([error.domain isEqualToString:@"NSURLErrorDomain"] && error.code == -999) ||
([error.domain isEqualToString:@"WebKitErrorDomain"] && error.code == 102))) {
[super webView:webView didFailLoadWithError:error];
if ([_loginDelegate respondsToSelector:@selector(fbDialogNotLogin:)]) {
[_loginDelegate fbDialogNotLogin:NO];
}
}
}
from facebook-ios-sdk.
it seems that, no matter of how long i am waiting nothing happens.
i also tried to run the test project in here with the same results, no facebook login.
can someone assist ?
Tamir
from facebook-ios-sdk.
same is happening to me and I have tried a number of times to login. I've also heard that this error is caused by people trying to login to an accoount that doesn't exist. But this isn't the case.
from facebook-ios-sdk.
Related Issues (20)
- I installed iOS SDK version 16.0.3 using the Swift Package Manager process, but when I checked on the Facebook developer account, it showed version 0.3.1. HOT 1
- Wrong version in SPM Xcode 15.3, latest release 17.0.0 but SPM package declares 14.1.0 HOT 9
- I want to updating Facebook SDK to 17.0.0 bug it is fail ,please update to 17.0.0 HOT 5
- The accessToken generated by SDK 17.0.0 is Invalid: `Invalid OAuth access token - Cannot parse access token ` HOT 22
- Missing header for objective c FBSDKApplicationDelegate.h missing
- Can't use FBSDKLogin using Swift Package Manager HOT 4
- [iOS] `AppLinkUtility.fetchDeferredAppLink` returns nil url in completion
- Don't show 'isAdvertiserTrackingEnabled' deprecation warning below iOS 17 HOT 5
- iOS Facebook SDK lost session regularly HOT 1
- Facebook SDK(dynamic) Validation Failed in Unity
- Facebook Login doesn't open the App when Installed HOT 5
- App switches to limited login. HOT 10
- Facebook SDK automatic app events logging with StoreKit2 HOT 2
- Static Framework as a swift package
- Access Token Expiration error HOT 1
- Build error with FBAudienceNetwork.xcframework: Signature cannot be verified HOT 2
- ld: symbol(s) not found for architecture arm64 (Flutter) HOT 5
- iOS SDK API does not work even after performing all requested actions
- Privacy manifests only included in release 17.0.0 with breaking changes HOT 12
- Xcode15.3: After updating SDKv17.0.0 through SPM, an error occurred while running the project: dyld [5199]: Library not loaded: @ rpath/FBSDKCoreKit. framework/FBSDKCoreKit, unable to start the application HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-ios-sdk.