yammer

yammer @Timed leaving values at zero

心已入冬 提交于 2019-12-05 05:45:45
This is a follow-up to my struggle using yammer timing annotations as described here . My spring context file has simply: <metrics:annotation-driven /> I have the following class: import com.yammer.metrics.annotation.ExceptionMetered; import com.yammer.metrics.annotation.Metered; import com.yammer.metrics.annotation.Timed; ... @Component public class GetSessionServlet extends HttpServlet { private final static Logger log = LoggerFactory.getLogger(GetSessionServlet.class); @Override public void init(final ServletConfig config) throws ServletException { super.init(config);

Yammer JSON Feed returning only 20 messages

和自甴很熟 提交于 2019-12-05 01:52:32
问题 I am trying to get all the messages from a particular group. I am getting the json feed back. The only problem is, its returning only 20 messages. Is this set as default or something. Is there any way by by which while doing the request, I can specify whether I want all the messages, by default just 20 or even messages posted between the start and the end date? My RestApi call is: https://www.yammer.com/api/v1/messages/in_group/[id].json From Yammer Developer Documentation < Autocomplete: 10

Request header field yammer-capabilities is not allowed by Access-Control-Allow-Headers.

末鹿安然 提交于 2019-12-04 19:45:26
Our API requests have started failing with the error "Request header field yammer-capabilities is not allowed by Access-Control-Allow-Headers". Before the weekend, everything was working correctly. Anyone else seeing this? Same problem here, but it is not the first time, and I think we shouldn't change anything: Yammer's API is slowly beginning to be migrated to Office365's API, maybe this is why there is so much errors in this API... (hope so!) If you want to see what they're working on : https://about.yammer.com/success/engage/grow-your-network/release-schedule Btw, did you try to post this

Uploading a file via Yammer API

一世执手 提交于 2019-12-04 18:50:33
I'm able to post a message but when I add either the attachment or pending_attachment, I get an error saying: TypeError: 'stepUp' called on an object that does not implement interface HTMLInputElement. function post() { yam.getLoginStatus( function(response) { if (response.authResponse) { yam.request( { url: "https://api.yammer.com/api/v1/messages.json" //note: the endpoint is api.yammer... , method: "POST" , data: { "body" : document.getElementById("post_body").value, "group_id" : document.getElementById("group_id").value ,"attachment1" : document.getElementById("attachment") } , success:

Yammer JS SDK — problems with CORS

与世无争的帅哥 提交于 2019-12-04 08:19:57
It seems like something has changed on the Yammer side, because my app (not yet published to the Yammer Global App Directory) has stopped working, resulting in an obscure CORS error, that doesn't tell a thing about the problem. So the workflow is very simple — I'm ensuring that user is logged in by calling getLoginStatus() (which pops-up a window and immediately closes it. Irritating, but can live with that) Sending a request to messages/in_group/ID.json wrapped in a yam.platform.request , as suggested by the Yammer JS SDK manual Here's the console screenshot: In the Yammer App settings there

Yammer从Scala转向Java

此生再无相见时 提交于 2019-12-04 06:50:38
近日,由Yammer雇员 Coda Hale 发给Typesafe的Scala商业管理层的 邮件 通过 YCombinator 被泄漏出来并在 GitHub上刊出 。该邮件确认Yammer正在将其基础设施栈从Scala迁回至Java,原因在于Scala的复杂性与性能问题。 Yammer的公关Shelley Risk向InfoQ证实该邮件只代表Coda Hale的个人意见而非Yammer的官方声明;随后,Coda Hale又在 http://codahale.com/the-rest-of-the-story/ 上发表了一篇文章。在该文章中,Coda澄清说这个消息是来自于Donald Fischer( Typesafe 的CEO)对早前一个 tweet 的回复。 更新:近日,Yammer已经发布了声明,宣布对该问题的 立场 ,声明证实了上述猜测。声明还指出任何语言都会有瑕疵(不仅仅是Scala),该邮件只不过是尝试提出一些建议以改进Scala的性能与其他问题。最后,声明说到在构建任何高性能项目时(Scala是其产品环境)都有一些问题需要解决;该邮件旨在帮助Scala不断改进。 虽然Coda并未打算公开该邮件,但他通过Gist(后来被删除了)将其放到了GitHub上以获得其他朋友的反馈;然而,邮件内容后来被共享出来并得到了大范围传播。 回到2010年8月,Coda在Yammer

I want to crawl all messages of every group on Yammer (including All Company Group)

一个人想着一个人 提交于 2019-12-04 06:31:56
问题 We are trying to crawl all messages of every group on Yammer (including All Company Group) using https://www.yammer.com/api/v1/messages.json?group_id=<>&access_token=<>,nut its giving me duplicates and also i am not getting complete messages. Is there any way to do this? Is there any way to get new users joined on Yammer after specific date? Any sort of help is appreciated. 回答1: The best way to get this information is to use the Data Export API. This API is available to paid networks and

Yammer with Python - Retrieving feed

匿名 (未验证) 提交于 2019-12-03 08:54:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to download my yammer feed using Python (actually trying to do it in R but can't figure that out either) and I can't get the yampy module to import. I installed yampy using "python -m pip install yampy" in the command line but when I try to run the import statement I get the following error: import yampy File "C:\Python34\lib\site-packages\yampy__init__.py", line 22, in from authenticator import Authenticator ImportError: No module named 'authenticator' Anybody know how what is going on? 回答1: Just had the same problem, and it is

Yammer REST API: How to get access tokens for external networks?

匿名 (未验证) 提交于 2019-12-03 01:14:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm working on an ASP.NET web application that reads data from Yammer. I've successfully acomplished authentication and getting messages from the "home" network. Now I want to switch to another network and get messages from it. I've read all the documentation and specifically the Networks section which states the following: Facilitates switching a user between different Yammer networks. All Yammer web requests contain a network permalink in the URL ( https://www.yammer.com/network_permalink/resource_path ) to denote the network

I want to crawl all messages of every group on Yammer (including All Company Group)

筅森魡賤 提交于 2019-12-02 11:58:23
We are trying to crawl all messages of every group on Yammer (including All Company Group) using https://www.yammer.com/api/v1/messages.json?group_id= <>&access_token=<>,nut its giving me duplicates and also i am not getting complete messages. Is there any way to do this? Is there any way to get new users joined on Yammer after specific date? Any sort of help is appreciated. The best way to get this information is to use the Data Export API . This API is available to paid networks and outputs a ZIP file containing CSV files containing all messages, and list of users. You can pass a parameter