FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...
A ColdFusion component to interact with the Slack API:
slack.cfc component and pass in the required properties like so:
var oSlack = new slack( clientID = clientID, clientSecret = clientSecret, verificationToken = verificationToken, accessToken = accessToken, botAccessToken = botAccessToken );
Each sub-set of Slack API methods has been split into their own components, all of which are instantiated into the core
To make requests to methods within these components you will first need to call the component itself:
var oBot = oSlack.getBot(); var botInfo = oBot.getBotInfo();
var botInfo = oSlack.getBot().getBotInfo();
A lot of methods are already included, but this is still a work in progress as not all have been implemented (yet).
The component has been tested against Lucee 4.5 and Lucee 5.
Copyright (c) 2012 Matt Gifford (Monkeh Works Ltd)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.