I want to directly open LinkedIn app (already installed) from our app. I followed the LinkedIn deep link URL scheme like:
linkedin://profile?id=35932112
The LinkedIn app opens and shows the target person. However, when it is above 3rd degree connection, it shows very limited information and asks to upgrade to premium account. But if I navigates to other persons within LinkedIn app, I can still see the full profile even above 3rd degree connection.
Did I miss anything? Is it LinkedIn policy or I have to do some more configurations?
Thank you very much in advance!
Try using the profile's public url instead, it's working well for me. The LinkedIn app will intercept it and open to the profile instead. The url is usually right under the profile picture and has the following format:
https://www.linkedin.com/in/userid
That's right, you cannot display information based on people that are not your primary connections. On newer versions of the app they restricted it even more; now it returns an error for second and third connections.
There is a way to do that but it's not that straight forward. Not sure what your logic is like and will it be helpful but it's something.
So when you login with LinkedIn you can request the public-profile-url property, it will be returned in the result as publicProfileUrl and then you can save it in your backend. This way it will be saved for all the users that has authenticated for the app. When you try to open that link it will open the LinkedIn app or Safari with that profile.
PS: Hope this helps someone, I can see you question is some time ago :)
Related
Okay, So I have seen multiple issues(answered and unanswered) regarding Instagram API, haven't found anything related to my problem.
I have made an app in iOS which lets users download only profile pictures of any Instagram user in HD resolution.
After a long struggle, I have found all of the related API's And I am able to get the HD variant of Profile pictures in the app. Now the thing is those APIs read the phone's browser cookies that if I have authenticated the user in Instagram or not. And if I don't authenticate before the HD profile query id doesn't give me the desired data i.e no HD profile Url.
It means that I can only get the Instagram authentication before letting my users search and query for the HD profile pictures. So I figured out and added that using Instagram Basic Display API.
The problem came when I submitted the app for the Facebook developer review. They keep saying that Instagram profile permission(s) should not be used to authenticate new users in your app.
And it's the 3rd time I told them that the app flow requires the authentication just to read cookies and I am not using any of the user's data for personal authentication, but they are not letting the app pass the review.
My need is can someone help me out if I am really using the wrong authentication process or maybe I am not able to convey my need to the reviewer. So what do I tell them, I am sure there is something going on wrong because I have seen some apps doing the same process in their apps.
Thanks for helping me out
I'm building a web app using rails. In this site I basically have several profiles, each of them linked to a specific profile picture from twitter.
Instead of install a twitter gem or similar, I just use this line of code:
https://twitter.com/<%= influencer.username %>/profile_image?size=original
It works great, but what I've discovered is that in some devices the browser can't show them. Specially on phones.
Any ideas of why this thing doesn't work?
Or, is there another way to do this?
The website (super beta) is: https://influencerlist.io
Thank you!
That’s because on phones, Twitter redirects to mobile.twitter.com, and the image URL is not available on mobile.twitter.com (try this in a browser for yourself). The correct way to obtain the user profile image would be via the Twitter API and querying the user object from /1.1/users/show.json (or, via the users/lookup batch endpoint).
I just want to know if you think it's possible to get credentials from safari cookie to log someone directly in web view in my app.
I have a "linkedin connect" way to connect into my app.
For the moment, if you have the Linkedin application installed on your device, you could connect in one click. But if you don't have it locally, I opened a webview on linkedin to ask you if you are ok to give us access to your information to create your profile. But currently the user has to re-enter their email and password manually since they don't benefit from the browser's login data.
I would like to fill the field or connect directly the user if he was connected in safari, Do you think it's possible, if yes, what can I used to do this?
Thank you!
NO, thats not possible. Safari is different app than your app and hence web view is safari don't share anything with web view with your app until it has extension to share.bjects of UIWebView class and Safari or other browsers are different and sandboxed. You can check here (official documentation.)
What you want with Linked in is possible with Facebook -- because face book login authentication method provides way to share data between apps -- But in Linkedin there is no similar way.
As given in the answer here, Safari and UIWebview don't seem to share cookies as they are sand boxed from one another.
It seems this used to be possible, but not anymore. Here's my dilemma: I'm creating an iPad educational software app, and I want to let students log in with their Google Apps for Education accounts using OpenID-Connect.
... I guess my first question is: is the current Google+ SDK the right way to perform login against GAFE? What about the forthcoming "Google Classroom"?
So say I do this - the student pushes the "login with google button", the sdk performs an app switch to safari and lets the user log in to their google account, push the permissioning buttons, and app-switches back to my app, and the user is now logged in. Fine. At the end of the class period, the user logs out of my app and hands in their device. The next period, though, another student logs in, and because the first user has forgotten to also log out of google in safari, the second user has access to their account.
... My second question is: is this a valid concern? Seems like this would be a pretty common usage pattern.
... Third question - can I get around this? Can I make Google+ sdk use an internal UIWebView, or no web stuff at all? This is what seems like used to be possible, but no longer...
EDIT: Spoke to google tech support for apps-for-enterprise (thx M!) and they say that there is no way to authenticate against google openid-connect without going through a browser. This is, I believe, a security problem - students being kids, they will forget to log out of the browser, and the next kids will get into mischief. Oh well.
The GPPSignin class describes itself as:
It provides single sign-on via the Google+ app (if installed), Chrome
for iOS (if installed), or Mobile Safari.
Internal web views are not mentioned. You may need to implement OAuth2.0 on your own to allow your internal UIWebView to manage authorization.
Google publishes an API which includes a method to signOut. You can use it at your app's discretion in addition to the SDK requirement that a user be able to sign out manually.
https://developers.google.com/+/mobile/ios/api/interface_g_p_p_sign_in
I am working on a web application, I am using graph API with php sdk for accessing the facebook features.
I am using facebook connect and it is working fine for login, but every time a user come to my site and get login by using the login button.
I want to make this automatic, Is there any way that when users come to my site they get logged in automatically.
How can I achieve this..
anybody help please.
thanks in advance.
Danish
If the user does not explicitly authorize you to get some private data from his Facebook account (included his Facebook ID), you can not get them.
I cannot think of a way to get the Facebook ID without the authorization of the user. So no way for you to automatically log in users.
Hope that helps.
I would say that maybe you shouldn't make it to connect automatically, some viewers of your website might not be very happy that as soon as they get there they are automatically logged in with their facebook profiles, pictures, information, etc.
Also because there could be another one's facebook already connected on the same computer, but still...
My advice would be to just leave a button to login when the user wants.