Integrating Yammer webpart programmatically - blank result RRS feed

  • Question

  • I'm trying to integrate Yammer on a SharePoint 2010 intranet (on-premise) with no success. The actual goal: to show a group feed.

    I'm adding the webpart programmatically following the instructions:

    The webpart appears on the page, but only showing the header, nothing about Yammer. No error, nothing, totally blank/empty body.

    Any ideas of what's happening or what I'm doing wrong?


    SPFile oPage = oSite.RootWeb.GetFile(PageUrl);

    SPLimitedWebPartManager oWPManager = oPage.GetLimitedWebPartManager(PersonalizationScope.Shared);
    YammerAppsWebPart oWP = new YammerAppsWebPart();
    oWPManager.AddWebPart(oWP, ZoneId, ZoneIndex);

    Dictionary<string, string> webpartProperties = new Dictionary<string,string>();
    webpartProperties.Add("network_id", WebConfigurationManager.AppSettings["YammerAPNetworkId"]);
    webpartProperties.Add("page_url", oPage.Url);
    webpartProperties.Add("app_id", "Group");
    webpartProperties.Add("app_type", "Feed");
    webpartProperties.Add("id", "Feed");
    webpartProperties.Add("feed_id", GroupId);

    oWP.Title = WPTitle;
    oWP.SharedProperties = webpartProperties;

    Monday, June 2, 2014 8:59 AM


  • Hi,

    According to your post, my understanding is that you wanted to integrate Yammer web part with SharePoint.

    I had read the article and fount that there were some require parameters should be configured.

    Such as the network_id, page_url, app_id, app_type, id, feed_id and feed_name.

    In you code, I could not find the parameter “feed_name”. You can add the “feed_name” to check whether it works.

    As I’m not familiar with the configuration about Yammer web part, if I misunderstand please correct me.

    For this issue, I recommend you can post your question to the forum for Yammer.

    More experts will assist you, then you will get more information relation to Yammer.

    Thank you for your understanding and support.

    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact

    Jason Guo
    TechNet Community Support

    • Marked as answer by Lindali Sunday, June 15, 2014 7:53 AM
    Wednesday, June 4, 2014 2:57 AM