【问题标题】:Share content into LinkedIn Company Page将内容分享到 LinkedIn 公司页面
【发布时间】:2015-03-28 06:07:11
【问题描述】:

这可能是一个无意义的问题,但我无法从 API 文档中推断出:是否可以将内容(例如,来自可能有关于某事的有趣文章的网站)共享到 LinkedIn 公司页面?您似乎可以通过 API 从公司页面共享,但我想知道您是否可以发布公司页面的链接/URL。

任何帮助表示赞赏。谢谢。

【问题讨论】:

    标签: linkedin linkedin-jsapi


    【解决方案1】:

    您可以通过 API 代表您在 LinkedIn 中担任管理员的公司进行共享。文档可在此处获得:https://developer.linkedin.com/docs/company-pages#company_share

    简而言之,您将以下负载 POST 到此端点:

    https://api.linkedin.com/v1/companies/{id}/shares?format=json
    
    <share>   
      <visibility>
        <code>anyone</code>
      </visibility>   
      <comment>There are a lot of great career opportunities here!</comment> 
    </share>
    

    【讨论】:

    • 如果我错了,请告诉我,但您不应该在 url 中添加 'format=json',因为您在 XML 中传递数据。
    猜你喜欢
    • 2014-06-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-22
    • 1970-01-01
    相关资源
    最近更新 更多