• Home
  • Introduction
  • Installation
  • Portfolio
  • Tutorial
    • Flutter
    • Dart
    • Android
    • Java
    • J2EE
    • Kotlin
    • Jetpack Compose
    • Interview Questions
  • Contact Us
Search
Flutter Tutorial
  • Home
  • Introduction
  • Installation
  • Portfolio
  • Tutorial
    • Flutter
    • Dart
    • Android
    • Java
    • J2EE
    • Kotlin
    • Jetpack Compose
    • Interview Questions
  • Contact Us
Home Android Login Using Facebook
  • Android
  • Tutorial

Login Using Facebook

April 20, 2020
WhatsApp
Facebook
Google+
Pinterest
Telegram
Twitter
ReddIt
Email
Print
Tumblr
StumbleUpon
VK
Digg
LINE
Viber

    Login Using Facebook

    1) Facebook login
    2) Open in browser this link https://developers.facebook.com/apps
    Scree 1
    3) My apps -> Create App : Enter display name 2) Enter email
    Scree 2 and Scree 3
    4) Left side display menu Click the Basic and last add Platform click the choose the android.
    5) Fabook hash key genereate:
    keytool -exportcert -alias androiddebugkey -keystore “../../keys/keystore.jks” | “C:\openssl\bin\openssl” sha1 -binary |”C:\openssl\bin\openssl” base64
    Scree 4
    6) Valid OAuth Redirect URIs this URIs get the firebase.
    1) Open the link browser: https://firebase.google.com/
    2) Get Started

    Scree 5 (Firebase)

    3) Left side option category develop click the Authentication. Click the Sign-in method.
    – Enter app Id, app secret. (This is get detail in facebook)
    – Scree 4 Valid OAuth Redirect URIs this link get the firebase Scree 5 (Firebase) last line is Facebook app configuration.

    Screen 1

    Login Using Facebook

    Screen 2

    Login Using Facebook

    Screen 3

    Login Using Facebook

    Screen 4

    Login Using Facebook

    Screen 5

    Login Using Facebook

    build.gradle

    app: apply plugin: 'com.google.gms.google-services'
    android: classpath 'com.google.gms:google-services:4.3.3

    AndroidManifest.xml

    <meta-data android:name="com.facebook.sdk.ApplicationId"
                android:value="@string/facebook_app_id"/>
    
            <meta-data
                android:name="com.google.android.geo.API_KEY"
                android:value="" />
    
            <activity android:name="com.facebook.FacebookActivity"
                android:configChanges=
                    "keyboard|keyboardHidden|screenLayout|screenSize|orientation"
                android:label="@string/app_name" />
    
            <activity
                android:name="com.facebook.CustomTabActivity"
                android:exported="true">
                <intent-filter>
                    <action android:name="android.intent.action.VIEW" />
                    <category android:name="android.intent.category.DEFAULT" />
                    <category android:name="android.intent.category.BROWSABLE" />
                    <data android:scheme="@string/fb_login_protocol_scheme" />
                </intent-filter>
            </activity>
    

    The flutter tutorial  is a website that bring you the latest and amazing resources of code. All the languages codes are included in this website. The languages like flutter, android, java,kotlin etc.with the help of this languages any user can develop the beautiful application

    For more information about Flutter. visit www.fluttertutorial.in

    WhatsApp
    Facebook
    Google+
    Pinterest
    Telegram
    Twitter
    ReddIt
    Email
    Print
    Tumblr
    StumbleUpon
    VK
    Digg
    LINE
    Viber
      Previous articleLocal Database In Flutter
      Next articleTimeline In Flutter
      admin

      RELATED ARTICLESMORE FROM AUTHOR

      ListView Shopping getx

      ListView Shopping getx (Update, Favourite, Search, Total Amount)

      ThemeData in Flutter

      ThemeData in Flutter

      MaterialApp in Flutter

      MaterialApp in Flutter

      Search

      Subscribe to get letest updates

      Loading
      ABOUT US
      www.fluttertutorial.in is the website that bring you the latest and amazing resources of code. All the languages codes are included in this website. The languages like flutter, android, java,kotlin Etc...with the help of this languages that help you to develop the beautiful mobile application.
      • Privacy Policy
      • Contact Us
      • About Us
      © Copyright 2022- www.fluttertutorial.in
      MORE STORIES

      Customer Service UI

      April 13, 2022
      Dart Interview Questions

      Dart Interview Questions

      April 13, 2022
      How to Create Flutter Plugin

      How to Create Flutter Plugin 2021

      December 30, 2021
      Edit with Live CSS
      Save
      Write CSS OR LESS and hit save. CTRL + SPACE for auto-complete.