Click here to Skip to main content
15,172,951 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am able to authenicate, fetch linkden user details like first name, last name , location etc and store in my database.

I used LinkednAPI to achive the above functionality,now I want to post comment in specific group(group id will be provided).

Ex: http://api.linkedin.com/v1/groups/12345:(id,name,site-group-url,posts)[^]

The above API is fro fetching group details,But i want to post comment.


Please suggest.

Thanks, Praveen N
Posted
Updated 10-May-14 3:10am
v3
Comments
DamithSL 10-May-14 8:05am
   
have you able to authenticate and do something with the API? can you update the question with what you tried so far? have you check linkedin Group API documentation?
[no name] 10-May-14 8:11am
   
updated. could you please check
[no name] 10-May-14 8:16am
   
Suggest what?

1 solution

From the documentation[^]
Creating a Group Discussion Post
Sharing content with a post is fairly straight forward. Simply make a POST call to the Groups API:
POST
http://api.linkedin.com/v1/groups/{group-id}/posts
Passing in the group discussion input
XML
<post>
  <title>New Group Discussion</title>
  <summary>What does everyone think about platform development?</summary>
  <content>
    <submitted-url>http://developer.linkedin.com/forum</submitted-url>
    <submitted-image-url>http:/www.example.com/linkedin.png</submitted-image-url>
    <title>Build the Professional Web with LinkedIn</title>
    <description>A great resource for finding documentation and answers related to developing on the LinkedIn Platform</description>
  </content>
</post>
   
Comments
[no name] 10-May-14 9:33am
   
Thank you will give a try and update you at the earliest :)
[no name] 11-May-14 3:12am
   
Thank You DamithSL it worked :) tons of thanks :) you are techi guru :)

Regards,
Praveen Nelge
DamithSL 11-May-14 3:16am
   
You are most welcome! I'm Glad it helped you .I only provide the documentation details. You are the one who actually fond the solution. Post your complete code as answer. it will helpful for many others in future.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900