Comments (8)
Just super.
I'll get in touch with them
from sirius.
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.
from sirius.
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.
@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.
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.
No, it's not those values, we set different ones with env vars on the server. Not sure what those refer to!
from sirius.
@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)
- Oauth twitter and web printing HOT 3
- CORS support to allow browser-based web apps to access the API
- Add timezone settings to printers HOT 1
- Issue connecting to websocket via SSL or via host HOT 4
- Report of red flashing lights on bridges 🚨 HOT 10
- Cannot claim new printer HOT 14
- Sharing text to Little Printers.app results in multiple printing
- Printing with no face HOT 1
- 22 April 2021 Downtime HOT 3
- Fixing some LP bridge flash corruption
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sirius.