Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LinkedIn group API auto post via PHP

Tags:

linkedin-api

Some one please help me how to post a new discussion in linkedin group using PHP. I would appreciated if some one comes with an example.

Thanks for all replies.

Cute programmer :)

like image 594
Nuhman Avatar asked May 12 '26 11:05

Nuhman


1 Answers

You can access the Groups API using PHP via the latest version of the Simple-LinkedIn library here:

http://code.google.com/p/simple-linkedinphp/

The release notes, covering the additions of the Groups-specific methods. TO answer your question using the library, you'd do something along the lines of the following:

$response = $OBJ_linkedin->createPost(<groupid>, <title>, <summary>);
if($response['success'] === TRUE) {
  // success
} else {
  // failure
}
like image 105
Unpossible Avatar answered May 15 '26 06:05

Unpossible



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!