reddit / emacs

[newbie] twittering-mode - token problem

joahim2 · 2022-10-17 17:49
Hi! I've just installed twittering-mode on #Debian Unfortunately, I have problem with getting the token. ​ 1. When starting M-x twit it appears "HTTP(SSL) is not available.". I checked the dependencies - I'm sure I have openssl on the system. 2. Trying to authorize, an error appears. 3. Messages: `../../usr/share/emacs/site-lisp/twittering-mode/twittering-mode.el: Warning: ‘block’ is an obsolete alias (as of 27.1); use ‘cl-block’ instead.` `../../usr/share/emacs/site-lisp/twittering-mode/twittering-mode.el: Warning: ‘return-from’ is an obsolete alias (as of 27.1); use ‘cl-return-from’ instead.` `../../usr/share/emacs/site-lisp/twittering-mode/twittering-mode.el: Warning: ‘decf’ is an obsolete alias (as of 27.1); use ‘cl-decf’ instead.` `../../usr/share/emacs/site-lisp/twittering-mode/twittering-mode.el: Warning: ‘incf’ is an obsolete alias (as of 27.1); use ‘cl-incf’ instead.` `For information about GNU Emacs and the GNU system, type C-h C-a.` `Package tls is deprecated` `Package cl is deprecated` `Failure: /usr/bin/wget exited abnormally (exit-status=6) for POST` [`http://api.twitter.com/oauth/request_token`](http://api.twitter.com/oauth/request_token) `cond: Failed to retrieve a request token` ​ What am I doing wrong?
globalcandyamnesia · 2022-10-17 21:03
Twittering mode hasn't been updated in nearly four years. I wouldn't expect it to work.
atamariya · 2022-10-18 04:33
Do you have curl on your system? Not sure of wget, but with curl this works just fine for me.
joahim2 · 2022-10-18 13:27
Thanks, I thought curl was default installed with the system. Authorization succeeded, but now it's not fetching my tweets (keeps showing no new ones).
atamariya · 2022-10-18 15:01
Can you also install openssl?
joahim2 · 2022-10-18 15:11
Installed before. From my *Messages*: Decrypting .twittering-mode.gpg......done The authorized token is loaded. Authorization for the account "xxxxxx" succeeded. Response: HTTP/2 410 for GET [https://api.twitter.com/1.1/help/configuration.json](https://api.twitter.com/1.1/help/configuration.json) Fetching :home. Success. (No new tweets) Get more of the recent timeline... Fetching :home. Success. (No new tweets) Get more of the recent timeline... Fetching :home. Success. (No new tweets)
atamariya · 2022-10-19 04:43
What version of Emacs? What's the output of evaluating (require 'json nil t)