According to Facebook v4 changelog, all FB*ViewController were deprecated and we should build our own table view controller to show friends list.
Now, before I put myself working on it, does anyone knows an alternative for FBFriendPickerViewController on Facebook v4?
Thanks
The Facebook SDK for iOS contains component SDKs that you can connect to individually. Drive installs with Mobile App Install Ads. Increase engagement with Mobile App Engagement Ads.
If you use SPM or CocoaPods to integrate the Facebook SDK, see the Upgrade Guide for information on how to update your app. You can also download the latest version of the Facebook iOS SDK, integrate it into your app, and recompile.
GitHub - facebook/facebook-ios-sdk: Used to integrate the Facebook Platform with your iOS & tvOS apps. This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. Failed to load latest commit information. Remove the publish_cocoapods step from CircleCI since its not possibl…
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).
FBFriendPickerViewController is no longer available in Facebook SDK 4.X onwards
Instead, you have to call Graph API to fetch the friend list:-
https://graph.facebook.com/USER_ID/invitable_friends
For more information see the docs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With