Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences BW Facebook Login and FBSDKLoginKit Pod and which one to use?

I was trying to integrate facebook login in my iOS app. I am reading the official docs for this purpose.

On this getting started link. Documentation say to use the following pods

pod 'FacebookCore'
pod 'FacebookLogin'
pod 'FacebookShare'

So i understood that i have to use pod FacebookLogin and that's it.,

BUT

On this iOS login Docs page, Docs say to use

 pod 'FBSDKLoginKit'
  1. I am totally confused about which one to use.
  2. What's the difference between the two?

Note: I just want to perform facebook login in my app and nothing else.

like image 736
Awais Fayyaz Avatar asked Jul 21 '18 10:07

Awais Fayyaz


People also ask

How do I connect my iOS to Facebook?

Steps. Tap the Settings app on the device. Scroll and tap the "Facebook" button, which can be found just a little bit below the button labeled Twitter. Tap and enter your Facebook account credentials (username and password) into the login screen's appropriate boxes.

What is Fbsdkcorekit?

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.


1 Answers

If you are using swift then use 'FacebookCore' and FacebookLogin'. For objective C use 'FBSDKLoginKit'. But if you see internally in podfile, they use objective C code via bridging.

like image 174
shivi_shub Avatar answered Sep 19 '22 02:09

shivi_shub