颂歌:
<div id="embedded-feed" style="height: 99%; width: 100%; overflow: auto"></div>
<script src="https://assets.yammer.com/assets/platform_embed.js"></script>
<script>yam.connect.embedFeed({
container: "#embedded-feed",
network: "tcs.com",
feedType: "group",
feedId: "all"
});
</script>
代码在 IE 和 FireFox 中运行良好,但在 Chrome 中给出 401 Unauthorized
控制台错误:GET https://www.yammer.com/tr8n/api/v1/language/translate?batch=true&source=yamjs 401(未经授权)
但是在新选项卡中打开上面的链接会给出正确的输出