Slack 绿色博客

关于远程工作、Slack 生产力和维护在线状态的专家见解

所有帖子
开发者
指导
比较
故障排除
教程
常问问题
创意
模板
管理
技巧
产品
A Slack app manifest we used to create a working app on 1 October 2026, in YAML and JSON, plus the validation errors from broken versions and real output from apps.manifest.validate, export, create and update.
Slack Green Team
Oct 1
slack api
developers
阅读更多
chat.delete removes a message by channel and ts. We deleted bot messages, a person's messages, a thread parent and an already deleted message with bot and user tokens, and list every response, including cant_delete_message and the tombstone a thread parent leaves.
Slack Green Team
Oct 1
slack api
developers
阅读更多
We opened a Slack modal with views.open after delays from 0 to 5 seconds, 28 times, on 1 October 2026. The success rate per delay, the exact errors, and the Bolt code that avoids expired_trigger_id.
Slack Green Team
Oct 1
slack api
developers
阅读更多
users.lookupByEmail turns an email address into a Slack user ID. It needs the users:read.email scope. We ran it with the right and wrong emails, upper case, spaces and a token without the scope, in curl and Python, and list every response.
Slack Green Team
Oct 1
slack api
developers
阅读更多
We sent Block Kit messages just under and just over each limit through chat.postMessage and an incoming webhook on 1 October 2026. The last value that worked, the first that failed, and the exact error text for each.
Slack Green Team
Oct 1
slack api
developers
阅读更多
We called auth.test with no token, a broken token, a revoked token and tokens from an uninstalled and a deleted app, and wrote down every response. invalid_auth, not_authed, account_inactive and token_revoked each point to a different fix.
Slack Green Team
Oct 1
slack api
developers
阅读更多
search.messages works only with a user token that has search:read. We ran it against our own test workspace: the response shape, the bot token error, 10 search modifiers with their counts, paging limits that fail silently, how long new messages take to show up, and the newer assistant.search.context.
Slack Green Team
Oct 1
slack api
developers
阅读更多
To reply in a Slack thread, pass the parent message's ts as thread_ts. We tested it with a bot token, a webhook and Socket Mode events on 1 October 2026, including the values that silently post to the channel instead.
Slack Green Team
Oct 1
slack api
developers
阅读更多
We sent ephemeral messages with chat.postEphemeral, in a channel and in a thread, then tried chat.update and chat.delete on them, replaced and deleted them through response_url, and checked what was left after a reload. Every response is from the real run.
Slack Green Team
Oct 1
slack api
developers
阅读更多
We called chat.update with a bot token and a user token on 1 October 2026: the response, every error we hit, the 4,000-character cap, and what an edit shows and notifies in Slack.
Slack Green Team
Oct 1
slack api
developers
阅读更多
A 13-line Bolt for Python app that answers in Slack over Socket Mode, run against a real workspace, plus the exact errors from the wrong token, a missing connections:write scope, and two copies running at once.
Slack Green Team
Oct 1
slack api
developers
阅读更多
We called chat.scheduleMessage with a bot token for times from 10 seconds to 121 days ahead, listed and deleted the results, and watched which messages still arrived. The limits, the exact errors, and a delete that returned ok but did not stop the post.
Slack Green Team
Sep 30
slack api
developers
阅读更多
Slack invite links expire after 30 days and have no longer option. We made links in a test workspace, deactivated them, and found a signed-out check that tells a live link from a dead one.
Slack Green Team
Sep 30
slack invite
slack admin
阅读更多
Unpin from the Pins tab or the message menu, then confirm Remove Pinned Item. We tested pinning, unpinning, edits, deletes, has:pin search and the 100-pin limit in Slack for web.
Slack Green Team
Sep 30
slack tips
slack channels
阅读更多
Slack's Set up mobile overrides checkbox lets your phone get a different notification level than your computer. We ticked it in every combination and read back the saved settings after each click.
Slack Green Team
Sep 30
slack notifications
slack mobile
阅读更多
Slack has no superscript format. We sent ^2^, <sup>2</sup>, x^2 and Unicode characters from the message box, the API and a Block Kit markdown block: only Unicode rendered raised. Copy-ready characters, and how Slack search treats them.
Slack Green Team
Sep 30
slack formatting
slack tips
阅读更多
Call conversations.history, follow next_cursor, then fetch each thread with conversations.replies. We read 40 seeded messages and 6 replies from a test channel and show the script, its output, and what limit, oldest and latest did.
Slack Green Team
Sep 30
slack api
developers
阅读更多
Three short Python scripts that post to Slack, run against a real workspace with their output: an incoming webhook with requests, chat_postMessage with a bot token, and a thread reply. Plus the errors we triggered and what an 80-message burst did.
Slack Green Team
Sep 30
slack api
python
阅读更多
The official Slack MCP server lives at https://mcp.slack.com/mcp and needs a user token from an app with MCP turned on. We built one, connected Claude Code and Codex CLI, sent a message and searched for it, and copied every response.
Slack Green Team
Sep 30
slack api
developers
阅读更多
Slack messages can now carry real charts. We posted line, bar, area and pie charts and a sortable data table to a test workspace with a bot token, a webhook and a user token, and logged every limit Slack enforced.
Slack Green Team
Sep 30
slack api
block kit
阅读更多
使用 Slack Green 时,同事、工作区管理员和公司 IT 能看到什么?我们在真实的 Slack 访问日志里核对过:每 6 小时会有一次来自我们服务器 IP 的网页会话。
Slack Green Team
Sep 30
slack
隐私
阅读更多
A Slack member ID is the U... code that identifies a person. Copy it from their profile under the three-dot menu, or look it up with users.info and users.list. Tested in two workspaces, with the ID formats we found.
Slack Green Team
Sep 29
slack api
developers
阅读更多
Slack answers too many calls with HTTP 429 and a Retry-After header. We burst chat.postMessage, conversations.history and an incoming webhook from an internal app and logged every response: where the 429s started, the bodies, and a retry loop that never hit one.
Slack Green Team
Sep 29
slack api
developers
阅读更多
files.upload now returns method_deprecated. Use files.getUploadURLExternal, POST the bytes, then files.completeUploadExternal, or files_upload_v2 in the SDK. Tested with curl and Python, including two silent failures.
Slack Green Team
Sep 29
slack api
developers
阅读更多
channel_not_found means Slack cannot see the channel with the token you used: a wrong ID, a name that does not exist, a private channel the bot is not in, or a channel in another workspace. Each case tested on a real bot.
Slack Green Team
Sep 29
slack api
developers
阅读更多
not_in_channel means the bot is not a member of the channel you posted or read from. Public channel: conversations.join or chat:write.public. Private channel: /invite the app. Every response here came from a real app.
Slack Green Team
Sep 29
slack api
developers
阅读更多
Slack returns missing_scope when the token lacks a scope the method needs. The response names it in 'needed'. Add that scope, reinstall the app, and call again. Tested on a real app.
Slack Green Team
Sep 29
slack api
developers
阅读更多
Open the emoji picker, click Skin Tone at the bottom right and pick one of six hands. We tested where the default applies on 29 September 2026: the picker, autocomplete and reactions use it, but a fully typed :thumbsup: does not.
Slack Green Team
Sep 29
slack emoji
slack tips
阅读更多
Slack has no text color option in messages or canvases, and the API rejects a color style. We tested every route on 29 September 2026. A hex code gets a color swatch, inline code is red, and app messages can carry a colored bar.
Slack Green Team
Sep 29
slack formatting
slack tips
阅读更多
Slack has no spoiler formatting. We sent Discord's ||text||, Reddit's >!text!< and //text// in Slack on 29 September 2026: all three show in plain sight. A thread reply is the workaround that hides the answer.
Slack Green Team
Sep 29
slack formatting
slack tips
阅读更多