Wednesday, April 27, 2022

Yammer Embed code

 Yammer Embed code

 

1. IFrame:

<iframe name="embed-feed" title="Yammer" src=https://web.yammer.com/embed/groups/dHlwZSI6IkQiOiIxMDY5OTU3 style="border: 0px; overflow: hidden; width: 100%; height: 100%; min-height: 400px;"></iframe>

 

2. Content Editor Webpart:

<div id="embedded-feed" style="height:500px"></div>

<script type="text/javascript" src=https://s0.assets-yammer.com/assets/platform_embed.js></script>

<script type="text/javascript">

yam.connect.embedFeed({

    container: "#embedded-feed",

    network: "company.com",

    feedType: "open-graph",

    config: {

        defaultGroupId: "w1Z2S3I6Ikdyb3DY5OTU3Nzc1M",

        showOpenGraphPreview: true,

        promptText: "Comment on this page",

        header: false, 

        footer: false

    },

    objectProperties: {

        url: https://sreekanth8.onmicrosoft.com/sites/dev/SitePages/page1.aspx,

        type: "page",

        title: "my test page"

                              }

});

</script>

===

 

Featured Post

Azure OpenAI Chat and DALL-E in C# and Python

Azure OpenAI Chat in C#: // Install the .NET library via NuGet: dotnet add package Azure.AI.OpenAI --version 1.0.0-beta.5   using System; u...

Popular posts