2017-12-07 12 views
0

私は自分のウェブページにいくつかの社会プロフィールタイムラインのスレッドを読み込もうとしています。LinkedInのプロフィール/会社の更新情報を表示する(タイムライン)

Twitterのために、それは設定ページからロードすることができウィジェットを持っており、それが

<a class="twitter-timeline" href="https://twitter.com/TwitterDev?ref_src=twsrc%5Etfw"> 
 
    Tweets by TwitterDev 
 
</a> 
 
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"> 
 
</script>

のようになりますが、LinkedInののために、それが与えるものではありません。会社のフィードを表示する方法(?)。

enter image description here

答えて

0

非常に非常に長いローディング溶液(対応するIDとCOMPANY_IDを置き換える):

<div id="linkedin-content"></div> 

<script> 
$.get("https://cors-anywhere.herokuapp.com/http://www.linkedin.com/biz/{COMPANY_ID}/feed?start=0&v2=true", function(data) { 
    $("#linkedin-content").html($(data).find(".linkedin-article")); 
}); 
</script> 
関連する問題