l3d00m / TwitterToReddit

OUTDATED, see issue #1 - Simple python bot that crossposts Tweets to reddit
MIT License
3 stars 0 forks source link

Outdated API - changes to submit and authentication #1

Open azrieltomas opened 6 years ago

azrieltomas commented 6 years ago

With the latest API, it seems there should be a few changes to utils.py:

  1. set_oauth_app_info is deprecated - all that info can go in the praw.reddit() initialisation
  2. reddit_auth.submit() should now be reddit_auth.subreddit(subreddit).submit()
  3. I think there's some issues with refresh_access_information - I've commented it out for now and added refresh_token=constants.reddit_client_refresh to praw.reddit()
l3d00m commented 6 years ago

Hey,

I totally forget about this repository but happy to hear that it's still used. Would you like to do the changes? Otherwise I could look into it in a few days :)

Feel free to do everything you want, I'm not actively using it anymore.

azrieltomas commented 6 years ago

Sure thing!

While out of date with the API, yours was still one of the better bots that I could find. I'm happy to update it.

radien commented 4 years ago

Not to necro a really old post, but does this still work? with all the changes to twitter and reddit (this is the only bot i've found that will do what i'm looking for)

l3d00m commented 4 years ago

Hi! I assume it's doesn't work by now, but it should be pretty easy to fix. I would probably use IFTTT or Zapier for something like this, no?

l3d00m commented 4 years ago

Hi you might have to experiment with it a bit, but I updated all the basics things but couldn't find the time to test it. See 99da447

gladin12 commented 2 years ago

Any chance of updating this to work now?

l3d00m commented 2 years ago

Sorry, I'm busy with other stuff and won't keep this updated. Feel free to take the existing code and do something based on it or use something like https://ifttt.com/home or alternatives.