ErikKalkoken / slackApiDoc

Documentation of undocumented Slack API methods
MIT License
410 stars 60 forks source link

any alternative now that legacy tokens no longer work? #68

Open bernhardmostrey opened 1 year ago

onix commented 1 year ago

Grab Bearer xoxc-** and Cookie d=xoxd-** from a logged in browser session, most of these "Browser" calls works with these credentials with all their pros and cons.

However, per my experimenting not all calls support application/json; charset=utf-8 Content-type, mostly multipart/form-data.

wangzhonghai commented 1 year ago

怎么调用程序啊,slack = Slacker(bot_token)

channel_id = slack.channels.get_channel_id('csd')

slack.chat.command(channel=channel_id,command='/who',)这样吗

aSapien commented 1 year ago

However, per my experimenting not all calls support application/json; charset=utf-8 Content-type, mostly multipart/form-data.

@onix Encoding as x-form-www-urlencoded also works. It removes the clutter compared to the multipart...