IOS Apps login via Linkedin authentication SDK - ios

i'm created a IOS app in Xcode7 using swift , and now i am trying to integrate LinkedIn authentication to login into my iOS app.
So i created a account and application in LinkedIn developer site..
But my requirement is to use the same LinkedIn application account to login into my all iOS apps.is it possible?
i heard about deep linking concept.Any one know more about that?

Is it possible?
Yes it is. In your app preferences, go to Mobile > iOS preferences, then add the bundle ID of each app you want to be linked with LinkedIn.
Deep linking : Any one know more about that?
It allows you to bring users into a more specific part of your app that is not home page. For example, after opening a notification, you can bring user to a specific post into your app. That is an example of using deep links. Nevertheless, I don't think it is what you are searching for.

Related

Linkedin iOS SDK for Login Authentication w/ Native Linkedin App

I recently downloaded "Linkedin Groups" and "Linkedin Sales Navigator" on iOS and the login experience was great.
When I loaded up the app (Linkedin Groups), the first onboarding screen already knew who I was and presented me with an option that had my Linkedin Profile Photo and said "Continue as Anthony".
I am curious to know how Linkedin does this and if we have the ability to create this feature as well? I'm assuming they were able to pull (my avatar and name) from my already installed native Linkedin app (the regular Linkedin app)?
I am currently building an app and will be using Linkedin SDK for Login Auth but can't seem to find where I can access this information "pre-auth" of my app.
Any thoughts? Or can only Linkedin do this because they "own" both apps?
Thanks!

Sharing on Linkedin using UIActivityViewController

I would like to create a custom activity controller with Facebook, Twitter, Google+, Linkedin and Pinterest share options.
GooglePlusShareActivity and PinterestShareActivity are what I have found for Google+ and Pinterest.
Is there any customized implementation of Linkedin for this purpose?
LinkedIn has finally released an iOS SDK: https://developer.linkedin.com/docs/share-on-linkedin, https://developer.linkedin.com/docs/ios-sdk
Looks pretty thorough so hopefully this makes it easy!
Only issue i see so far is this: "Remember that the Mobile SDK-enabled applications require the official LinkedIn iOS app to be installed on the device to function properly". Not sure if that means just to share, the user needs the app because that would be a little frustrating. In iOS 8, if the user has the app installed, there's a built-in extension already. So the SDK would solve iOS 7 (be pretty small when 9 comes out) and more complicated scenarios than just sharing i suppose
you can implement linkedin sharing in ios using following steps :
Integration of Linkedin Api in IOS
The LinkedIn platform provides you the ability to register and sign-in to your application or website with their LinkedIn identity and also allow user to connect their LinkedIn account to your application, in order to easily publish their activities to their linkedIn account.
Get started to Integrate Linkedin Api in iOS App :
1.) Create a Project in your xcode using “Empty Application” in your Xcode and note their bundle id which will be needed when you register your app on Linkedin Website.
2.) Create a UIViewController class with their xib ( like LoginLinkedInViewController ) and set it as a rootViewController of Window in AppDelegate class.
3.) First of all,you have to register your app here https://www.linkedin.com/secure/developer by using your current linked account or create a new one linkedin account.
4.) After completion of registation of your app on Linkedin website, you will get a API Key,Secret Key ,OAuth User Token and OAuth User Secret.
Here ,we are a using a Library OAutho for integrating with user linkedin account and after login User can post a status to their linkedin account.
5.) First of all ,you have to download Library from here and unzip it. Now you have to drag and drop OAuthLoginView,ASIHTTP and OAuthStarterKit folder in Project Navigator of Xcode.
6.) For Removing Linking error in xcode ,you have to add -all_load,-ObjC and -lc++ flag as shown
7.) Expand “Link Binaries with Libraries”. Select the “+” button, and add these frameworks SystemConfiguration.framework ,CFNetwork.framework and libz.dylib.
Now enter the code to share on linkedin
you will get required code here Linkedin Share in ios

iOS Facebook SDK: which login system is better?

I am developing a iOS application which allows users to login by using their Facebook account.
I managed to implement the login procedure thanks to official tutorial I found here https://github.com/facebook/facebook-ios-sdk. I found here https://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/authenticate/ another tutorial which looks pretty different since in the first tutorial the user signs in through Safari, instead in the second tutorial the native Facebook App is used.
Among these two systems, which one is better? Perhaps by using Safari I could avoid any issue concerning back compatibility with older versions of iOS?
Thanks!
If you're using the official Facebook SDK, here's what happens:
If a user does have the Facebook app installed, they'll be taken to it to authenticate and login to your app.
If the user does not have the Facebook app installed, they'll be taken to Safari to authenticate and login to your app.
Either way, the login process is the same. After they authenticate, they're returned to your app using a specific URL scheme so that you can continue with what you're doing.
Finally, if you're targeting iOS 6 only, you can take advantage of the single sign on features built into iOS. Check the docs for more information on that.

facebook dialog ios for login

I have followed the example of Facebook SDK for iOS (Hackbook) and it works well however whenever the person is logging in the app takes take the person to Safari or the Facebook app (if you have it installed on the device). Is there a way I can call the permission without leaving the app.
Thanks
there once was. But facebooks says that you should use SSO (single sign on) with the official facebook app. So even if you'd modify the files of the facebook-ios-sdk, it would probably not work.

Facebook registration

I need to add the 'Share' on Facebook and Twitter buttons to my iPhone app. Before I get any further, do I have to go register on Facebook Developers, under Mobile Apps, in order to get an App ID (and then implement the Single Sign On)? How about Twitter?
First of all you need to register your app in facebook and twitter under development
For twitter go to this http://dev.twitter.com and for the facebook go to this http://developers.facebook.com/docs/guides/mobile/
when you register your mobile app you will get api key go to http://www.getsharekit.com . here is the open source api for share item (text, image , file , link ) to share on facebook , twitter and many more.
just check it.
Thanks
Yes, you do need to register with Facebook and be issued an App ID. Without this, you won't be able to do very much at all with their API. All the information you will need is available here:
https://developers.facebook.com/
...as well as the facilities to create your app and App ID.
If you are intending to use Facebook and Twitter official SDK, you will have to get ID from their respective developer console. For Facebook the official SDK can be downloaded here and for twitter the official SDK is here.
Updated : From iOS 6 onwards, you can use Apple's own Social Framework to share with Facebook and Twitter.

Resources