Chris Hopkins' Blog - #makinitdostuff

The place where I post information about the products I manage; SharePoint, Yammer, Project and Visio and maybe from some that I don't!

Getting Praises from your Yammer network

Getting Praises from your Yammer network

Rate This
  • Comments 2

A few of you have been asking if it is possible to see a list of praises across your networks.  This is possible and there is an API that allows you to do this.

A Praise is wrapped in a standard Yammer message so it is easily accessible via the messages API

If you look at the hierarchy you will see that a message contains an attachment that has a type field which can be set to “praise”…


So now run off and write your code to get all the messages that have attachments with their type field set to “praise”.  This might get you a count for the number of praises across your network but you should probably also figure out who the praises are from and who they are for.

The description field of the attachment is going to contain a value that is used to display the praise in the Yammer UI like this…


but I would suggest using the API to get more information about the users involved by looking up their IDs.

The collection of praised_user_ids is a field of the attachment which lists all the users that were praised (more than one user can be mentioned in a single praise).


Detailed information can be retrieved for each of the users individually by calling

or for all users by calling

To get detailed information on the user that sent the praise you can use the sender_id field from the message.


See the attachment for an HTML/JS example.

Leave a Comment
  • Please add 7 and 5 and type the answer here:
  • Post
  • Hi Christopher.  Is there a way to do the same thing but for polls?  I am interested in who responded to a poll and if possible, the responses.  I can get to the attachment information, but none of the urls listed show additional information about the poll attachment.



  • Unfortunately at this time the Yammer API does not provide a way to capture the metrics for how many votes a particular item has received, who has voted, etc.

Page 1 of 1 (2 items)