Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can we send message to our linkedin connection using linkedin API
    primarykey
    data
    text
    <p>I use below Code for send message to my linked in connection using linked in API</p> <pre><code>NSString *xml; xml=[NSString stringWithFormat:@"&lt;?xml version='1.0' encoding='UTF-8'?&gt; &lt;mailbox-item&gt; &lt;recipients&gt; &lt;recipient&gt; &lt;person path='/people/~'/&gt; &lt;/recipient&gt; &lt;recipient&gt; &lt;person path=\"/people/%@\" /&gt; &lt;/recipient&gt; &lt;/recipients&gt; &lt;subject&gt;Congratulations on your new position.&lt;/subject&gt; &lt;body&gt;You are certainly the best person for the job!&lt;/body&gt; &lt;/mailbox-item&gt;",idProfileRequest]; NSLog(@"xml %@",xml); NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://api.linkedin.com/v1/people/~/mailbox"]]; [activityIndicator startAnimating]; OAMutableURLRequest *request = [[OAMutableURLRequest alloc]initWithURL:url consumer:ApplicationDelegate.consumer token:ApplicationDelegate.accessToken callback:nil signatureProvider:nil]; NSData *myRequestData = [xml dataUsingEncoding:NSUTF8StringEncoding]; [ request setHTTPBody: myRequestData ]; [request setHTTPMethod:@"POST"]; //[request setValue:@"json" forHTTPHeaderField:@"x-li-format"]; OADataFetcher *dataFetcher = [[OADataFetcher alloc]init]; [dataFetcher fetchDataWithRequest:request delegate:self didFinishSelector:@selector(dataPost:didFinish:) didFailSelector:@selector(dataPost:didFail:)]; </code></pre> <p>I am using synedra LinkedIn-OAuth-Sample-Client OAuth library.</p> <p>and I have also same problem for OAuth signature.</p> <p> 401 1385620251922 1PLI8KSALM 0 [unauthorized]. OAU:x19azkkc5f2p|21d8df03-7529-41c5-af85-81d8a6f3accb|*01|*01:1385620251:WFDMNR7UwlJcEK8inflitVvX+0M= </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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