Notices


Reply
Thread Tools
Posts: 94 | Thanked: 28 times | Joined on Oct 2009
#421
http://status.net/api/ gives a 404 error in my browser, and doesn't do anything in witter
 
Posts: 94 | Thanked: 28 times | Joined on Oct 2009
#422
(in my case it's a subdomain of pantoufle.net but still, no /api/ )
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#423
Originally Posted by corsac View Post
(in my case it's a subdomain of pantoufle.net but still, no /api/ )
pantoufle.net shows up as a domain for sale, and status.net obviously only hosts a service for other domains
Do you have web access to this account? another client which gets access?

basically you should be able to go to the timeline in a browser, or using curl and get a response, once you can do that, you have the base url you need.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Posts: 94 | Thanked: 28 times | Joined on Oct 2009
#424
Hmh, not sure why I told pantoufle which is unrelated

I meant a subdomain of status.net. I'll try to play with it but I'm not exactly sure about how it works, especially since it's not open, so one needs to be logged in to access the feeds (which might not be supported by witter?)
 
Posts: 94 | Thanked: 28 times | Joined on Oct 2009
#425
Seems that the correct url for timeline is:

https://<domain>.status.net/api/statuses/public_timeline.rss so I guess I should use an identi.ca type account, and enter as url: https://<domain>.status.net/api/ but it doesn't seem to work Sorry for bothering
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#426
Originally Posted by corsac View Post
Seems that the correct url for timeline is:

https://<domain>.status.net/api/statuses/public_timeline.rss so I guess I should use an identi.ca type account, and enter as url: https://<domain>.status.net/api/ but it doesn't seem to work Sorry for bothering
can you go to
https://<domain>.status.net/api/statuses/public_timeline.json
and get a json reponse?
or try just http via the browser?
I know identi'ca works, so it should be possible, but I don't know how much variance there is in the hosted sites etc.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Posts: 94 | Thanked: 28 times | Joined on Oct 2009
#427
Hhmh, using tcpdump on the n900 I'm trying to debug things. When starting witter, it seems that it requests:

/api/statuses/friend_timeline.json
/api/statuses/replies.json
/api/statuses/direct_messages.json

and the server replies with 200OK but the json look empty. It doesn't seem to request public_timeline.json.
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#428
Originally Posted by corsac View Post
Hhmh, using tcpdump on the n900 I'm trying to debug things. When starting witter, it seems that it requests:

/api/statuses/friend_timeline.json
/api/statuses/replies.json
/api/statuses/direct_messages.json

and the server replies with 200OK but the json look empty. It doesn't seem to request public_timeline.json.
ok, so all of those requests should have worked, they are teh ones that would provide you your user timeline, mentions of you and dms, public timeline is something available but you'd have to manually refresh in the public timeline.

but if the server is responding with 200's but not sending anything, presumably witter is no longer reporting 404s?

obviously if witter isn't being sent any content, there is not a lot it can do about it.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Posts: 94 | Thanked: 28 times | Joined on Oct 2009
#429
Yeah, I don't have 404s anymore, but what would really interest me on that particular installation is the public timeline. I'm not at all a twitter user (sorry for being a newbie), so I need to manually refresh it, I guess. But I have no idea how to do that using witter.
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#430
Originally Posted by corsac View Post
Yeah, I don't have 404s anymore, but what would really interest me on that particular installation is the public timeline. I'm not at all a twitter user (sorry for being a newbie), so I need to manually refresh it, I guess. But I have no idea how to do that using witter.

select the icon that has lots of little 'people' on it, the title bar will show 'Witter - public'
Then hit the bottom left refresh button to trigger a request for the public timeline.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Reply

Tags
python, twitter


 
Forum Jump


All times are GMT. The time now is 02:17.