facebook-objc-sdk

Used to integrate the Facebook Platform with your iOS & tvOS apps.

Github星跟蹤圖

Facebook SDK for iOS

Platforms
Build Status

CocoaPods
Carthage compatible

This open-source library allows you to integrate Facebook into your iOS app.

Learn more about the provided samples, documentation, integrating the SDK into your app, accessing source code, and more
at https://developers.facebook.com/docs/ios

NOTE: By default, the Facebook SDK for iOS is installed in ~/Documents/FacebookSDK

TRY IT OUT

Swift Package Manager (available Xcode 11.2 and forward)

  1. In Xcode, select File > Swift Packages > Add Package Dependency.
  2. Follow the prompts using the URL for this repository and a minimum semantic version of v5.10.0
  3. Check-out the tutorials available online at: https://developers.facebook.com/docs/ios/getting-started
  4. Start coding! Visit https://developers.facebook.com/docs/ios for tutorials and reference documentation.

Note:

If you explicitly DO NOT want to include Swift, import FBSDKCoreKit FBSDKLoginKit and FBSDKShareKit

For projects that include Swift, use FacebookCore, FacebookLogin, and FacebookShare

CocoaPods

  1. If you explicitly DO NOT want to include Swift files, add the following to your Podfile:

     pod 'FBSDKCoreKit'
     pod 'FBSDKLoginKit'
     pod 'FBSDKShareKit'
    

    If you would like to use versions of the pods that include Swift, add the following to your Podfile:

     pod 'FBSDKCoreKit/Swift'
     pod 'FBSDKLoginKit/Swift'
     pod 'FBSDKShareKit/Swift'
    
  2. Test your install by adding import FBSDKCoreKit to your AppDelegate

  3. Check-out the tutorials available online at: https://developers.facebook.com/docs/ios/getting-started

  4. Start coding! Visit https://developers.facebook.com/docs/ios for tutorials and reference documentation.

FEATURES

GIVE FEEDBACK

Please report bugs or issues to our designated developer support team -- https://developers.facebook.com/support/bugs/ -- as this will help us resolve them more quickly.

You can also visit our Facebook Developer Community Forum,
join the Facebook Developers Group on Facebook,
ask questions on Stack Overflow,
or open an issue in this repository.

LICENSE

See the LICENSE file.

Security Policy

See the SECURITY POLICY for more info on our bug bounty program.

DEVELOPER TERMS

  • By enabling Facebook integrations, including through this SDK, you can share information with Facebook, including
    information about people’s use of your app. Facebook will use information received in accordance with our
    Data Use Policy, including to provide you with insights about the
    effectiveness of your ads and the use of your app. These integrations also enable us and our partners to serve ads on
    and off Facebook.
  • You may limit your sharing of information with us by updating the Insights control in the developer tool
    https://developers.facebook.com/apps/{app_id}/settings/advanced.
  • If you use a Facebook integration, including to share information with us, you agree and confirm that you have
    provided appropriate and sufficiently prominent notice to and obtained the appropriate consent from your users
    regarding such collection, use, and disclosure (including, at a minimum, through your privacy policy). You further
    agree that you will not share information with us about children under the age of 13.
  • You agree to comply with all applicable laws and regulations and also agree to our Terms
    https://www.facebook.com/policies/, including our Platform Policies https://developers.facebook.com/policy/.and
    Advertising Guidelines, as applicable https://www.facebook.com/ad_guidelines.php.

By using the Facebook SDK for iOS you agree to these terms.

主要指標

概覽
名稱與所有者facebook/facebook-ios-sdk
主編程語言Swift
編程語言Objective-C (語言數: 8)
平台
許可證Other
所有者活动
創建於2010-06-24 22:11:03
推送於2025-05-21 21:57:57
最后一次提交
發布數247
最新版本名稱v18.0.0 (發布於 )
第一版名稱v1.0 (發布於 2012-01-18 11:21:33)
用户参与
星數7.9k
關注者數641
派生數3.6k
提交數4.6k
已啟用問題?
問題數1423
打開的問題數245
拉請求數66
打開的拉請求數5
關閉的拉請求數890
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?