Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Document emoji add endpoint #94

Open
G-Rath opened this issue Jan 24, 2019 · 5 comments
Open

Document emoji add endpoint #94

G-Rath opened this issue Jan 24, 2019 · 5 comments

Comments

@G-Rath
Copy link

G-Rath commented Jan 24, 2019

According to the comments of #28, /api/emoji.add is an endpoint that can be used for adding emojis.

However, this endpoint isn't documented anywhere!

@ErikKalkoken
Copy link

This is an internal endpoint that only works with Slack internal tokens (xoxs...), but not with any normal token (user, bot. legacy). You can fetch internal tokens from the browser, but that's a hack and not recommended. So since it can not really be used by any Slack app there is not much point in documenting it, unless Slack opened this endpoint up for normal tokens.

@jonmcoe
Copy link

jonmcoe commented Sep 8, 2019

Agreed. No sense in this (at least for me) until an approach with different auth is added, as suggested in #95

@davidbitton
Copy link

It would be nice to be able to bulk load emojis, That's how I plan on using it.

@jonmcoe
Copy link

jonmcoe commented Jun 25, 2020

@davidbitton something like the project below can help you for isolated bulk uploads.

https://github.com/smashwilson/slack-emojinator/blob/master/upload.py

It works well. The downside is you have to take short lived personal authentication (xoxs) from you browser session. So you couldn't really make a chatbot, a web app that does image resizing for joy x etc

@davidbitton
Copy link

@jonmcoe i'll check it out. thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants