Swiftpack.co -  SyncServerII/iOSFacebook as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
SyncServerII/iOSFacebook
Facebook sign-in for iOS client for SyncServerII.
.package(url: "https://github.com/SyncServerII/iOSFacebook.git", from: "0.2.0")

iOSFacebook

  1. Add your app as an app to Facebook (see https://developers.facebook.com). This will give you the app id and display name as below.

  2. Add the following in your Info.plist

	<key>FacebookAppID</key>
	<string>PUT-YOUR-APP-ID-HERE</string>
    
	<key>FacebookDisplayName</key>
	<string>PUT-YOUR-APP-DISPLAY-NAME-HERE</string>
    
    <key>LSApplicationQueriesSchemes</key>
    <array>
      <string>fbapi</string>
      <string>fbapi20130214</string>
      <string>fbapi20130410</string>
      <string>fbapi20130702</string>
      <string>fbapi20131010</string>
      <string>fbapi20131219</string>
      <string>fbapi20140410</string>
      <string>fbapi20140116</string>
      <string>fbapi20150313</string>
      <string>fbapi20150629</string>
      <string>fbapi20160328</string>
      <string>fbauth</string>
      <string>fb-messenger-share-api</string>
      <string>fbauth2</string>
      <string>fbshareextension</string>
    </array>

See also https://developers.facebook.com/docs/facebook-login/ios/

  1. Add fb as a URL Scheme in your app project in Xcode under the "Info" tab.

  2. Add a Swift Package Manager dependency to this package to your project. E.g.,

    .package(url: "https://github.com/SyncServerII/iOSFacebook.git", .branch("master")),
  1. Use this package in your project. E.g.,
    import iOSFacebook

GitHub

link
Stars: 0
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API