Comments (11)
The error with FBDialog stream publish are usually related to the cookie. You are log into touch.facebook.com, is that correct?
I Notice that if I use another device login into touch.facebook.com. and then login into the app with the sdk. I refresh on touch.facebook.com, the touch site is logged out also. It should be some bug in the server side that does not handle the touch site cookie well, I will investigate on that and keep you posted.
from facebook-ios-sdk.
Actually I tested connecting to the regular Facebook in a browser, but I guess that it also occurs with the touch.facebook.com you mention, so the problem can also arise, when for example I'm running my app in my iphone, leave it, go to another app that also uses FB, and log in there...
Thanks!
from facebook-ios-sdk.
Actually, there is security reason for this design. When you login in to new place the old cookie get invalid , so that the mobile cookie can be valid at only one place with the assumption one user has only one cookie. But for iphone, as different app's web view does not share the cookie. this is a problematic. I will see if we can change on the server side. Thanks
from facebook-ios-sdk.
The other solution might be to detect this error, and ask the user to re-login. The only problem with this approach is that I noticed that FBDialogDelegate's dialog:didFailWithError: methods gets called only after the user has clicked the Ok button in the dialog. Also this method doesn't get called when closing the dialog with the 'x' at the top.
Any suggestions as to how should I handle this error?
Thanks!
from facebook-ios-sdk.
For close dialg with 'x', the delegate dialogDidNotCompleteWithUrl will be called. As for judge if the dialog complete succeed or not. For judge if astream publish dialog go through successfully, you would need to check if a parameter post_id is appended to the url.
Though this way may tentatively make it look better, it is still not desirable as we do not want user to login frequently especially when the switch between facebook connect apps. So the best fix should be on the server side.
from facebook-ios-sdk.
Any news about this? I´m also having this issue and users are complaining about those errors :(
Which solution have you guys developed for this problem in your own apps?
from facebook-ios-sdk.
We currently have a change to address this issue but still under review. will let you know once the change go out
from facebook-ios-sdk.
This is exactly the same error i get..
am also looking for some sort of solution..
do any one have a fix for this.
from facebook-ios-sdk.
I'm getting the same problem at times. It seems doing an explicit logout before login resolves the issue, but seems like a bad overall solution. Thoughts?
from facebook-ios-sdk.
I have the same error always when trying to open the dialog to publish an stream. I've tried to do a logout before but didn't work. This is happening also on the Demo Application. What is the solution for this error?
from facebook-ios-sdk.
Also seeing this using SSO with the facebook application on the phone and its also not working, I am getting the 110 error. This happens on the simulator and the device. It is working on the 3.2 ipad simulator but this does not use SSO.
from facebook-ios-sdk.
Related Issues (20)
- Not able to add facebook-ios-sdk
- Sharing photos to Facebook doesn't work HOT 1
- Invalid bundle structure - Error when validating app in Xcode HOT 1
- Crash on Xcode 15 with iOS 14 HOT 4
- Crashed FBSDKViewHierarchy.m [FBSDKViewHierarchy recursiveGetLabelsFromView:]
- v16.2.0 has not updated the remote binary url for the remote target from v16.1.3 HOT 2
- Reference links at https://developers.facebook.com/docs/ios/reference_obj-c not working (404 or white pages)
- Crash on iOS 13 when archive using Facebook SDK version 16.2.0
- Facebook app is crashing when opened by ShareDialog using sdk 16.2.0 or 16.2.1 HOT 1
- App is crashing with issue [FBSDKBasicUtility _convertObjectToJSONObject:invalidObjectHandler:stop:]
- Facbook iOS Crash on iOS 14.7.1 HOT 2
- Share Photo to Facebook Not working | Copy pasting in "Share something about this photo..."
- Maruf Hossen
- SharingDelegate receives didCompleteWithResults callback if sharing is aborted in native mode
- Latest FBAudienceNetwork podspec is excluding the arm64 arch for simulators HOT 3
- Your app is out of date. To run your app on iOS 14, update to the latest Facebook SDK for iOS. HOT 5
- Not log in HOT 2
- `UIApplication.shared.open(url:)` handled by `FBSDKInternalURLOpener` starting with `15.0.0`
- The app does not return to the previous state after logging in on the Facebook app login screen. HOT 1
- Vision OS Support
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.