cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
theBIbutler Member
Member

Yammer feed in Web Content Widget

Hi,

 

Has anyone managed to embed a Yammer feed into a Web Content Widget?

 

Struggling to get it to work.....

 

Cheers

 

Mark

8 REPLIES 8
djnww Established Member
Established Member

Re: Yammer feed in Web Content Widget

I'd like to know as well.

The community has actually requested for PowerBI and Yammer integration. As such, I think the answer is no. But hopefully there's a workaround.
djnww Established Member
Established Member

Re: Yammer feed in Web Content Widget

@theBIbutler

 

I tried embedding one of our company's yammer feeds into a dashboard tile and it seems that Power BI and Yammer do not authenticate each other's credentials, even though we are all on the same network, Office 365, and Active Directory.

 

I could have approached this the wrong way. Anyone have any ideas ?

 

Our plan is to embed individual yammer feeds into their related dashboards. This will get our users talking, collaborating, and analysing dashboards/reports on one single platform.

 

example.JPG

 

 

theBIbutler Member
Member

Re: Yammer feed in Web Content Widget

Hi,

 

I tried it like this using the Yammer embed code:

 

<div id="embedded-feed" style="height:800px;width:400px;"></div>
<script type="text/javascript" src="https://assets.yammer.com/assets/platform_embed.js"></script>
<script type="text/javascript"> yam.connect.embedFeed({
 container: "#embedded-feed",
 network: "##########",
 feedType: "group",
 feedId: "##########",
 config: {
             use_sso: true // this line enables SSO
             , header: true
             , footer: true
             , showOpenGraphPreview: false
             , defaultGroupId: ##########      // specify default group id to post to
        }});
</script>

 

And tried it with and without SSO but no joy either way.  Tested the code in an html file and it worked fine in my browser.

 

I've logged a support ticket so will see what they say...

 

Cheers

 

Mark

djnww Established Member
Established Member

Re: Yammer feed in Web Content Widget

Thanks Smiley Happy Please share your results. Looking forward to some good news.
theBIbutler Member
Member

Re: Yammer feed in Web Content Widget

Cracked it! Smiley Very Happy

 

Changed tack and went for an iframe route, managed to get it working!!

 

<iframe class="yj-embed-widget yj-embed-feed" src="https://www.yammer.com/platform_embed/feed?container=%23embedded-feed&network=###########&network_permalink=#########&feedType=group&feedId=#########" style="border: 0px none; overflow: hidden; min-height: 26px; width: 100%; height: 100%;" name="embed-feed" id="embed-feed" frameborder="none"></iframe>

 

 

I had some issues with being able to log in to Yammer via the widget but solved these by adding powerbi.com and yammer.com to Trusted Sites.

 

Very happy to get this working, looks smart!!

 

Cheers

 

Mark

IvanMislav Regular Visitor
Regular Visitor

Re: Yammer feed in Web Content Widget

Great,

Is it maybe possible:

 

  1. To remove options to post messages and reply
  2. To set source only for All company or My feed
  3. To limit number of post shown to only latest 5, for example
theBIbutler Member
Member

Re: Yammer feed in Web Content Widget

Hi,

 

  1.  I don't think so
  2.  For My Feed just remove feedType and feedID parts of the URL in the iFrame.  Don't think you can specify All Company.
  3.  I don't think so

Sorry, not much help!!

 

Cheers

 

Mark

Highlighted
pari1234 Frequent Visitor
Frequent Visitor

Steam wallet codes

I am very big fan stmkeyscodes.net for the steam wallet codes game.