如何使用asp.net在linkedln中发表评论? [英] how to Post comment in linkedln using asp.net ?
本文介绍了如何使用asp.net在linkedln中发表评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我能够识别,获取链接用户详细信息,如名字,姓氏,位置等,并存储在我的数据库中。
我使用LinkednAPI来实现以上功能,现在我想在特定组中发表评论(将提供组ID)。
Ex: http://api.linkedin.com/v1/groups/12345:(ID,姓名,站点组网址,帖子) [ ^ ]
上述API用于获取组详细信息,但我想发表评论。
建议。
谢谢,Praveen N
解决方案
来自文档 [ ^ ]
创建一个小组讨论帖
与帖子分享内容相当简单。只需对Groups API进行POST调用:
POST
http://api.linkedin.com/ v1 / groups / {group-id} / posts
传递小组讨论输入
< post >
< span class =code-keyword>< title > 新的小组讨论< span class =code-keyword>< / title >
< 摘要 > 什么做每个人都考虑平台开发?< / summary >
< conten t >
< submitted-url > http://developer.linkedin.com/forum < / submitted-url >
< ; submitted-image-url > http:/www.example.com/linkedin .png < / submitted-image-url >
< title > ; 使用LinkedIn构建专业Web < / title >
< description > 查找与在LinkedIn平台上开发相关的文档和答案的绝佳资源< span class =code-keyword>< / description >
< / content >
< / post >
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
解决方案
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
<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>
这篇关于如何使用asp.net在linkedln中发表评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文