Skip to content

Bot that get links from Slack and publish on social networks

Notifications You must be signed in to change notification settings

Cloudxtreme/socialbot-3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socialbot

Bot written in Python 3.4 that get links from Slack and publish on social networks.
More info at: https://opensanca.wordpress.com/2015/07/23/nosso-robo-mascote-robotson/

Dependencies

pip install -r requirements.txt

Configuration

Change settings.py and add your keys there.
Note: You'll need a never expires token to use Facebook API because it'll expire in one hour after the creation.

Running

python run.py

Share links from Slack

Type the configured key trigger. Default is @share.
When you type @share Some text: somelink.com the bot will share your message on Facebook and Twitter.

Easter Egg

When you mention bot in a public channel it'll answer you.
For example:

So sweet :)
In background we are calling Cleverbot to answer the question.

Licence

The MIT License (MIT)

Copyright (c) 2015 opensanca

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.

About

Bot that get links from Slack and publish on social networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%