Forum Discussion
Yammer feed in Web Content Widget
Anonymous
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.
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
- djnww10 years ago
Impactful Individual
Thanks :) Please share your results. Looking forward to some good news.- Anonymous10 years agoNot applicable
Cracked it! :smileyvery-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
- IvanMislav9 years ago
Helper I
Great,
Is it maybe possible:
- To remove options to post messages and reply
- To set source only for All company or My feed
- To limit number of post shown to only latest 5, for example