Note that there are some explanatory texts on larger screens.

plurals
  1. POLinkedIn Integration r_network and w_messages request not working together in iOS sdk
    text
    copied!<p>I have done LinkedIn integration and I have to send message to particular users.For that first I am fetching connections and then sending messages.</p> <pre><code>(void)requestTokenFromProvider { OAMutableURLRequest *request = [[[OAMutableURLRequest alloc] initWithURL:requestTokenURL consumer:self.consumer token:nil callback:linkedInCallbackURL signatureProvider:nil] autorelease]; [request setHTTPMethod:@"POST"]; OARequestParameter *nameParam = [[OARequestParameter alloc] initWithName:@"scope" value:@"r_basicprofile+w_messages+r_network"]; NSArray *params = [NSArray arrayWithObjects:nameParam, nil]; [request setParameters:params]; OARequestParameter * scopeParameter=[OARequestParameter requestParameter:@"scope" value:@"r_basicprofile"]; [request setParameters:[NSArray arrayWithObject:scopeParameter]]; OARequestParameter * networkParameter=[OARequestParameter requestParameter:@"scope" value:@"w_messages"]; [request setParameters:[NSArray arrayWithObject:networkParameter]]; OARequestParameter * netParameter=[OARequestParameter requestParameter:@"scope" value:@"r_network"]; [request setParameters:[NSArray arrayWithObject:netParameter]]; OADataFetcher *fetcher = [[[OADataFetcher alloc] init] autorelease]; [fetcher fetchDataWithRequest:request delegate:self didFinishSelector:@selector(requestTokenResult:didFinish:) didFailSelector:@selector(requestTokenResult:didFail:)]; } </code></pre> <p>When I am sending request for both w_messages and r_network then one of them is not working,getting output as "Access To connections Denied" Or "Access to sending invitation denied."</p> <p>If I use both separately with r_basicprofile then they are working fine but when I use them together one of them's access is denied.I am not getting any clue.Please Help.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload