alexpalchikovskiy / nativescript-facebook-vue-example Goto Github PK
View Code? Open in Web Editor NEWNativescript-facebook plugin with nativescript-vue example
Nativescript-facebook plugin with nativescript-vue example
I keep getting an error message "Not Logged In: You are not logged in. Please login and try again" and I think it's related to the Client OAuth Settings in the Facebook App Dashboard, could you post how you configured yours?
Do you setup the application as Android/iOS or as Web? This may be a good step to add to instructions
Hello,
I've been trying to setup facebook login like in the example for android, but I get the following errors:
JS: 'nativescript-facebook: The plugin could not find the android library, try to clean the android platform'
JS: [Vue warn]: Error in created hook: "Error: The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first.
So I had to dive in the code of nativescript-facebook to see where the error happens and it is here: https://github.com/NativeScript/nativescript-facebook/blob/2437e17b9aa71396a679335408c03011ef687bfa/src/login-manager.android.ts#L27
When logging in the console the "e" variable containing the error, I get:
TypeError: Cannot read property 'getApplicationContext' of undefined
how do I get user email and name
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.