URL Scheme for Linkedin - url

I'm having an ios App. I'm able to open the linked native app from my ios App using the custom url scheme "linkedin://". But how to post a link to the linkedin native app through my ios App. Do we have any particular parameters for that?
What are the supported parameters for linkedin URL scheme?
Thanks, Thiagesh

Linkedin has changed the scheme, now it works in this way:
linkedin://profile/[id]

You can jump to a profile with:
linkedin://#profile/9999
I just tested this on my iPhone 5. Works like a charm.
There's more conversation here, but not much content.
http://developer.linkedin.com/forum/link-open-linkedin-profile-browser-ios-linkedin-app

If you get LinkedIn profile via LinkedIn REST API, then you can find publicProfileUrl field in JSON:
{
...
"publicProfileUrl": "https://www.linkedin.com/in/eugene-brusov"
...
}
Then this line of code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"https://www.linkedin.com/in/eugene-brusov"]];
redirects you to target profile opened in the native LinkedIn app if it's installed or to the profile opened in iOS default browser.
Tested on iOS 10.0.2 and 11.0.1.

Working on iOS 8.3:
linkedin://profile?id=[id]
Take a look to: http://pureoxygenlabs.com/10-app-url-schemes-for-marketers/

Related

In Cordova/Ionic, How to open a Facebook profile link in the native app?

I am trying to open a user's profile in the native Facebook app on ios, if installed. The app is built on Cordova/Ionic and I use ngCordova inAppBrowser plugin.
Twitter links, for example, work just fine with a regular web twitter link (https://twitter.com/[username]). Facebook on the other hand, do not.
I have tried many different variations:
https://www.facebook.com/[username/user_id]
https://facebook.com/[username/user_id]
fb://profile/[username/user_id]
fb://profile?id=[user_id]
None worked.
What am I doing wrong? Is it even possible with the current version of the Facebook app?
Thanks
Just use: 'fb://profile'
In my case worked for both Android and iOS:
$scope.openFb = function() {
$window.open('fb://profile', "_system");
};
See this answer for further reference on custom url schemes supported by Facebook iPhone app:
What are all the custom URL schemes supported by the Facebook iPhone app?
Try this:
fb://profile?id=[username|user_id]
I've tested on Safari, it works as expected,

ios Facebook custom url scheme to open user profile

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"fb://profile/user.x"]];
fb://profile/[your ID] and the facebook app will open to your page.
fb://profile/(fbid)
I followed the steps above to open Facebook native app in iOS 8 but it does not work, is there a way to do this?
I mean twitter works perfect whats wrong with Facebook not updating their API!.
Thanks
As Ming Li pointed out in his comment, this is not officially supported. You can't deeplink to a user profile in the Facebook app.

iPhone iOS Amazon Scheme / URI Not Working Anymore amzn:// version 4.3.1 Deep Linking

We were using scheme something like
amzn://content/item?id=<some valid id>
And was working fine, but now as of Amazon App 4.3.1, this is no longer working, the scheme is no longer provided.
So trying the scheme something like
com.amazon.mobile.shopping://content/item?id=<some valid id>
we get the message in the Amazon App
Amazon Mobile is currently unavailable for content.
Any hints on this?
Try this scheme on iOS device.
com.amazon.mobile.shopping://www.amazon.com/products/B00KWFCV32/
This url scheme opens the in-app product detail page directly
com.amazon.mobile.shopping.web://www.amazon.com/gp/product/product-id

iOS Facebook SDK 3.0 Login not redirecting to origin app

I recently updated my ios app to facebook sdk 3.0.
I did everything like describes here:
https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/
When I hit the Login with Facebook button everything works fine. The FB app is coming up, asks me for permissions BUT -> it doesn't redirect to come back to my app. It just stays with the FB app.
With the old SDK everything worked fine. Is it that the new SDK is not working with iOS 5?
I don't even know how to debug this...
Thanks for any kind of help!
UPDATE
It has something to do with my URL Schemes. Seems like ios SDK 3 doesn't like characters in the id. My former Scheme entry was fb0000000new where as the 0 are replaced by the app id. When I change that to just fb0000000 it works.
Would be good to have a link in the documentation though!
just try this its worked out for me
http://www.icodeblog.com/2011/03/28/facebook-sdk-posting-to-user-news-feed/

Custom URL scheme for new Facebook iOS app

Does anyone know what the custom URL scheme is to open a Facebook page in their new iOS app. I was using fb://page/PAGE_ID however this doesn't seem to be working in the recently updated Facebook iOS app, it just opens the app but doesn't go to the required page.
I got this answer at developer.facebook.com:
Replace the word page with profile and it will work. Your new statement will be:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"fb://profile/247377102029332"]];
Use https://graph.facebook.com/YOUR_USERNAME to get your page ID.
In your iOS app use: fb://profile/[your ID] and the facebook app will open to your page.
The URL scheme for the iOS Facebook application is:
fb://profile/(fbid)
Same problem here. fb://page/PAGE_ID is not working anymore.
Note that fb://profile/(fbid) wasn't working properly on Facebook 4.x returning a "corrupted" page in both iPad and iPhone. Instead, fb://profile/(fbid)/wall in Facebook 4.x worked well when using an iPad but didn't work with an iPhone.
fb://page/PAGE_ID was the only option that worked on both iPhone and iPad, based on my experience.
I used to use http://wiki.akosma.com/IPhone_URL_Schemes as reference, but it's currently down...
A custom URL scheme is a mechanism through which third-party apps can communicate with each other. It doesn't allow you the provision to open a page in that particular application. It just fires an event to bring the called Application to the foreground. Going through this documentation would further clear your doubts.
The new Facebook app is built using Objective-C as against previous once in HTML5 which used to support URL scheme mechanism. This link gives a hint on that.
http://techcrunch.com/2012/08/23/facebook-for-ios-faster/

Resources