emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: imgur.el and small packages to interface with commercial services


From: Ted Zlatanov
Subject: Re: imgur.el and small packages to interface with commercial services
Date: Wed, 20 Jul 2016 09:30:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

On Wed, 20 Jul 2016 15:16:37 +0200 Lars Ingebrigtsen <address@hidden> wrote: 

LI> Ted Zlatanov <address@hidden> writes:
>> I suggest making the token automatic, stored in auth-source and
>> generated on demand (so it will be local to the user).

LI> That is generally not possible.  To get an imgur token you have to
LI> register yourself on their web site and exchange some emails, and then
LI> you get a token.

Right, so you can offer your imgur token as a default choice at the
prompt, and if the user wants, they can use their own. The choice is
stored locally and they can edit or remove it later. Is that acceptable?

>> The auth-source code supports that case, except for the actual token
>> generation. The default choice can be a generic token for each
>> service, but I doubt the FSF/GNU team wants to maintain such a thing,
>> and it would be easy to abuse it.

LI> It doesn't really matter that much.  imgur rate-limits per IP address,
LI> not per token.

LI> Other services probably have other rules.  :-)

OK, so it should be a flexible choice...

Ted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]