Metadata-Version: 1.1
Name: TwitterToReddit
Version: 0.1
Summary: Simple python bot that crossposts Tweets to reddit
Home-page: https://github.com/l3d00m/TwitterToReddit/
Author: Thomas Lue
Author-email: thomasvanhalen01@gmail.com
License: UNKNOWN
Download-URL: https://github.com/l3d00m/TwitterToReddit/tarball/v0.1
Description: # Twitter to Reddit
        Simple python bot that crossposts Tweets to reddit
        
        # Setup
        Add a constants.py file in the subdirectory that looks like the following and add your keys.
        
        ```
        global reddit_client_id
        global reddit_client_secret
        global reddit_client_refresh
        global reddit_redirect_uri
        global twitter_consumer_key
        global twitter_consumer_key_secret
        global twitter_access_token
        global twitter_access_token_secret
        
        # https://apps.twitter.com/app/new
        twitter_consumer_key = ''
        twitter_consumer_key_secret = ''
        twitter_access_token = ''
        twitter_access_token_secret = ''
        
        # https://www.reddit.com/prefs/apps/
        reddit_client_id = ''
        reddit_client_secret = ''
        reddit_client_refresh = ''
        reddit_redirect_uri = '"'
        
        
        # How to get the reddit refresh token
        #
        #
        # https://praw.readthedocs.org/en/stable/pages/oauth.html#step-4-exchanging-the-code-for-an-access-token-and-a-refresh-token
        #
        # 1) Get an access token:
        # url = r.get_authorize_url('uniqueKey', 'submit', True)
        # import webbrowser
        # webbrowser.open(url)
        # Copy the access token from the addressbar
        #
        # https://praw.readthedocs.org/en/stable/pages/oauth.html#step-6-refreshing-the-access-token
        #
        # 2) Get the refresh token:
        # access_information = r.get_access_information('CODE YOU GOT ABOVE')
        # print(access_information['refresh_token'])
        
        
        ```
        
Keywords: reddit,twitter,bot
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 3.4
