Add Facebook Login to Your Expo React Native Apps using react-native-fbsdk-next + Graph Requests

Поделиться
HTML-код
  • Опубликовано: 10 янв 2024
  • Hi everyone!
    Today I'm showing you how to add Facebook login to your Expo React Native Apps using react-native-fbsdk-next. This is a package that allows you to configure your app to login with Facebook from expo react native apps without ejecting, and is effectively a wrapper for the Facebook SDK. It does this using config plugins.
    I will also show you how to share content e.g. a link and make requests to the graph API.
    During the tutorial you will want to create a Facebook app on Facebook's developer site, you can do that here: / creation
    For hex to Base64 conversion: base64.guru/converter/encode/hex
    My code for this is available on GitHub:
    github.com/chelseafarley/expo...
    And you can find full documentation here for react-native-fbsdk-next:
    github.com/thebergamo/react-n...
    As react-native-fbsdk-next is effectively a wrapper for the Facebook SDK, to learn more about it's capabilities you can look here and check whether the associated methods are implemented in react-native-fbsdk-next.
    You’ve clearly come here to learn and a free audible trial allows you to increase your learning potential in situations where you may be hands free like at the gym or on your commute. It allows you to spend more time on theory when you aren’t able to watch a screen, so that you can maximise your screen time to pick up technical skills. Try it for free today:
    amzn.to/49NX6Xe
    // ABOUT ME
    My name is Chelsea and I started studying software engineering in 2010. I have been working commercially full time since 2014 and have been in various positions from graduate developer to tech lead to solution architect.
    I'm a full stack developer with a lot of experience in C# and Javascript but my passion is for mobile development; specifically native iOS development and cross platform using React Native.
    I always have many things on the go and am always trying out a new side hustle and failing at it; perhaps you can learn from my mistakes!
    Please like and subscribe if you enjoyed this video and want to see more like it!
    Have any suggestions on topics you would like to learn more about? Please suggest them in the comments... I would love to help you out while doing a bit of learning myself!
    // PRODUCTS USED
    I use the following products in the creation of my videos:
    Boya MM1 Microphone - amzn.to/3uupmOB
    A reasonable quality and reasonably sturdy but cost effective microphone that can be used by both DSLR cameras, mobile phones and laptops
    Canon 18-55mm Lens - amzn.to/3QYYdLk
    A kit lens but a decent quality lens for beginners getting used to a DSLR
    Canon EOS Rebel T7 with 18-55mm Lens - amzn.to/3GdRPuq
    This is the kit I started with it includes the lens linked above and is a great starter camera.
    I love Apple devices... These are the ones I use for my channel content creation:
    Apple iPhone 13 - amzn.to/3G8pHcl
    A good all round phone, good for Apple development and recording videos with enough high quality features but at a cheaper price point than the pro versions.
    Apple MacBook Pro - amzn.to/3MUuPV8
    A nice portable computer for working from anywhere and perfect for iOS development
    Apple iPad Air - amzn.to/49LvYrY
    Really easy to use for graphic design if required for logos as part of my app development or editing the videos on the go.
    DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. There is no additional charge to you! Thank you for supporting my channel so I can continue to provide you with free content each week!
    //CONTACT:
    Please contact me at: hello@tripwiretech.com
    //CRAVING MORE:
    You can find links to all my different sites and social media over on Linktree: linktr.ee/misscoding
  • НаукаНаука

Комментарии • 17

  • @geryit
    @geryit Месяц назад

    This was the simplest way to implement FB login. Thanks!

  • @Howleyy13
    @Howleyy13 4 месяца назад

    Amazing, this helped me fix my issue!

  • @mitri-dvp
    @mitri-dvp 5 месяцев назад

    thank you, this actually solved my facebook configuration issue, it worked for me

  • @beshoysoliman2331
    @beshoysoliman2331 5 месяцев назад +2

    for some reason I get error app id not found exception

  • @javascriptbyemeka
    @javascriptbyemeka 27 дней назад

    for test users. you have to invite testers.

  • @premodial5222
    @premodial5222 5 месяцев назад

    Thank you for the content .
    Is it possible to use your own custom button and just call a function ?

  • @Niletixofficial
    @Niletixofficial 6 месяцев назад

    how different is this from the google sign in?

  • @visaplatium
    @visaplatium 15 дней назад

    What are you using for Facebook ads? I'm not finding it anymore

  • @brianmason280
    @brianmason280 4 месяца назад

    How do the release credentials change?

  • @NguyenToan-qf4vo
    @NguyenToan-qf4vo 4 месяца назад

    Pls guide how to login with Apple. Thank a lot❤

  • @hiii3763
    @hiii3763 6 месяцев назад

    it is possible to get the profile pic of the facebook?

  • @user-xm7gz5ms5n
    @user-xm7gz5ms5n 4 месяца назад

    It's Shows an ERROR for the Login Button:
    ERROR Invariant Violation: requireNativeComponent: "RCTFBLoginButton" was not found in the UIManager.

    • @RohitKhomane-il8ro
      @RohitKhomane-il8ro 3 месяца назад

      I have same error. Have you get any solution plz let me know

  • @danarj5713
    @danarj5713 5 месяцев назад

    facebook now they need you to be verified to use in production