Comments (16)
We make a server side change to address http://github.com/facebook/facebook-ios-sdk/issues/#issue/5 which will take a persistent cookie instead of the session only one. So after you clear cookie and login again, everything is fine, right?
from facebook-ios-sdk.
Just for that session, when I quit the app and restart it logs me in but doesn't let me access the pages.
I have an app in queue at Apple now using this, it would be completely horrible if it goes through the review and is broken at release.
from facebook-ios-sdk.
Please please please fix this. :(
from facebook-ios-sdk.
you mean www.facebook.com? As we change to use persistent cookie which is actually mobile cookie, you would need to go m.facebook.com or touch.facebook.com...
from facebook-ios-sdk.
Yes, the main site. The entire app relays on using the main site and not m. or touch.
PLEASE change this back. :(
The app has been in queue for 2 weeks now, even if there was some way for me to fix this in my own code I would go back at the end of the queue again.
from facebook-ios-sdk.
Oh and I do seem to get the cookie for the main site the first time, it's only on subsequent sessions that it doesn't work.
from facebook-ios-sdk.
Yes, the main site accept the session-only cookie and this cookie should not be persistent. so when you first log on it is there. For mobile app, we should always use mobile cookie which is persistent and prevent user from login again and again.
from facebook-ios-sdk.
Ok. Short and sweet. How do we solve this now?
My entire business is dependent on this app going through, and the almost 2 week wait has been rough enough. To reject the binary now, or release a broken app would basically ruin us.
We based the entire system on the current Graph API and the framework here, and now it just changed under our feet.
How can we solve this?
from facebook-ios-sdk.
You get the cookie for the first time but not for 2nd time, this behavior is never changed. I am not sure what is broke here. Did you save the cookie and reset it?
from facebook-ios-sdk.
Not manually no, but it is saved automatically in the sharedHTTPCookieStorage. Again, this has worked perfectly up until this morning.
from facebook-ios-sdk.
I do not think the main site cookie is preserved. see http://github.com/facebook/facebook-ios-sdk/issues#issue/5 the session only cookie is not kept for the next time. Basically for the first time you query sharedHTTPCookieStorage and see all the cookies, for the 2nd time, without login, those session-only cookie would not be there. This is always the case...
I need to know more about how you use the sdk. You call authorize and then load www.facebook.com ? The best way is to let the user login everytime the app start or change to use m site if you want persistent cookie
from facebook-ios-sdk.
Basically every time I start the app I have to run authorize:permissions:delegate: on the Facebook object, which pops up the dialog but you don't have to login again. Now this still happens, but after the dialog has disappeared and the app tells me it's logged in through the fbDidLogin delegate then it's still not logged in for the main site. That is what changed. It used to be logged in to the main site even after not having to type in the username and password.
from facebook-ios-sdk.
I just tested here and I get the same problem with touch.facebook.com now.
from facebook-ios-sdk.
you can put a break point at the place you load www.facebook.com or touch.facebook.com and read the cookie from sharedHTTPCookieStorage and see what cookie is there
from facebook-ios-sdk.
I emailed you the cookies.
from facebook-ios-sdk.
ping. I am having the same issue. Is there any solution for a persistent cookie?
from facebook-ios-sdk.
Related Issues (20)
- Facebook Login: Invalid Scopes: openid HOT 2
- Login interface abnormal when Facebook is not installed(iPad Pro 2020,iOS 13.7)
- GraphRequest.start { connection, result, error } doesn't complete after the app is deauthorized from account
- How to make App Events work in Events Manager. IOS 14.5+
- `FacebookCore` crashes at runtime when updating Facebook SDK from `14.1.0` to `16.3.1` HOT 1
- Facebook SDK: 'DEBUG' is not defined, evaluates to 0/Could not build module 'FBSDKCoreKit'
- There is no button in the Facebook login web view that can be used to jump to the FB client to complete the login
- FBAudienceNetworkLog spamming
- error: redefinition of 'FBSDKCoreError'
- App Hanging inside FBSDKTimeSpentData suspendTimeSpentData HOT 1
- isAutoLogAppEventsEnabled
- Share not suc in iOS 13.6
- Xcode 15.3 and App Store Connect Issue HOT 134
- Merge Facebook Terminal (Microsoft)
- iPad login authorization interface error
- My project code is written in object-c, and the sdk version is 16.2.1. I can run it on a real machine, but when I use the simulator, I get an error, and FBAEMReporter prompts #error unsupported Swift architecture
- Purchase event got ineligible for Meta AEM without any changes in the app HOT 2
- 'GitHub' Android Mobile Device
- 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
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.