Is there a way to get data from all possible slack groups? I am working on a project where I want to mine data from a specific type of slack groups. Suppose I want to do get data from all Python related groups - some of which I might not be a part of.
Is there a way to do this with Slack API?
You cannot see or access private channels that you are not a member of.
You can get a list of channels that you do have access to via the conversations.list API, and you can read the messages using the conversations.history API.
Related
I am looking for a method to get the list of all mailboxes through graph api.
List users returns all the users no matter they have mailbox enabled or not, is there any graph api call that can get me the list of all the mailboxes in office 365 using graph API? or any properties that can indicate a user have mailbox enabled?
Thanks very much.
Please use list place API. refer to the below link
https://learn.microsoft.com/en-us/graph/api/place-list?view=graph-rest-1.0&tabs=http
Also, you can search individual mailbox details using Get place API.
(I know it's late. But this may help somebody else also.)
I am trying to get informations about user/mailbox type (regular, distribution list, shared mailbox, alias) using the Microsoft graph API. I tried using the /users endpoint but I see there is no field with such info. Is there any way of doing this?
https://learn.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http
Thanks!
That information is only available from Exchange PowerShell (Get-Mailbox), which isn't yet available via Graph. You can get a list of groups (https://learn.microsoft.com/en-us/graph/api/group-list?view=graph-rest-1.0&tabs=http) and a list of users (https://learn.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http). I don't know if that will work for your purposes.
I would like to get a list of all the Shared mail boxes on my exchange server. An then I require to get details of each member of the shared mail boxes. How to achieve this via the graph api
I know we can do this via powershell but I would like to use the rest APIs in my javascript application.
I've come across multiple threads/forums claiming that microsoft had this in roadmap so have they implemented it?
This isn't a supported scenario with Microsoft Graph. For administrative managing and reporting of Exchange, you'll need to use PowerShell.
I have added the Twitter and Google Drive app to my Slack team. For an ERP system I am currently working on, I’d like to replace certain URLs similar to how Twitter / Google Drive do:
Google Drive:
Your message containing the link will be changed into a share message
point to the external reference file in Slack
Twitter:
Automatically expand pasted Twitter URLs, displaying the full tweet
and attached media
The obvious way seems to be using an Outgoing Webhook with the first part of the URL (e.g. https://erp.acme.com) as "trigger word", but this doesn’t seem to be working with private groups and channels. Google Drive doesn’t seem to have this limitation. Which API offers enough flexibility?
An engineer from Slack replied and offered two solutions. Thanks Brad!
Solution A
Set the outgoing webhook trigger to <https://erp.acme.com – note the opening <, as that's how URLs are parsed on Slack's side. The outgoing webhooks currently only work in public channels.
Solution B
Provide meta tags to make use of Slack's "unfurling".
You can read the link expanding documentation here, as well as this in-depth blog post about Slack unfurling.
Where do the Slack default avatars come from? Is it their own service or a 3rd party one?
In either case, is there a possibility for others to use the avatar creation service / system e.g. via the slack API?
I asked Slack directly, and they don't currently offer this in their API:
We don't have an API method or service for it, so there isn't a way to do this, sorry!
They've heard the suggestion, though.