Facebook Login using swift | Facebook Integration

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025
  • Getting Started with the Facebook SDK for iOS
    Step 1: Set Up Your Facebook App
    Step 2: Install the iOS Facebook SDK using CocoaPods
    There are several ways you can install the iOS Facebook SDK but for ease, I will only cover CocoaPods.
    a) add these lines in pod file
    pod 'FacebookCore'
    pod 'FacebookLogin'
    pod 'FacebookShare'
    b) pod install
    Step 3: Configure Your Info.plist
    add below code in info plist file
    CFBundleURLTypes
    CFBundleURLSchemes
    fb{your-app-id}
    FacebookAppID
    {your-app-id}
    FacebookDisplayName
    {your-app-name}
    LSApplicationQueriesSchemes
    fbapi
    fb-messenger-share-api
    fbauth2
    fbshareextension
    Step 4: Use in app View Controller
    Complete Project Code Link: github.com/uma...
    Documentation links:
    / ios
    / getting-started
    #loginwithfacebook #swiftsdk #swift5

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

  • @wasihaider9795
    @wasihaider9795 2 ปีที่แล้ว

    excuse me bro kya isma koi billing ka scene ha?

  • @lerobinalias8952
    @lerobinalias8952 4 ปีที่แล้ว +1

    hello the begining is audible, but i didn't understand the end can you help me? I am in desperate need of help

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

      Please ask where u need help

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

      @@UmarFarooqTV when you start copying stuff from 13:05

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

      @@lerobinalias8952 Well i just copied to save the time its basically facebook sdk method stub.

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

      @@lerobinalias8952 1) created login manager instance
      2) logout if previously login
      3) sdk method login request with permissions
      4) parse results if its successful then fetch the profile data inside method getFBUserData.

  • @dumggarbd3820
    @dumggarbd3820 2 ปีที่แล้ว

    đội cái rế nồi lên đầu là đỉnh rồi