danwilson / social-auth-plugin Goto Github PK
View Code? Open in Web Editor NEWCordova (PhoneGap) 3.0+ Plugin to authenticate with Facebook/Twitter accounts on iOS
License: MIT License
Cordova (PhoneGap) 3.0+ Plugin to authenticate with Facebook/Twitter accounts on iOS
License: MIT License
I believe the best way to get keys is to read them from config.xml
I am not ios developer, so not sure if you are able to access it already from some variable, because cordova does read this file already in CDVViewController.m ... it uses CDVConfigParser.
At the end user needs to put keys in the root config.xml, then do cordova prepare
-> key lands in config.xml of each platform.
Nothing happens when I call the plug in except an error is shown in the console: "-[NSError init] called; this results in an invalid NSError instance. It will raise an exception in a future release. Please call errorWithDomain:code:userInfo: or initWithDomain:code:userInfo:. This message shown only once."
It's basically fails on performTwitterReverseAuthentication() returning an error
Is this compatible with the latest Cordova. Was working fine in previous version.
Hi, Could you tell me if you are looking to port your plugin to Android or any other platforms?
Thanks,
Chris
the plugin had some method fetchTwitterProfile, is this working? I've used it, but looks like it's not working
returnTwitterAccounts returns an empty array. can you please guide me how to solve this issue? Any configuration settings? Thanks.
Hi, heads up, got this error when compiling for ios9
[NSError init] called; this results in an invalid NSError instance. It will raise an exception in a future release. Please call errorWithDomain:code:userInfo: or initWithDomain:code:userInfo:. This message shown only once.
I haven't tried fixing it, but assume it's how the NSError is being instantiated at line 114 in SocialAuthPlugin.m
Hi, Dan.
Did window.socialAuth.loginFacebook change to window.socialAuth.accessFacebook? It now has a third parameter: fields. What would that be?
I keep getting error when calling:
window.socialAuth.accessFacebook(function(data) {
console.log('succes');
}, function(error) {
console.log('error' + error);
});
Where could I find more about this plugin? The README file is pretty bare.
Thanks.
I'm encountering this error when i run build
.
...platforms/ios/HelloCordova/Plugins/com.danielcwilson.plugins.socialauth/SocialAuthPlugin.h:6:9: fatal error:
'social/Social.h' file not found
I Got almost every thing but not Email id . How can i get email id ..?
The error callback won't wire when in the twitter app there's no account that's logged in. At least make it fire so we can handle the error. Thanks.
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.