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)
- 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 4
- 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 9
- 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
- unity sdk 17.0.0 how date update ?
- App is live but only approved testers can login (using limited login on 17.0.0) HOT 5
- Limited Login Failed on iOS 17 HOT 1
- Facebook Login using SDK 17.0.0 always displays a limited login warning HOT 2
- Warning Issue with FBAudienceNetwork 6.15.0 Upgrade via Cocoapods HOT 1
- m.facebook.com
- apps.microsoft.com
- Get wrong first name from `Profile.current?.firstName`
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.