Swift 3: Firebase Social Login - Facebook Authentication and Cocoapods

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 247

  • @quanglenguyen5540
    @quanglenguyen5540 8 ปีที่แล้ว

    You are the best Firebase teacher on TH-cam

  • @TheBooban
    @TheBooban 7 ปีที่แล้ว

    Something important for anyone building these social Apps. Apple doesn't allow apps which only have social logins.
    You have to have your own login for people who don't want to be part of those other groups.
    Brian, I think your name is Brian, it would be nice if you included your own Firebase login in this tutorial series too but I will check around if you have it separate somewhere else unless you can point me where to now. Thanks!

  • @jonathannairn3341
    @jonathannairn3341 8 ปีที่แล้ว

    What a timing i have been stuck trying to save a facebook user into my database for 4 days now. Thanks Brian!

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว

      Great, I think you'll find everything you need in the next few episodes to login a user from facebook.

  • @LuisHernandez-gy6lm
    @LuisHernandez-gy6lm 7 ปีที่แล้ว

    This video makes my day, it's really awesome, i hope you continue keep making videos like this. I'm a Mexican studen and it is a little bit difficult find good developer material so thanks.

  • @yvindSrensen
    @yvindSrensen 8 ปีที่แล้ว

    I noticed Xcode 8.1 fixes the issue with the extra logging to the console so editing scheme is no longer required, just FYI. Keep up the good work, great content as always :)

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว

      Good to know, I just opened 8.1 for the first time a few days ago, not looking good.

  • @sherbazh
    @sherbazh 8 ปีที่แล้ว

    Thanks Brian, your videos are the best man. It's so awesome how you upload them free of cost. Hope they keep coming :)

  • @mikeuvu
    @mikeuvu 7 ปีที่แล้ว

    Love the tutorial man. quick, efficient, and straightforward! Can't wait to watch more of your stuff.

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว +1

      +mikeuvu awesome, you'll find plenty of good tips and tricks with the videos on the channel. Heck you can even learn how to create your own chat app

  • @lawanbrown16
    @lawanbrown16 7 ปีที่แล้ว

    Well I figured it out. For some reason the section labeled Products under the Pods section in the Navigation bar wasn't being uploaded. I essentially deintegrated cocoapods, cleaned, re-installed cocoapods with both the firebase and FB Pods and ran the build and it worked. I also had some extra files in those framework files. I don't know if that contributed to the issue or not but I deleted them since they didn't seem essential. But it's working fine now regardless.

  • @pariveshsharma
    @pariveshsharma 8 ปีที่แล้ว

    you are awesome!!! Love your teaching style, clean and clear.

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว +1

      +parivesh sharma thanks hope you were able to pick up some good tricks from these videos

  • @MrAliija
    @MrAliija 7 ปีที่แล้ว

    Great tutorials Brian. Keep up the good work.
    Is it possible to retrieve the logged in user's all facebook friends and invite them to download an app?

  • @李昀-z4m
    @李昀-z4m 7 ปีที่แล้ว

    Thanks for the video. It helped a lot. However, I have encountered a problem. It showed the "Successfully LogIn with Facebook", but the button did not show as "log out". I tried the key chain and reviewed the video three times. Didn't find the reason. By the way, the facebook dashboard didn't show any activity. Is that the problem?

  • @chrismckinley3094
    @chrismckinley3094 7 ปีที่แล้ว

    This was an awesome tutorial thank you!! I was able to successfully integrate the Facebook button into an app but I'm wondering now how I move it around as it doesn't appear in my UI layout as an object? Thanks in advance!!

  • @fankamthong529
    @fankamthong529 8 ปีที่แล้ว

    Great one, this is what really I am about to learn. You have been very helpful, Brian

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว +1

      Thanks Fan, this is a very useful exercise for those looking to improve their user registration count.

  • @MohammadSharif
    @MohammadSharif 7 ปีที่แล้ว +1

    Hey Brian, since you had suggested to use constraints instead of frames I wanted to implement constraints for the FBSDKLoginButton in my app. After some research I came across the NSLayoutAnchor API and how it's a more fluid means of setting view constraints. I'm currently trying to implement it in the app but it seems to not affect the FB button, I'm unsure as to why and was wondering if you may have an answer. Thanks for the awesome videos!

    • @olegp1964
      @olegp1964 7 ปีที่แล้ว

      Hi, Sharif? Is/was a problem with .heightAcnhor of FBSDKLoginButton? I've got stuck with the same issue. Did you find solution?

    • @dariusdalim8780
      @dariusdalim8780 6 ปีที่แล้ว

      fbButton.removeConstraints(fbButton.constraints) ---> use this code before setting your own contraints

  • @rogerwprice
    @rogerwprice 8 ปีที่แล้ว

    Wow - thanks for this updated and expanded explanation of social login - you are the best! ....trying to download the code but there seems to be a problem with the Login?? For me it just hangs on a blank white page.... (using Chrome on Sierra)

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว

      Thanks Roger. I'm very interested to know what the issue is with the login. Could you send me a direct message at twitter.com/buildthatapp so I can figure out whats wrong?

    • @rogerwprice
      @rogerwprice 8 ปีที่แล้ว

      Lets Build That App Problem solved - it was Privacy Badger that was blocking the connections and cookies for Facebook - I had to enable a couple of switches that are disabled by default. The error was easy to spot by showing the javascript console in Chrome - I have a screenshot but cannot seem to DM you in twitter - i am @antwerpenr

  • @tiberiust4474
    @tiberiust4474 8 ปีที่แล้ว +1

    Wow cool stuff
    Please Can You make a Video about how to Transport Data Form your Own Website to the App ?

  • @mugnoom
    @mugnoom 8 ปีที่แล้ว

    Brian, cool idea! Make a video on how to setup collection view + UIKit Dynamics (update for gameofchats series)! Thank you, for your efforts!

  • @cody_walters
    @cody_walters 7 ปีที่แล้ว

    This is a great series of videos! How would I get a specific parameter from the user? In your older video, you showed how to extract the email only. How would you do this?

    • @cody_walters
      @cody_walters 7 ปีที่แล้ว

      This code seems to give errors
      if let email = result["email"] as? String {
      print(email)
      }

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      Well, you have to specify the readPermissions, I think I go through this in this video or perhaps the next.

  • @bonnyts
    @bonnyts 7 ปีที่แล้ว +1

    Hi brian, very nice video! I have a problem though..I tried to login with a real facebook account and the simulator shows me an error that says the app is not configured, so I cannot log in. Then if I tap on "Done", it prints me out "Successfully logged in with facebook...", but the button title doesn't change to "Log out". Any ideas?

  • @bulljocke
    @bulljocke 7 ปีที่แล้ว

    Great video! This is working fine for me! BUT HOW do you save the Facebook user that logging in, in the Firebase database?

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      You should watch the Game of Chat series to see how this is done using Firebase Database. videos.letsbuildthatapp.com/course/Firebase-Chat-Messenger

  • @uday0007
    @uday0007 7 ปีที่แล้ว

    Great tutorial... Do you have any plans to make tutorial using AWS Cognito? It would be really helpful...

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว +1

      I've looked at Cognito but haven't really had the chance of using it. I'll look into this some more this year.

  • @arvs_capital
    @arvs_capital 8 ปีที่แล้ว

    Hi Brian. I am a fan! I have been following your tutorials and I don't use main.storyboard anymore.
    Just want to ask how do you decide, when to use NSLayoutConstraint.contraints(withVisualFormat .....) and
    when to use setting up the x, y, width, height constraints like what you did in the login page of the Chat App?

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว

      Hi vin, I prefer not to use visual formats anymore since strings can mysteriously break after innocent changes.

    • @arvs_capital
      @arvs_capital 8 ปีที่แล้ว

      Alright! Thanks for the quick response :) I'll keep following your videos!

  • @mohammadtahir7931
    @mohammadtahir7931 8 ปีที่แล้ว +1

    all tutorials are very useful and Thanks sir ,You are great

  • @tahir1993ify
    @tahir1993ify 8 ปีที่แล้ว

    I love you Brian ..its an awesome tutorial ...Can you do a tutorial series on how to use Camera .. for example like Instagram

  • @agung_laksana
    @agung_laksana 6 ปีที่แล้ว

    Thank you very much brain. Awesome tutorial as always. But is it actually ok right if we don't install FBSDKSharekit ? I know the size not too big but i just want te decrease my app size

    • @LetsBuildThatApp
      @LetsBuildThatApp  6 ปีที่แล้ว

      I cant remember but isn't everything installed through the Firebase pods?

  • @chanpark4469
    @chanpark4469 8 ปีที่แล้ว

    You're so awesome! I learn alot from your videos.

  • @njugunael
    @njugunael 7 ปีที่แล้ว

    Great Tutorial but am still stuck at Installing cocoa pods..its driving me crazy..any solutions to it??

  • @vandanpatel3395
    @vandanpatel3395 8 ปีที่แล้ว

    Great tutorial. Is there any way we can customize that FBSDKLogInButton? I am using UIImageView as facebook button, and tap gestures to recognize the click. How should I approach it?

  • @TheKkkk45
    @TheKkkk45 7 ปีที่แล้ว

    What is the difference between the ios sdk and the swift sdk? I'm using swift and I'm not sure if I should be using the swift or ios.

  • @AM-dx8nk
    @AM-dx8nk 6 ปีที่แล้ว

    Hi and thanks for your videos! I am adding FB button to my project using constraints. Could you explain how to set height of the button in constraints. It is set to 28 pixels and can not be modified. Thanks a lot!

  • @papanoob8
    @papanoob8 8 ปีที่แล้ว

    Man, thank you for this great tutorial 👍🏻. Waiting for the next episodes.

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว

      Awesome, recording and uploading now. It'll be out tomorrow morning!

  • @KhanhNDo
    @KhanhNDo 7 ปีที่แล้ว +3

    why is it so painful to install Facebook SDK using this method?

  • @DhruvilPatel
    @DhruvilPatel 4 ปีที่แล้ว

    Bro you are simply awesome!

  • @jprojasc
    @jprojasc 7 ปีที่แล้ว

    HI, i had to run on the device because a bug of the simulator, "user defaults error", but the prints of "Did log out..." and "Successfully logged...." are not working :(, any help?

  • @ShankarKumar-iw2to
    @ShankarKumar-iw2to 8 ปีที่แล้ว

    your videos are just awesome. Will you please make a videos on how we can add side bar to our apps and implement this on different views. I saw this in your TH-cam video but I find difficulty when it comes to do with different views like performing segue

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว

      Thanks Shankar, its possible you'll get some ideas on how to perform segue from my other series.

  • @TheKkkk45
    @TheKkkk45 7 ปีที่แล้ว

    I keep getting a "could not build objective c module " for each kit I import, and I have no idea how to fix it. I used cocoa pods and I imported
    use_frameworks!
    pod 'FacebookCore'
    pod 'FacebookLogin'
    pod 'FacebookShare'
    but I'm not sure if I'm doing something wrong. Any help would be appreciated.

  • @renanbezerradasilveira2943
    @renanbezerradasilveira2943 6 ปีที่แล้ว

    Congratulations! You made an amazing work here

  • @ChrisValinhas
    @ChrisValinhas 8 ปีที่แล้ว

    Awesome tutorial! Keep up the great work

  • @Mikos890101
    @Mikos890101 7 ปีที่แล้ว

    is it possible to change the language for default Facebook login button or do i have to create a custom login button?

  • @alvinalicante3092
    @alvinalicante3092 8 ปีที่แล้ว +1

    Wow thanks for this brian. Could you also make an apps that call rest api with your approach on how to setup api class services, different method like get, post, put, delete with header, authentication token and more. pleaseee . Thank you for helping my skills growing up

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว +2

      Perhaps in the future, my original plan for this channel was to do this but things changed :)

    • @larsdelmayor2260
      @larsdelmayor2260 8 ปีที่แล้ว

      +1 for this. Im looking forward to make brian video about all api services without using third party. hopefully soon

  • @joycelu962
    @joycelu962 8 ปีที่แล้ว +2

    Liked it before I watch it. :) Thanks so much again!

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว +3

      You're welcome Joyce, this series is going to be useful for folks that aren't using Firebase as well.

  • @aalenazi3101
    @aalenazi3101 8 ปีที่แล้ว

    good work!,
    So I used constraints for scrollview layout, but it's pain to make changes to it like when scrolling up and down , i was trying to make twitter profile ui like.
    secondly, we are really waiting for Snapchat and camera apps tutorials.
    Thank you.. p.s just woke up and watched this tutorial.lol

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว +1

      +Abdelrahman Alenazi that's great, A future subscription service will be available so I can put out more videos

    • @aalenazi3101
      @aalenazi3101 8 ปีที่แล้ว

      That would be awesome

  • @lawanbrown16
    @lawanbrown16 7 ปีที่แล้ว

    Would I have to do anything differently if I already have Firebase pods installed? I may be having an issue with the path that's being taken to find the headers....The Firebase pods are being recognized but the FB pods aren't.

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      +Lawan Brown you probably are better off creating a new project and setting it up all over again good luck

  • @joetheturtle
    @joetheturtle 7 ปีที่แล้ว

    What if I already have an open url function in my AppDelegate that returns the handled from GIDSignIn?
    let handled = GIDSignIn.sharedInstance().handle(url, sourceApplication:options[UIApplicationOpenURLOptionsKey.sourceApplication] as? String, annotation: [:])
    return handled

  • @albertlu8407
    @albertlu8407 8 ปีที่แล้ว

    Thank you so much Brian,
    It's gonna be an awesome series!!

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว +1

      Yes, I'm eager to record the rest of the episodes.

  • @raulaban
    @raulaban 7 ปีที่แล้ว

    I just added the button and it automatically knows if I was already logged in and displayed "LogOut". Do you know if it changed?

  • @rearahhal6013
    @rearahhal6013 7 ปีที่แล้ว

    kindly solve my prob: keychain sharing is enabled and my app is public.I am getting the following error: user cannot see the app

  • @GH-er2qo
    @GH-er2qo 8 ปีที่แล้ว

    Should I check "include unit tests" & "include UI tests" when creating a new project?

  • @donparkk
    @donparkk 7 ปีที่แล้ว

    What mic setup do you use?

  • @TheBooban
    @TheBooban 7 ปีที่แล้ว

    19:02 pause it. You have the same bug. fbauth2:...Operation couldn't be completed OSStatus 10814. Its a simulator bug. But why? What is it? Other sources indicate a transport security bug and other stuff. 16:19 too, after you hit the login button.

  • @DesignWithArash
    @DesignWithArash 7 ปีที่แล้ว +1

    Hi. When I pressed the Facebook button, I got SIGABRT error. Can you help me what I should do?

    • @arronlinton4319
      @arronlinton4319 7 ปีที่แล้ว

      hey man, did you resolve that issue? i have the same thing happening. thanks

    • @DesignWithArash
      @DesignWithArash 7 ปีที่แล้ว

      Hi. Unfortunately not.

    • @arronlinton4319
      @arronlinton4319 7 ปีที่แล้ว

      Alright man thank you

    • @arronlinton4319
      @arronlinton4319 7 ปีที่แล้ว

      hey bro, i solved this error, i just had an extra {, in info.plist where we are suppose to put our appId. hope it helps

    • @DesignWithArash
      @DesignWithArash 7 ปีที่แล้ว

      Arron Linton Hi bro, thank you so much.

  • @manfredipistone2350
    @manfredipistone2350 8 ปีที่แล้ว

    great series!

  • @PullerzCoD
    @PullerzCoD 7 ปีที่แล้ว

    Thank you so much, great guide, worked first time!

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      Excellent, all the source code shown in the video took a lot of time to prepare so I'm glad you were able to use it.

  • @bbds1234
    @bbds1234 7 ปีที่แล้ว

    if i not using firebase, can i use showemail and put is value to my database and make some verify to login?

  • @joycelu962
    @joycelu962 8 ปีที่แล้ว +1

    Can you show us how to do an app deploy? Even just Beta testing will be great. There are auto provisioning feathers in Xcode 8, but still didn't work, and quite confusing. Can you show us both auto provisioning process, and manually? Right now I'm struggling with tutorials for both, not sure which part belongs to which part. And basically it's not working.
    Thanks a lot!

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว +1

      +Joyce Lu honestly I haven't used these new Xcode 8 features, let's see how they can improve our workflow

    • @joycelu962
      @joycelu962 8 ปีที่แล้ว

      Can't wait for it. :)

    • @joycelu962
      @joycelu962 8 ปีที่แล้ว

      Hi Brian, finally I made it through the Beta Testing process. There was a bug at iTunes Connect. Never thought Apple could have bugs too. LOL. Guess it's preparing me to face my buggy time.
      Can you show us how to do Push Notification with Firebase? If so, could you please don't forget to show us how to do the set up for the Apple Dev Certificate settings relate to it.
      Can't thank you enough for your teaching. I started Swift at the end of August, without your teaching it's impossible for me to learn so much in such a short time. My goal is to have a release by Christmas. There are still so much to learn.

  • @GamearefamousX
    @GamearefamousX 6 ปีที่แล้ว

    reason: 'fb****************** is not registered as a URL scheme. Please add it in your Info.plist' what should do ?

  • @sugumizuno6987
    @sugumizuno6987 8 ปีที่แล้ว

    Thank you soooooo much, had troubled with that!!!

  • @edstergadget5120
    @edstergadget5120 8 ปีที่แล้ว

    did you delete that video you made where you explain the "CellId" and views in slower details?

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว

      I haven't removed any videos on my channel.

  • @crimsondragon95
    @crimsondragon95 7 ปีที่แล้ว

    My man! youre awesome! I finished this whole playlist but I came across a problem after looking back at it a few weeks later...
    Im receiving an error saying "No such module FBSDKLoginKit"
    Any clue how to fix this? Thank you!!

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      You can download the sample project and see what the difference is.

    • @crimsondragon95
      @crimsondragon95 7 ปีที่แล้ว

      It's the same! It was working perfectly before. And now It's giving me that error when i tried running it again in my phone 2 weeks later

  • @xShorDz
    @xShorDz 8 ปีที่แล้ว

    Good as always Brian, thank you!

  • @GuruKal
    @GuruKal 7 ปีที่แล้ว

    Dude, I love you. Keep up the great work!

  • @Daniyal7664
    @Daniyal7664 8 ปีที่แล้ว +6

    Kindly resolve my issue. When I import FBSDKCoreKit in AppDelegate.m file my xcode display that type of error.
    No such module FBSDKCoreKit error

    • @mckadehermansen24
      @mckadehermansen24 7 ปีที่แล้ว

      I got the same issue, I did the following and now it works great:
      Removing the Bridging Header. Facebook SDK doesn't need them anymore after version 4.1
      Select the project name file -> Build Phases -> Link Binary With Libraries and add all of the .frameworks
      Selecting each framework and building it. You can do this by selecting your project name next to stop icon -> Edit Scheme.. -> Run
      Clean the project

    • @alexandervaith1555
      @alexandervaith1555 7 ปีที่แล้ว

      Firdous Khawar Hey man, i am facing the same issue. Unfortunately I cant really work out what you have suggested. Can you go over your last step again. How to manage the frameworks in the edit scheme menu? That would really help!

    • @richiej6573
      @richiej6573 7 ปีที่แล้ว

      Hi McKade, I just encoutered this issue. how do I "Add all of the .frameworks" ? Thanks.

    • @9354106564
      @9354106564 7 ปีที่แล้ว +1

      JUST PRESS cmd+B (to Bulid) it will resolve this error no need to "Removing the Bridging Header. Facebook SDK doesn't need them anymore after version 4.1" bla bla bla

    • @richiej6573
      @richiej6573 7 ปีที่แล้ว

      cheers

  • @Asyrafcruz
    @Asyrafcruz 7 ปีที่แล้ว

    Please anyone help me!!!!!! why is after i click "OK" for authorised permission to the application...
    page were redirect to a blank white page. i dont know what happen because no activity on the log.
    even if it has one time it show auth2 error = 500 need active token
    please i dont have any idea whats the flow i already tried follow one by one

  • @Victor-gr4hg
    @Victor-gr4hg 8 ปีที่แล้ว

    Thank's for all, it's working !

  • @javishfri
    @javishfri 6 ปีที่แล้ว

    How to access mobile number from facebook through SDK in iOS like uber did?

  • @igorbernsmann2758
    @igorbernsmann2758 7 ปีที่แล้ว

    Hey Brian, Thank you so much ! Very nice Video !!

  • @bbb-yk8no
    @bbb-yk8no 7 ปีที่แล้ว

    First of all thanks for the videos!
    Please help me I have spent 3-4 hours to figure out a problem (searching online - watching other tutorials - trial/errors) My build fails every time I run and it says " No such module 'FBSDKCoreKit' ". I have the pods installed correctly. I do run the .xcworkspace. there are libFBSDKCoreKit.a, libFBSDKLoginKit.a, libFBSDKShareKit.a, and libPods-name.a files in the framework folder. What could be wrong?

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว +1

      You might want to try the install from a brand new project.

  •  8 ปีที่แล้ว

    Thank you so much... amazing job man.

  • @yorickbolster782
    @yorickbolster782 6 ปีที่แล้ว

    The button does not show up on the storyboard, how am I supposed to add another action to it, such as going to another page?

  • @IntegralPiano
    @IntegralPiano 7 ปีที่แล้ว

    I followed the tutorial, but for some reason it says "Continue with Facebook" instead of Log In, and when I click it, it crashes and gives the error Thread 1: signal SIGABRT and "terminating with uncaught exception of type NSException"

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      You can download the sample code from the description, good luck.

  • @swathen69
    @swathen69 7 ปีที่แล้ว

    Very well done!!

  • @AnishSPandalam
    @AnishSPandalam 7 ปีที่แล้ว

    Could not build Objective-C module 'FBSDKLoginKit' . This is the error I am getting

  • @shivamsrivastava2178
    @shivamsrivastava2178 7 ปีที่แล้ว

    Hii Brian.. I m great fan of you.. Can you please make a video on Payment Gateway Integration using Swift..

  • @TrungNguyen-rb8zl
    @TrungNguyen-rb8zl 8 ปีที่แล้ว

    Thanks! It's very helpful

  • @fernandezeditores338
    @fernandezeditores338 7 ปีที่แล้ว

    why i get this error
    ViewController does not conform to protocol 'FBSDKLoginButtonDelegate'

  • @SureshKumar-oz1lj
    @SureshKumar-oz1lj 7 ปีที่แล้ว

    i wants to know how to show the user details in bootom of login button

  • @josesolano3138
    @josesolano3138 8 ปีที่แล้ว +1

    Brian, your videos are awesome!, now that you are implementing "Social Authentication" could you teach us how to implement "Facebook Invite Friends", it will be great!!

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว

      +José Ángel Solano Kirk facebook invite is usually server related, not really sure what I can show

  • @lawanbrown16
    @lawanbrown16 7 ปีที่แล้ว

    Because the pods are in Objective-C , swift isn't able to build or import the pod files. Has there been a fix for this issue?

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      +Lawan Brown have you tried the sample download project, no more headers are needed

    • @lawanbrown16
      @lawanbrown16 7 ปีที่แล้ว

      I tried to follow along with your previous video and apparently I'm having an issue with a header file now("Linker command failed"). I'm trying to debug it, but once I fix this I'll try your code and let you know. I followed along with you pretty carefully the first time though. If you didn't have any errors and there haven't been any updates since you made the video then I've made a small error somewhere along the way. I just thought this might've been a new issue that had not been resolved.

  • @Koiily
    @Koiily 7 ปีที่แล้ว

    Thank you so much it's very help me a lot.

  • @丁波-t5r
    @丁波-t5r 7 ปีที่แล้ว

    Hi Brain, I use SnapKit to control this FBLoginButton,
    FBButton.snp.makeConstraints { (make) in
    make.top.equalTo(self.view).offset(50)
    make.height.equalTo(150)
    make.left.equalTo(self.view).offset(20)
    make.right.equalTo(self.view).offset(-20)
    }
    But, I find that I can not control the height of this button. No matter how long I in input the code above about the height, the button's height is not change. if u can help ,I will appreciate so much!

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      If you watch my Instagram Firebase course or Twitter series, you'll find the extension method I use that easily allows you to change the height of your subviews.

  • @mehmetedex
    @mehmetedex 8 ปีที่แล้ว

    Great job. Keep inspiring

  • @praisethesun4963
    @praisethesun4963 6 ปีที่แล้ว

    How can i access the user's profile data? Name, for example

  • @michaelsalvador2106
    @michaelsalvador2106 6 ปีที่แล้ว

    Very helpful. Thanks!

  • @doublegdog
    @doublegdog 7 ปีที่แล้ว

    When I try to install the podfile, the terminal says "Setting up cocoapods master repo" and is taking forever. Is this normal since this is my first time using cocoapods?

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      Yes, downloading all necessary pods does take a while.

  • @SR-ec6zp
    @SR-ec6zp 7 ปีที่แล้ว

    How can i connect this subview to my app? ( to the next step like creating the profile or to enter in the application)

    • @SR-ec6zp
      @SR-ec6zp 7 ปีที่แล้ว

      please send me an email at raluca1s98@gmail.com

  • @cSam555
    @cSam555 8 ปีที่แล้ว

    I liked the video and I stared building the same... but I am getting the error "Use of Undeclared type NSPersistentContainer" in Appdelegate.swift when I did the 5th step. Please help.

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว

      Seems like you might have checked the Core Data box on accident

    • @cSam555
      @cSam555 8 ปีที่แล้ว

      That worked. Thank you so much :-)

  • @cheng-enke2875
    @cheng-enke2875 7 ปีที่แล้ว

    Thank You!! It really help.

  • @edgramosmurillo
    @edgramosmurillo 7 ปีที่แล้ว

    Loved it!

  • @documentprogress7621
    @documentprogress7621 8 ปีที่แล้ว

    This is amazing... Thank you so much buddy

  • @HerbivoreJesus
    @HerbivoreJesus 8 ปีที่แล้ว

    sighhh I don't know why XCode 8 is being so difficult on me. I can not see the modules available available to import after installing the the facebook sdk stuff from CocoaPods... after running pod install, I closed the project and opened the .xcworkspace but nothing... I tried cleaning my project and doing other things but nothing

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว +1

      Perhaps the pod install process didn't complete.

    • @HerbivoreJesus
      @HerbivoreJesus 8 ปีที่แล้ว

      I found an old article on StackOverflow on how to resolve this. I had to delete the DerivedData folder within the XCode folder

  • @marquism685
    @marquism685 6 ปีที่แล้ว +9

    anybody else having a lot of trouble with the app delegate

  • @tubehelpr
    @tubehelpr 6 ปีที่แล้ว

    What do you do if you want to have Google and Facebook authentication? Mines crashing and it says to make sure my info.plist is correct. I think somehow the code I wrote for Google auth is overwriting it?

    • @tubehelpr
      @tubehelpr 6 ปีที่แล้ว

      stackoverflow.com/questions/32006033/ios-9-fbauth2-missing-from-info-plist solved it

  • @devikau386
    @devikau386 5 ปีที่แล้ว

    Can you please upload the code for the app delegate and view controller? Thanks in advance.

  • @dekmunlnw
    @dekmunlnw 7 ปีที่แล้ว

    i can't set title for loginButon = FBSDKLoginButton()
    //loginButton.setTitle("Facebook Login", for: .normal)
    i want how to. thank.

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      You can't customize the FBSDKLoginButton, thats why I show you how to create your own.

  • @ombhagwan859
    @ombhagwan859 7 ปีที่แล้ว

    Brian I need your help. I want make ios application and connect some device using Bluetooth. If possible pls help me

  • @NeguAIT
    @NeguAIT 7 ปีที่แล้ว

    I cannot install cocoapods.
    I wrote in the termina sudo gem install cocoapods, but then when I wrote the command you wrote pod init and ls I do not see any PodFile.

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      +Adrian Negulescu you gotta make sure pod init works

  • @horeaporutiu
    @horeaporutiu 7 ปีที่แล้ว +1

    My button says "Continue with Facebook" and when I click it nothing happens, and i get
    "-canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
    Error Domain=com.facebook.sdk.core Code=3 "(null)" UserInfo={com.facebook.sdk:FBSDKErrorDeveloperMessageKey=Unknown error building URL.}"
    as an error message. any ideas?

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว

      I see, what kind of fix have you tried for this bug?

    • @thomaslopez6456
      @thomaslopez6456 7 ปีที่แล้ว

      I do the tutoriel and I have the same bug .. BUT after I download your project file and it works with all new update and iOS 10.2

    • @horeaporutiu
      @horeaporutiu 7 ปีที่แล้ว +1

      I ran it in the morning after changing a couple lines of the Info.plist specifically CFBundleURLSchemes from the facebook developer quickstart, and LSApplicationQueriesSchemes, and it started working. I changed a couple other things as well, but i don't remember exactly what I changed to get it working. I tried to go back and figure it out, but wasnt able to.

    • @TheBooban
      @TheBooban 7 ปีที่แล้ว

      I get this error on the simulator but not my phone. sorry to be clear I only got the OSStatus error, not the Error Domain error.

  • @edmundmaruhn8663
    @edmundmaruhn8663 6 ปีที่แล้ว

    Just a little late to the party, but anyway: The reason why the login failed without keychain sharing activated is that the Facebook SDK automatically stores authentication credentials in the keychain on success. So it is required to have that capability enabled first.

  • @ShuCh3n
    @ShuCh3n 8 ปีที่แล้ว

    Can you do a tutorial about in app purchase?
    P.s
    Thanks for your effort!

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 ปีที่แล้ว +1

      +Shu Chen (ShuCh3n) there's a great tutorial on raywenderlich for in app purchases, I recommend checking that out until I can release a series for that

  • @JHogg11
    @JHogg11 7 ปีที่แล้ว

    Just an FYI, it may have something to do with the fact that I used this tutorial previously, but I was going through the tutorial again to add FB to a second app but instead I added the Objective-C files from FB's website (instead of the Cocoapods files) and I followed the other steps in the video and the login worked fine. In other words, it doesn't seem necessary to add the additional bulk of Cocoapods to a project to get FB logins to work.

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 ปีที่แล้ว +1

      There are pros and cons to integrating via a pod or just the raw objc class files. Glad you found your way to a good solution.

    • @JHogg11
      @JHogg11 7 ปีที่แล้ว

      I assumed the main con is having to write in Objective-C if you had to make changes to FB's stock files. Are there other cons to be aware of?