Is it possible (via the Yammer REST API or otherwise) to programmatically retrieve a list of all unique users who have posted to a specific Yammer group?
The network in question is a free Yammer network, therefore the data export approach is not available.
There's currently no way to directly get a list of contributors to a group. What you could do is use the messages api to crawl through all of the messages in a group and get the users who sent them. If it's a group with a reasonable number of messages, this shouldn't be that big of a problem. Just don't forget about the rate limits on making api calls.
The message endpoint for a group looks like this.
https://api.yammer.com/api/v1/messages/in_group/{{group_id}}.json?threaded=extended
Related
I want to be able to pull all text messages from a google chat space.
I'm looking at the spaces.messages.getbut it assumes you have the ID of a message. In similar programs (MS Teams), you can call an endpoint to list all message ID and then call the message API to extract the contents of an ID. However, google chat has no such API.
Has anyone come across a way to do this?
This is currently not possible
There is already a respective feature request on Google Issue's Tracker.
I recomment you to star it to increase visibility and hope that it will be implemented soon.
According to Get Google Group emails with Gmail API (and threads far in the past), there wasn't any main method to support querying conversations directly for Google Groups within a domain after listing existing Google Groups (https://developers.google.com/admin-sdk/directory/reference/rest/v1/groups/list). Has this changed, or is the recommended method still to:
List the existing groups via the Directory API above
Query emails for messages with filter "to:<google_group>"
To my knowledge, this also doesn't cover a variety of edge cases, such as Google Group Conversations that may have been deleted from inboxes, tracking emails sent to the Google Group that might have failed the send (from message not being approved or sender not having permissions), etc.
Using the following endpoint with the group id and the older_than paging parameter
https://www.yammer.com/api/v1/messages/in_group/[group_id].json?older_than=[msgid(19)]
This does not return every message in that group... it skips messages!
This is a paid network that I am testing, the API is pretty much useless if it does not provide all the messages. Can anyone confirm this limitation!
Using the 'older_than' parameter to try to get all messages isn't going to work:
Reference https://stackoverflow.com/a/19107426/4099849
If you attempt to iterate over messages you will hit some limits. These limits are technical in nature and you would need to revert to the search API to find much older messages. Unfortunately you will have to put up with these limitations if you are dealing with the free version of Yammer as the data export is only available with the paid version.
Assuming you're trying to do some sort of analytics, have a look at the Yammer Data Export API.
There is a similar question : Yammer API - missing messages
The ansnwer is the same and his not acceptable !
When using /api/v1/messages/about_topic/ I get messages not returned by
/api/v1/messages.json
or
/api/v1/messages/in_group
My script respect the API Rate limits and the missing messages are not older than others.
There is something wrong in the API and it must be fixed.
My company is paying for Yammer and expect a reliable API.
If you want all messages inside a group,use below mentioned REST API without all parameters.Then it will list all messages present inside that particular group.
https://www.yammer.com/api/v1/messages/in_group/[group_id].json
As the topic says, is there any way to programmatically change Google's group member settings. Say for example the setting as to have emails sent to a group distributed to a particular member (one can be in a group without receiving mails sent to the group). There is a multitude of group member settings like this, but I haven't found a way to do it by API.
The first ideas would be the Admin Directory API or Groups Settings API, but neither supports any operations like these (the latter only has operations that affect the group as a whole).
Within the Admin SDK, there's the Groups Settings API as you mentioned. Everything this API can do from an admin level is found here.
As far as I know, if it's not a setting available in this API, it won't be possible via API.
Which is the best way of know when was accepted an linkedin invitation using API?
I'm developing a social search web site using linkedin among other social networks.
In my site, any user, can add many linkedin user account to your site account, for then find people from linkedin using Linkedin People Search API (http://developer.linkedin.com/docs/DOC-1191.html)
with the peoples found, i could be to send and invitation or a direct message, depend of the level connection of linkedin account using for that...
Then, using Linkedin API, what is the best way to monitoring when the invitation was accepted?...
Per the documentation, there is no way to directly monitor messages or invitations that you send via the API to another user. So you'll need to come up with some way to monitor this off-line if it is something that you really need. One idea would be to keep track of the ID of the member's you are sending invitations to, and on subsequent (or periodic) calls to the Connections API, you could scan the returned list to see if any of the stored ID's are now connections, and take the appropriate action.
Hope this helps!