Search code examples
iosipadlinkedin-apiurl-scheme

LinkedIn URL scheme to open company profile in iPad


I have tried the below code for open LinkedIn company profile in the native LinkedIn iPad app. It doesn't work.

 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"linkedin://company?id=companyCode"]];

Solution

  • Try using this scheme:

    "linkedin://company/companyCode"
    

    So your code will be something like that:

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"linkedin://company/companyCode"]];