Giter Site home page Giter Site logo

Comments (5)

leddo avatar leddo commented on April 20, 2024

Yep, I've got the same issue today too.... I even went to my facebook account, deleted the app from the profile, and then tried it again. After accepting the requested permissions, I still get a nill returned for expirationDate in
(void)fbDialogLogin:(NSString *)token expirationDate:(NSDate *)expirationDate

Strange as I have been using this OK for a few weeks now without any major issues.

Chris

from facebook-ios-sdk.

nickbabenko avatar nickbabenko commented on April 20, 2024

Must be an issue with the Facebook API, I couldn't actually find any documentation of an expiration date being returned. It may also be due to the offline_access permission being request, no expiration being sent instead of zero.

For a temporary fix, I set expirationDate like:
NSDate *expirationDate = [NSDate distantFuture];

in - (void) dialogDidSucceed:(NSURL*)url - FBLoginDialog.h and commented out the rest of the expirationDate set.

from facebook-ios-sdk.

leddo avatar leddo commented on April 20, 2024

yep, and we are not alone: Seems like they have screwed something up and is causing issues for lots of people.
http://stackoverflow.com/questions/3675311/cant-get-user-info-from-facebook-w-oauth-2-0-for-iphone

from facebook-ios-sdk.

lshepard avatar lshepard commented on April 20, 2024

Thanks for the reports, we're working on this now.

from facebook-ios-sdk.

AlessioDiCienzo avatar AlessioDiCienzo commented on April 20, 2024

Hi!
Today this issue appears to me too, I've followed the instructions by nickbabenko in a previous comment, but it seems that it doesn't work for me.
I'm continuing to have the message:
"error The operation couldn’t be completed. (facebookErrDomain error 10000.)"

Is there another way to fix this? Because I can't go on with the developing of my app.
Thanks!

from facebook-ios-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.