Yammer的API:获取由组消息 [英] Yammer api : Get messages by group
问题描述
下面是Yammer的API文档: http://developer.yammer.com/restapi/
我失去了一些东西在这里?我怎样才能得到一个特定组的消息?似乎有无证功能的一个很好的协议。
我同意的文件出现欠缺。
也许
<$p$p><$c$c>https://www.yammer.com/api/v1/messages/in_group/<<GROUPID>>.json?access_token=<<ACCESSTOKEN>>\"通过<一个href=\"http://balamurugankailasam.blogspot.com/2012/10/displaying-yammer-feed-private-group-in.html\">http://balamurugankailasam.blogspot.com/2012/10/displaying-yammer-feed-private-group-in.html
嵌入式供稿都支持这个functionailty:
- 的FeedType - 要显示的频道类型:组,主题,用户,或者打开图表对象
- feedID - 组,主题或用户饲料(不适用于打开图或我的饲料)的ID
块引用>示例
&LT;脚本数据-APP-ID =hyB2pTvrL36Y50py8EWj6ASRC =https://assets.yammer.com/platform/yam.js&GT;&LT; / SCRIPT&GT;
&LT;脚本&GT;
yam.connect.embedFeed(
{容器:#嵌入式喂',
网络:fourleaf.com',
的FeedType:'组',//可以是组,主题,或用户
feedId:从上面的说明,'123'//饲料ID
});
&LT; / SCRIPT&GT;
&LT; DIV ID =嵌入进&GT;&LT; / DIV&GT;http://developer.yammer.com/connect/
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.
解决方案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/
这篇关于Yammer的API:获取由组消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!