Coder Social home page Coder Social logo

Comments (8)

joerick avatar joerick commented on September 18, 2024 3

Just super.
image
I'll get in touch with them

from sirius.

joerick avatar joerick commented on September 18, 2024 1

The original version of sirius used a lot of Twitter API as part of its feature set. I think the way forward would be to strip all of that code out and redo the twitter sign in using modern Oauth. All we need is the user's twitter username to associate with our existing accounts. We'll probably have to stick with twitter as it's the only user identifier we have in our existing database (i.e. we dont have email addresses, so we can't switch to a different auth provider because there's no way to link that to an existing account)

A PR tackling the above would be welcome!

from sirius.

joerick avatar joerick commented on September 18, 2024 1

from sirius.

joerick avatar joerick commented on September 18, 2024

Ack, they binned our API key a couple of weeks back, I thought I had fixed it.

Might just be a temporary error? Have you been seeing this for a while?

from sirius.

phillipjf avatar phillipjf commented on September 18, 2024

@joerick Probably about a week or so. First checked when I was walking through the install steps before I ordered a printer. In all the times I checked back, it's been giving the same error.

from sirius.

phillipjf avatar phillipjf commented on September 18, 2024

It's not these values, right? If it is, possibly someone has grabbed them and is using them outside this app:
https://github.com/nordprojects/sirius/blob/master/sirius/web/twitter.py#L16-L17

from sirius.

joerick avatar joerick commented on September 18, 2024

No, it's not those values, we set different ones with env vars on the server. Not sure what those refer to!

from sirius.

phillipjf avatar phillipjf commented on September 18, 2024

@joerick I think I've got something almost ready but when I was looking, the login flow fetches "friends" but it doesn't look like they're used anymore. Can this logic be dropped?

https://github.com/nordprojects/sirius/blob/master/sirius/web/twitter.py#L83-L113
https://github.com/nordprojects/sirius/blob/master/sirius/web/twitter.py#L68-L70

edit: looks like the required access for getting followers might be restricted to a paid plan now so I'm not able to test implementation anyways.

from sirius.

Related Issues (11)

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.