Adding page specific yammer feed

Hey!

So, a lot more projects I’m working on involves yammer, whether its being the entire feed, a count of notifications or page specific feeds.

Page Specific code can be foundĀ Here

The code I’ve included is fairly simple but adding this into a page layout will let you have a feed on each page created from the layout which will be personal to that page. Adding in the “defaultGroupId” to the config will allow you to have the feed default to a specific Yammer group, this can be useful for news if you want a specific news yammer group.

To get the GroupId, open up the group on yammer, in the url of the page you should have a number at the end and this is what you will need to add into the config.

config: { defaultGroupId: 3257958} });

Hope this helps!

Leave a Reply

Your email address will not be published. Required fields are marked *