GithubHelp home page GithubHelp logo

Comments (10)

TheLovinator1 avatar TheLovinator1 commented on May 30, 2024 13

Hi, the rewrite is 95% done, so I still need a little more time before it is complete. I will post it here when it is done. Sorry for not being ready when the API died.

from discord-twitter-webhooks.

TheLovinator1 avatar TheLovinator1 commented on May 30, 2024 7

Hi, I merged the rewrite branch with master.

It is probably a little bit rough right now.

The README has instructions how to run the bot. I have to sleep now, but feel free to reply/create a new issue for everything that is missing or broken.

Sorry again for taking so long to fix this

from discord-twitter-webhooks.

dziban303 avatar dziban303 commented on May 30, 2024 1

Awesome! I couldn't get it working on the Pi4 I'd been using previously; it wanted ffmpeg, so I installed it and added the envar pointing to it. Then it threw a sql error, to wit: reader.exceptions.StorageError: error while opening database: sqlite3.OperationalError: unable to open database file shrug

I just wanted to get it running before I went to bed, so I tried it in docker on a windows machine: it worked like a charm. I'll look at setting up a nitter instance tomorrow (or in the next few days, anyway, you know how it is) to support my own use case.

Is text filtering planned?

Thank you so much for getting this back up and running. We've been missing it!

Cheers

Edit: Tried again on Pi4 with latest build, threw a permissions error for the /home/botuser/.local/share/discord_twitter_webhooks directory for some reason. I chmod'd it to 777 and then it worked.

from discord-twitter-webhooks.

thatjk avatar thatjk commented on May 30, 2024

Also hit the issue of my docker instance could not authenticate earlier today as well, any eta of the update, not to rush just more curiosity. Thanks for your hard work

from discord-twitter-webhooks.

dziban303 avatar dziban303 commented on May 30, 2024

My API access has been killed off as of today. Eagerly awaiting the RSS rewrite.

from discord-twitter-webhooks.

jedimage avatar jedimage commented on May 30, 2024

any update ?
I'm not sure about limit reading tweet per day will be some issue next ?

from discord-twitter-webhooks.

EthanC avatar EthanC commented on May 30, 2024

The rewrite appears to have relied on nitter, per the following line:

feed_url: str = f"https://nitter.lovinator.space/{username}/rss"

Twitter no longer provides data to unauthenticated users, effectively killing nitter. Research is ongoing for ways around this new limitation, but @TheLovinator1's project can't progress without the upstream issue being resolved first.

from discord-twitter-webhooks.

TheLovinator1 avatar TheLovinator1 commented on May 30, 2024

Hi, sorry for disappearing.

As Ethan said, I am using RSS feeds from Nitter for getting tweets but that broke
when Elon shut down the API that Nitter uses.

Elon says it is temporary, but I have no idea how long that will be. Or if we can even trust him.

If this doesn't get fixed soon, I guess I will have to find another way to get tweets. (Or just give up lol)

from discord-twitter-webhooks.

Vilemouse avatar Vilemouse commented on May 30, 2024

Just chiming in here. the restriction has been lifted so nitter should work again

from discord-twitter-webhooks.

EthanC avatar EthanC commented on May 30, 2024

Successfully running the rewrite in Docker on Ubuntu; thanks for your hard work!

Because this project now relies on Nitter RSS feeds, there seems to be a delay between a Tweet being posted and it being posted to the Discord Webhook - which wasn't the case before. I'm wondering if the default Nitter instance could set rssMinutes to 1 (or even 0) to alleviate this issue?

from discord-twitter-webhooks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.