Create a text file, upload to document library with the following content:
<!DOCTYPE HTML>
<html>
<head>
<style>
#embedded-feed{
border:1px solid #f0f0f0;
padding:2px;
height:500px;
width:278px;
}
</style>
</head>
<body>
<script data-app-id="hyB2pTvrL36Y50py8EWj6A" src="https://assets.yammer.com/platform/yam.js"></script>
<script>
yam.connect.embedFeed(
{ container: '#embedded-feed'
, network: 'xxxx.com'
//, feedType: 'group' // can be 'group', 'topic', or 'user'
//, feedId: '2712' // example feed ID for BSC group
, config: {
header: false
}
});
</script>
<div id="embedded-feed"></div>
</body>
</html>
In a webpage, insert a content webpart and link to this file, done.
Great post! Works for Sharepoint 2013 Foundation.
ReplyDelete