如何从RoR应用程序发布到LinkedIn组?

时间:2012-11-01 17:35:46

标签: ruby-on-rails linkedin

如何将LinkedIn API,OmniAuth-LinkedIn和LinkedIn gem发布信息用于我的LinkedIn群组?

1 个答案:

答案 0 :(得分:1)

如果您正在使用LinkedIn API,那么您只需要进行一次调用:

POST http://api.linkedin.com/v1/groups/{group-id}/posts

并传递您的小组讨论输入:

<post>
  <title>New Group Discussion</title>
  <summary>What does everyone think about platform development?</summary>
  <content>
    <submitted-url>http://developer.linkedin.com</submitted-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>

您可以在此处获取更多详细信息:https://developer.linkedin.com/blog/sharing-content-your-group-discussion-posts