Here is a handy tool that will help you setup the code needed if you want to use Yammer Embed in your applications. Simply visit https://www.yammer.com/widget/configure, select the Yammer Embed options you want to include, and press Go. You will see a sample of the embed with the options applied as well as the code sample which you can easily copy and paste.