Package: twidge
Version: 1.0.5
Severity: normal

twidge(1) suggests the following base URI settings for Identi.ca:

    serverbase: https://identi.ca/api
    urlbase: %(serverbase)s/api

This works for OAuth setup, but fails for lsrecent and lsreplies:

    $ twidge -d lsrecent
    CP /home/simon/.twidgerc exists? True
    Sending request: ReqHttp {version = HTTP/1.1, ssl = True, host = 
"identi.ca", port = 443, method = GET, reqHeaders = Authorization=[…], 
pathComps = ["","api","api","statuses","friends_timeline.xml"], qString = 
page=1, reqPayload = Empty}
    Got response: (404,"",[],"")
    twidge: user error (Bad response: 404)

I expected a list of recent status updates.

The FAQ[1] suggests the following:

    serverbase: https://identi.ca
    urlbase: %(serverbase)s/api

This fails at OAuth setup:

    $ twidge -d setup
    […]
    ignite done.  trying request 1.
    reqres params:  error HTTP/1.0 200 Connection established
    request 1 failed.  attempting workaround.
    reqres params:  error HTTP/1.0 200 Connection established
    twidge: user error (Error from oauthRequest: "HTTP/1.0 200 Connection 
established")

[1]: http://github.com/jgoerzen/twidge/wiki/FrequentlyAskedQuestions

I ended up using the following settings:

    serverbase: https://identi.ca/api
    urlbase: %(serverbase)s

Simon

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages twidge depends on:
ii  curl                      7.21.0-1       Get a file from an HTTP, HTTPS or 
ii  libc6                     2.11.2-6       Embedded GNU C Library: Shared lib
ii  libcurl3-gnutls           7.21.0-1       Multi-protocol file transfer libra
ii  libffi5                   3.0.9-2        Foreign Function Interface library
ii  libgmp3c2                 2:4.3.2+dfsg-1 Multiprecision arithmetic library

twidge recommends no packages.

twidge suggests no packages.

-- no debconf information

-- 
A complex system that works is invariably found to have evolved from a
simple system that works.—John Gall

Attachment: signature.asc
Description: Digital signature

Reply via email to