Giter Site home page Giter Site logo

flutter_facebook_login_web's Issues

[Question] What does facebookSignIn.testApi(); do?

Hello contributor,
Thanks for awesome lib. First I know this is a newbie question. But I wanted to know what does
facebookSignIn.testApi(); do? I looked in the API documentation but no description.

Thanks in advance.

Type Error when trying to login

Here's the error log when i tried to login using:

final FacebookLoginResult result = await facebookSignIn.logIn(['email']);
Error: Expected a value of type 'Map<String, dynamic>', but got one of type 'LinkedMap<dynamic, dynamic>'
    at Object.throw_ [as throw] (http://localhost:60059/dart_sdk.js:4322:11)
    at Object.castError (http://localhost:60059/dart_sdk.js:4293:15)
    at Object.cast [as as] (http://localhost:60059/dart_sdk.js:4609:17)
    at dart.LegacyType.new.as (http://localhost:60059/dart_sdk.js:6151:60)
    at logIn (http://localhost:60059/packages/flutter_facebook_login_web/flutter_facebook_login_web.dart.lib.js:87:94)
    at logIn.next (<anonymous>)
    at http://localhost:60059/dart_sdk.js:37211:33
    at _RootZone.runUnary (http://localhost:60059/dart_sdk.js:37065:58)
    at _FutureListener.thenAwait.handleValue (http://localhost:60059/dart_sdk.js:32049:29)
    at handleValueCallback (http://localhost:60059/dart_sdk.js:32596:49)
    at Function._propagateToListeners (http://localhost:60059/dart_sdk.js:32634:17)
    at _Future.new.[_completeWithValue] (http://localhost:60059/dart_sdk.js:32477:23)
    at async._AsyncCallbackEntry.new.callback (http://localhost:60059/dart_sdk.js:32499:35)
    at Object._microtaskLoop (http://localhost:60059/dart_sdk.js:37326:13)
    at _startMicrotaskLoop (http://localhost:60059/dart_sdk.js:37332:13)
    at http://localhost:60059/dart_sdk.js:32851:9

Host web_interop.js on our own server

Thank you for your work on this package. Can we host the web_interop.js file on our own server? Are there any additional configuration changes needed for this other than changing the file URL?

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.