1
私のiPhoneアプリケーションからlinkedInの壁に投稿する必要があります。タイトル、説明、リンク先のリンク先
私はthe sourceからコードをダウンロードしています。壁コード上の投稿のためのこの
が
- (RDLinkedInConnectionID *)updateStatus:(NSString *)newStatus {
NSURL* url = [NSURL URLWithString:[kAPIBaseURL stringByAppendingString:@"/v1/people/~/current-status"]];
newStatus = [newStatus length] > kRDLinkedInMaxStatusLength ? [newStatus substringToIndex:kRDLinkedInMaxStatusLength] : newStatus;
NSData* body = [RDLinkedInRequestBuilder buildSimpleRequestWithRootNode:@"current-status" content:newStatus];
return [self sendAPIRequestWithURL:url HTTPMethod:@"PUT" body:body];
}
でこれが唯一の現在のステータスを投稿するためのコードですが、私はFacebookのようなタイトル、説明、URLを投稿する必要があります。
どのように私はこれを行うことができます、いずれかが私を助けてください。