auth0 / lock-facebook.ios Goto Github PK
View Code? Open in Web Editor NEWLock for iOS add-on to use Facebook iOS SDK
Home Page: https://auth0.com/lock
License: MIT License
Lock for iOS add-on to use Facebook iOS SDK
Home Page: https://auth0.com/lock
License: MIT License
I just installed Xcode 7.3 and I got the following compilation errors that I didn't have previously. I didn't touch anything else, my pod is loaded with pod 'Lock-Facebook', '~> 2.1'
:
Project/Pods/Lock-Facebook/LockFacebook/FacebookProvider.m:25:9: Could not build module 'FBSDKCoreKit'
and
Project/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h:26:10: Include of non-modular header inside framework module 'FBSDKCoreKit.FBSDKAppLinkResolver'
What's wrong?
Steps to reproduce:
Requested failed unauthorized, invalid_token access token facebook error.
Is there a way to get a bigger facebook profile image? Auth0 is handing me a 50x50 image which is too small for the purposes of the current UI I am developing.
Do you have any sample app that opens the native Facebook app on iOS device?
I am currently developing a project and I am not successful in opening the native facebook app. My app always open facebook from a browser when I login with facebook.
I have followed instructions here but still it won't work.
I will appreciate any effort for helping me by anyone. Just tell me what details you need in my app for your validation.
Thanks.
To test some flows, I declined the permissions that Facebook was asking. Now, whenever I attempt to call [[lock identityProviderAuthenticator] authenticateWithConnectionName:@"facebook"...];
, I always get a 401 error until I uninstall and reinstall the app. There doesn't seem to be any documentation around recovering from this issue, so is there something obvious that I'm missing?
What I've tried so far:
I believe this is related to #10, but adding the Lock-Facebook to my Cartfile results in a build failure.
Cartfile
# Auth0
github "auth0/Lock.iOS-OSX" ~> 1.26
github "auth0/Lock-Facebook.iOS" ~> 2.1
github "auth0/SimpleKeychain" ~> 0.6.1
# End Auth0
Error:
*** Building scheme "LockFacebook" in LockFacebook.xcworkspace
** BUILD FAILED **
The following build commands failed:
CompileC /Users/vedpetkar/Library/Developer/Xcode/DerivedData/LockFacebook-gvfudtiiznibmsfppaflzzacagxw/Build/Intermediates/LockFacebook.build/Release-iphoneos/LockFacebook.build/Objects-normal/armv7/A0FacebookAuthenticator.o LockFacebook/A0FacebookAuthenticator.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/vedpetkar/Library/Developer/Xcode/DerivedData/LockFacebook-gvfudtiiznibmsfppaflzzacagxw/Build/Intermediates/LockFacebook.build/Release-iphoneos/LockFacebook.build/Objects-normal/arm64/A0FacebookAuthenticator.o LockFacebook/A0FacebookAuthenticator.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
/Users/vedpetkar/Development/neutun-ios/Neutun-iOS/Carthage/Checkouts/Lock-Facebook.iOS/LockFacebook/A0FacebookAuthenticator.h:24:9: fatal error: 'Lock/A0BaseAuthenticator.h' file not found
/Users/vedpetkar/Development/neutun-ios/Neutun-iOS/Carthage/Checkouts/Lock-Facebook.iOS/LockFacebook/A0FacebookAuthenticator.h:24:9: fatal error: 'Lock/A0BaseAuthenticator.h' file not found
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/vedpetkar/Development/neutun-ios/Neutun-iOS/Carthage/Checkouts/Lock-Facebook.iOS/LockFacebook.xcworkspace -scheme LockFacebook -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
CompileC /Users/vedpetkar/Library/Developer/Xcode/DerivedData/LockFacebook-gvfudtiiznibmsfppaflzzacagxw/Build/Intermediates/LockFacebook.build/Release-iphoneos/LockFacebook.build/Objects-normal/armv7/A0FacebookAuthenticator.o LockFacebook/A0FacebookAuthenticator.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/vedpetkar/Library/Developer/Xcode/DerivedData/LockFacebook-gvfudtiiznibmsfppaflzzacagxw/Build/Intermediates/LockFacebook.build/Release-iphoneos/LockFacebook.build/Objects-normal/arm64/A0FacebookAuthenticator.o LockFacebook/A0FacebookAuthenticator.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
Carthage will build fine if that line is commented out. Looking for any possiblities.
As part of my app's sign up flow, I call [lock identityProviderAuthenticator authenticateWithConnectionName:@"facebook"...]]. This doesn't appear to distinguish between new and existing users, unlike the email/password sign up flow. Are there any strategies for recognizing existing users authenticated through social?
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.