|
From: egil <rrr...@ri...> - 2015-01-08 09:08:28
|
Hi I'm trying to access the twitter-api-v1.1 on the redmatrix-host redmatrix.nl. I have pulled from git today. This is my .emacs-settings: ;;Twittering-mode to access r# (add-to-list 'load-path "/home/annika/Downloads/twittering-mode/") (require 'twittering-mode) (setq twittering-auth-method 'basic) (setq twittering-api-host "redmatrix.nl/api") ;(setq twittering-web-host "redmatrix.nl") (setq twittering-username "rrr...@ri...") ; password not set = ask for it (setq twittering-api-prefix "/") (setq twittering-use-ssl t) (setq twittering-debug-mode t) Debug-output (password changed to XXXXXXX, otherwise unchanged): [debug] connection-info=((use-ssl . t) (allow-insecure-server-cert) (cacert-file-fullpath . /tmp/twmode-cacert50348Tk) (use-proxy) (request (method . GET) (scheme . https) (host . api.twitter.com) (port . 443) (path . /1.1/account/verify_credentials.json) (query-string) (encoded-query-alist) (uri . https://api.twitter.com/1.1/account/verify_credentials.json) (uri-without-query . https://api.twitter.com/1.1/account/verify_credentials.json) (header-list (Host . api.twitter.com) (User-Agent . Emacs/24.3 Twittering-mode/HEAD) (Accept-Charset . utf-8;q=0.7,*;q=0.7) (Accept . text/xml,application/xml,application/xhtml+xml,application/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5) (User-Agent . Emacs/24.3 Twittering-mode/HEAD) (Authorization . Basic cmVkc3dlZGVAcmlzZXVwLm5ldDp2WTEpYjVzc3hXRmE=) (Cookie . )) (post-body . )) (account-info (screen_name . rrr...@ri...) (password . XXXXXXXXX)) (service-method . twitter-api-v1.1) (display-name . curl) (symbol . curl) (check . twittering-start-http-session-curl-p) (https . twittering-start-http-session-curl-https-p) (send-http-request . twittering-send-http-request-curl) (pre-process-buffer . twittering-pre-process-buffer-curl)) [debug] "HTTP response header: --BEGIN " [debug] "HTTP/1.1 400 Bad Request content-encoding: gzip content-length: 86 content-type: application/json;charset=utf-8 date: Thu, 08 Jan 2015 08:51:12 UTC server: tsa_b set-cookie: guest_id=v1%3A142070707299321128; Domain=.twitter.com; Path=/; Expires=Sat, 07-Jan-2017 08:51:12 UTC strict-transport-security: max-age=631138519 x-connection-hash: 6b0244d15d4a6cf136b19644e03cd9f9 x-response-time: 3 Â " [debug] "--END " Is this a bug? /Regards Egil |