Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Yammer api : Get messages by group

Tags:

rest

api

yammer

Here are the yammer api docs: http://developer.yammer.com/restapi/

Am I missing something here? How can I get the messages for a specific group? There seems to be a good deal of undocumented functionality.

like image 568
Aaron Bruce Avatar asked Jan 16 '13 06:01

Aaron Bruce


1 Answers

I agree the documentation appears lacking.

Maybe:

https://www.yammer.com/api/v1/messages/in_group/<<GROUPID>>.json?access_token=<<ACCESSTOKEN>>"

via http://balamurugankailasam.blogspot.com/2012/10/displaying-yammer-feed-private-group-in.html


Embeded feeds support this functionailty:

  • feedType – Type of Feed to be displayed: group, topic, user, or Open Graph object
  • feedID – ID of the group, topic, or user feed (not applicable for Open Graph or My Feed)

Example

<script data-app-id="hyB2pTvrL36Y50py8EWj6A" src="https://assets.yammer.com/platform/yam.js"></script>
<script>
  yam.connect.embedFeed(
      { container: '#embedded-feed',
        network: 'fourleaf.com',
        feedType: 'group',           // can be 'group', 'topic', or 'user'          
        feedId: '123'                // feed ID from the instructions above
  });    
</script>    
<div id="embedded-feed"></div>

via http://developer.yammer.com/connect/

like image 145
JSuar Avatar answered Oct 11 '22 08:10

JSuar