Download the PHP package glen/slack-unfurl without Composer
On this page you can find all versions of the php package glen/slack-unfurl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download glen/slack-unfurl
More information about glen/slack-unfurl
Files in glen/slack-unfurl
Package slack-unfurl
Short Description Extensible Slack App for link unfurling
License MIT
Informations about the package slack-unfurl
Extensible Slack App for link unfurling
Slack app for unfurling issue links
Slack App
You need Verification Token
(SLACK_VERIFICATION_TOKEN
) for next step.
Under Features
:
- enable Events API for
link_shared
event withlinks:read
scope.- Click
Event Subscriptions
on the left. - Click
Enable Events
. - Click
Add Workspace Event
and addlink_shared
. - Click
Add Domain
and type your domain. - Click
Save Changes
.
- Click
- add
links:write
permission scope- Click
OAuth & Permissions
on the left. - Go to
Scopes
section and selectAdd link previews to messages
in the list of permissions. - Click
Save Changes
.
- Click
- enable
Incoming Webhooks
Obtain OAuth Access Token
(SLACK_API_TOKEN
) under OAuth & Permissions
Configuration
Adding providers
The app itself handles no links, you need to add some providers:
Troubleshoot
If the unfurl is not happening check that the domain is not blacklisted.
If you modify app domains, you need to Install App
(/install-on-team
as url) again to re-authorize:
Development
Install composer deps and start builtin HTTP server:
To build docker image locally and run it:
The service is accessible from http://slack-unfurl.127.0.0.1.xip.io:4390/ or just http://localhost:4390/
All versions of slack-unfurl with dependencies
ext-json Version *
monolog/monolog Version ^1.23
silex/silex Version ^2.0
symfony/dotenv Version ^4.0|^5.0
wrapi/slack Version ^0.1.6|^1.0