yammer

Web scraping password protected website using R

孤街醉人 提交于 2019-12-08 11:31:42
问题 i would like to web scrap yammer data using R,but in order to do so first il have to login to this page,(which is authentication for an app that i created). https://www.yammer.com/dialog/authenticate?client_id=iVGCK1tOhbZGS7zC8dPjg I am able to get the yammer data once i login to this page but all this is in browser by standard yammer urls (https://www.yammer.com/api/v1/messages/received.json) I have read through similar questions and tried the suggestions but still cant get through this

Yammer Open Graph API Error 400

五迷三道 提交于 2019-12-08 04:14:22
问题 I'm trying to write to the Yammer Activity Feed using Open Graph but I get 400 Bad Request Error. I'm wondering if the url or data is wrong. function postToActivity() { yam.getLoginStatus( function(response) { if (response.authResponse) { yam.request( { url: "https://api.yammer.com/api/v1/activity.json" //note: the endpoint is api.yammer... , method: "POST" , data: { "activity" : { "actor" : { "name" : "Ken Domen", "email" : "ken.domen@nike.com", "action" : "like", "object" : { "url" : "http:

Yammer API limits

那年仲夏 提交于 2019-12-07 12:29:40
问题 Yammer rest api documentation says that limit is 10 requests in 10 seconds per user per app. Question: What is the user here? Is it IP address that makes request or bearer token for currently authenticated yammer user? If all our users go through same external IP, will this be a problem, or user relates to Yammer user? Thanks 回答1: It is per user token and not by IP Address. So, multiple users from the same IP can make API requests to Yammer and the rate limiting will apply per user. https:/

Yammer with Python - Retrieving feed

孤街醉人 提交于 2019-12-07 07:54:47
问题 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

Yammer Open Graph API Error 400

不羁的心 提交于 2019-12-07 03:40:30
I'm trying to write to the Yammer Activity Feed using Open Graph but I get 400 Bad Request Error. I'm wondering if the url or data is wrong. function postToActivity() { yam.getLoginStatus( function(response) { if (response.authResponse) { yam.request( { url: "https://api.yammer.com/api/v1/activity.json" //note: the endpoint is api.yammer... , method: "POST" , data: { "activity" : { "actor" : { "name" : "Ken Domen", "email" : "ken.domen@nike.com", "action" : "like", "object" : { "url" : "http://www.google.com", "title" : "Test" } } } } , success: function (msg) { alert("Post was Successful!: "

yammer @Timed leaving values at zero

ぐ巨炮叔叔 提交于 2019-12-07 01:19:38
问题 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

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

最后都变了- 提交于 2019-12-06 12:47:55
问题 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? 回答1: 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

Uploading a file via Yammer API

懵懂的女人 提交于 2019-12-06 12:40:07
问题 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

Yammer API - Can we get list of groups from yammer API for a current user?

为君一笑 提交于 2019-12-06 10:15:42
I want to get list of groups that user has joined using yammer API. I have not seen any support in REST API. Is there any way to get list of groups for a current user? We can get list of groups using following REST API: https://www.yammer.com/api/v1/groups.json?mine=1 This is the documented call to get the groups for the current user: https://www.yammer.com/api/v1/users/current.json?include_group_memberships=true . you can use bellow code. if you want all the groups of your network then remove "?mine=1" from url. yam.platform.request({ // yam.request({ url: "groups.json?mine=1", method: "GET",

How do I parse a JSON array into different objects using Jackson on Android?

血红的双手。 提交于 2019-12-06 05:44:36
I'm trying to parse JSON like the following into object using Jackson on Android (Note: I'm not in control of the JSON format - the format comes from Yammer) "references": [ { "type": "user", "id": 12345678, "name": "Wex" }, { "type": "message", "id": 12345679, "body": { "plain":"A short message" } }, { "type": "thread", "id": 12345670, "thread_starter_id": 428181699 } ] The problem is that each entry in references is a different type of object with different properties. As a start I've got: public static class Reference { public String type; public String id; } I'd rather avoid putting all