Giter VIP home page Giter VIP logo

Comments (3)

EbonJaeger avatar EbonJaeger commented on May 29, 2024

@cybre if you want, I should be able to implement this and send a PR. Was wondering if you had any preferences regarding how it should be implemented; simplest would probably be to attach a new settings UI to the current Imgur Provider to store the credentials.

I think the only tricky part is getting the user's access token from Imgur.

from budgie-screenshot-applet.

cybre avatar cybre commented on May 29, 2024

@Gnat008 correct. Take a look at the S/FTP provider for the settings UI.
And yeah, that is indeed the tricky part.

from budgie-screenshot-applet.

EbonJaeger avatar EbonJaeger commented on May 29, 2024

@cybre My current idea is to have a button in the Imgur settings page that the user clicks, which calls out to the Imgur API endpoint to generate the needed tokens, and storing those in non-editable fields in the same settings page.

Currently it looks like this: https://i.imgur.com/Yl6mhcp.png

Only thing is that access tokens expire after one month, after which you can use the refresh token to get a new one. So that has to be handled.

from budgie-screenshot-applet.

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.