simple script to connect a twitter account to a irc channel
figgybit/IRC-Tweet-BOT
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
this script is good to connect a twitter user to an IRC channel. dependencies tweepy - twitter streaming api oyoyo - irc chat library make sure you follow tweepy's instructions for oAuth make sure you register your app: http://twitter.com/oauth_clients ##example python code import tweepy auth = tweepy.OAuthHandler(consumer_token, consumer_secret) try: redirect_url = auth.get_authorization_url() except tweepy.TweepError: print 'Error! Failed to get request token.' ##take the url and login with the account you want to link ## and notate the value for verifier auth.set_request_token(auth.request_token.key, auth.request_token.secret) try: token = auth.get_access_token(verifier) except tweepy.TweepError: print 'Error! Failed to get access token.' ##use these two values for the values of key and secret in the script token.key token.secret
About
simple script to connect a twitter account to a irc channel
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published