Yammer嵌入了Object.Keys:参数不是对象

时间:2017-02-09 14:50:32

标签: sharepoint office365 yammer

我尝试实现Office 365中嵌入的Yammer(SharePoint Online)。我添加了这段代码:

yam.connect.embedFeed({
                        "container": "#embedded-feed",
                        "network": "*",
                        "feedType": "open-graph",
                        "config": {
                            promptText: "test",
                            use_sso: true,
                            showOpenGraphPreview: false,
                            header: false,
                            footer: false,
                            defaultToCanonical: false
                        },
                        objectProperties:
                            {
                                url: window.location.href,
                                title: document.title,
                                image: "/Style Library/graphics/content/logo.svg",
                                type: "page"
                            }
                    });

代码在chrome中工作,但在Internet Explorer 10和11中,配置程序不会出现同样的问题

https://www.yammer.com/widget/configure

是否有解决方法:)

1 个答案:

答案 0 :(得分:1)

好的,在我的情况下导致问题的是网络。网络名称不正确

如何获取正确的网络名称:

1. Go tohttps://www.yammer.com/office365/admin
2. In the menu go to Configuration
3. Under General you find Network name.