eblackey
05/27/2021, 1:17 PM<div id="embedded-feed" style="height:800px; width:1024px;"></div>
<script type="text/javascript" src="<https://canary-azure.assets-yammer.com/assets/platform_embed.js>"></script>
<script type="text/javascript">
/*
* Build simple URL that will work across view/edit modes
* and can handle additional query strings appended.
* Otherwise, a new conversation will be initiated for each unique URL
*/
const params = new URLSearchParams(location.search);
const thisUrl = window.location.href.split('?')[0] + '?id=' + params.get('id');
/*
* Embed yammer feed. Some of these settings
* are O365 account specific. You should confirm
* settings with your O365 administrator.
*/
yam.connect.embedFeed({
container: "#embedded-feed",
network: "<ENTER YOUR YAMMER NETWORK ID>",
feedType: "open-graph",
config: {
use_sso: true,
header: false,
footer: false,
promptText: "Discuss this transaction",
showOpenGraphPreview: false,
hideNetworkName: false,
theme: "light",
defaultGroupId: "<ENTER YOUR YAMMER COMMUNITY ID AFTER CONVERTING FROM BASE64>"
},
objectProperties: {
url: thisUrl.toString(),
fetch: false,
type: "page"
}
});
</script>
michoel
05/28/2021, 1:59 AM