yammer

Yammer Embed Feed works in IE and Firefox but not in Chrome, gives 401 unauthorized

北城以北 提交于 2019-12-25 02:59:17
问题 ode : <div id="embedded-feed" style="height: 99%; width: 100%; overflow: auto"></div> <script src="https://assets.yammer.com/assets/platform_embed.js"></script> <script>yam.connect.embedFeed({ container: "#embedded-feed", network: "tcs.com", feedType: "group", feedId: "all" }); </script> Code works fine in IE and FireFox but in Chrome gives 401 Unauthorized Console Error : GET https://www.yammer.com/tr8n/api/v1/language/translate?batch=true&source=yamjs 401 (Unauthorized) However opening the

How to get access tokens of users in external network?

允我心安 提交于 2019-12-24 14:19:27
问题 I have a admin account, first I got access tokens for each network the admin account is a member. second I used the user_id and consumer_key parameters to generate tokens on behalf of other users. But when I try to get access token of user in external network,I got a 401 error. There is no problem to get access token of user in main network.I want to know is there any way to get access tokens of users in external networks. 回答1: The network parameter is the key in the puzzle when invoking the

Yammer REST API - Message Likes

不想你离开。 提交于 2019-12-23 05:29:22
问题 My goal is to get the users who liked each message/comment, and when the like occurred. Currently when querying the Messages endpoint each message has a section called liked_by that contains a count of the total likes on each message/comment, and an array of users that liked the message/comment. However, what I am seeing is that the array with the list of users can not return more than 4 users in the array, even though the message/comment has a total of more than 4 likes. Specifically, if the

Yammer API - missing messages

倾然丶 夕夏残阳落幕 提交于 2019-12-23 02:05:54
问题 We have developed an application to extract data from Yammer using the Yammer APIs. We're authenticating using the verified admin's credentials. According to the data export CSV file we know that there are some 25K messages in the network, but we only get 10K messages via the API. Initially thought that the difference was private messages, but the missing messages are a mix of private and public messages. The API call we are using is: https://www.yammer.com/api/v1/messages.json . We are using

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

一个人想着一个人 提交于 2019-12-22 19:59:40
问题 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? 回答1: We can get list of groups using following REST API: https://www.yammer.com/api/v1/groups.json?mine=1 回答2: 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. 回答3: you can use bellow code. if you want all the groups of your

Yammer JS SDK — problems with CORS

社会主义新天地 提交于 2019-12-21 16:50:13
问题 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

Yammer REST API - Message Comments and Message History

丶灬走出姿态 提交于 2019-12-19 11:32:20
问题 My goal is to gather the count of likes on every non-private message and comment in a Yammer instance (across all networks). I can currently pull all messages for a Yammer instance with the data export API, but unfortunately it does not contain the like count for the messages. I can also successfully page through messages via the REST API, however the only options for pulling messages appears to be only the original message with no comments, or the original messages, and the first 2 comments

Yammer REST API - Message Comments and Message History

自古美人都是妖i 提交于 2019-12-19 11:31:27
问题 My goal is to gather the count of likes on every non-private message and comment in a Yammer instance (across all networks). I can currently pull all messages for a Yammer instance with the data export API, but unfortunately it does not contain the like count for the messages. I can also successfully page through messages via the REST API, however the only options for pulling messages appears to be only the original message with no comments, or the original messages, and the first 2 comments

Yammer REST API: 401 Unauthorized when using Azure AD token and Yammer Delegated Permissions

独自空忆成欢 提交于 2019-12-18 13:38:48
问题 I am creating an Azure AD App that is using the new Yammer delegated permissions preview to post a message to Yammer using the access token that I obtained from Azure AD. Unfortunately, I get a 401 Unauthorized response when trying to call Yammer Rest APIs. Here is the code sample: var resourceId = "https://www.yammer.com"; var endpointUrl = "https://www.yammer.com/api/v1/messages/following.json"; AuthenticationHelper helper = new AuthenticationHelper(); helper.EnsureAuthenticationContext

yammer oauth2 returning 403 Client Error: Forbidden

江枫思渺然 提交于 2019-12-18 09:06:40
问题 403 Client Error: Forbidden error returned when trying to connect to yammer OAuth from an application. my primary goal: within my custom application, i'd like to use yammer oauth to authenticate users of an external network (as i could find no direct method to accomplish this, i've created a work around documented here). my scenario is as follows: we have a primary network and an external network (going to refer to these as the 'beta networks'), which i have created for the purposes of beta