![]() |
Re: witter - a python twitter client
Update following your suggestion - problems solved.
I am getting all tweets except ReTweets (!!) and the +20 and +50 work fine. You did say "two interesting problems", do I need to do anything else and should I delete the .jpg s on a regular basis ? As promised another pint is on it's way to you. Great application. |
Re: witter - a python twitter client
Quote:
thanks again for the pint, i will certainly enjoy :-) |
Re: witter - a python twitter client
#witter 0.3.3-1 now in extras-devel. Details are on my blogs witter page. Some new stuff to try out with notifications and persisting where you were up to when you shut witter, to load only new tweets.
|
Re: witter - a python twitter client
I dont like the new "feautures", I mean it should be configurable.. I dont like vibrating and notifications...
The "persisting where you were.." should be great if we had like a separator and the "old" tweets available under/after it. What if I want to read the old ones? Here I get an empty list if there's no tweets since I shutted it down... not a good deal! |
Re: witter - a python twitter client
i think you are doing a great job! now i dont quite understand how to set up the account, but i manage to "set it up" not completely successful i may add, since im unable to see the trending topics, instead i get an error message every time i try saying: "Error retrieving trends Server returned 404: " can you please help me?
Thanks |
Re: witter - a python twitter client
maybe the older tweets could get cached.
This way the older tweets show while witter looks for new tweets |
Re: witter - a python twitter client
Quote:
don't update from extras-devel if you don't want to pick up half steps that some may feel are backwards. |
Re: witter - a python twitter client
Ok it's getting better now. What we (I ;)) would need now is portrait mode and lists. :D
|
Re: witter - a python twitter client
Quote:
Is trends the only thing that gives you a bad response? I did just check and it's working for me, so at least I've not managed to break it without noticing. |
Re: witter - a python twitter client
Quote:
currently I plan to only store the latest 20 tweets to reload, rather than attempt to store everything. |
Re: witter - a python twitter client
Hey Daniel, where are you keeping the source these days? The Garage svn seems pretty stale. I'd tackle #5789 myself and offer up a patch if it weren't.
|
Re: witter - a python twitter client
Quote:
In the mean time /opt/witter is where all the source goes on your device |
Re: witter - a python twitter client
Quote:
I thought my devel was disabled but wasn't :P Sorry! |
Re: witter - a python twitter client
Witter 0.3.1-9 is known to work with both twitter and identi.ca, right? I'm not able to make it do that. I have accounts on both services. Each account has the same name, 70mmlips. On my N900, witter always fetches from and posts to twitter, regardless of which account is the active one.
|
Re: witter - a python twitter client
Quote:
run-standalone.sh python2.5 /opt/witter/witter.py this will give a clue as to whether witter is sucessfully really using the second set of details or not. |
Re: witter - a python twitter client
0.3.3-2 updated to extras-devel last night, since I updated to pr1.2 I added some limited 'support' of portrait mode, in so far as witter will now adjust the text wrap width to fit the portrait orientation.
it still comes with the same caveats of 0.3.3-1, there are some changes that not everyone will want until I do some more work |
Re: witter - a python twitter client
Quote:
|
Re: witter - a python twitter client
Quote:
I'll try to spend some time taking some screenshots later in the week, but I'll probably end up putting them on the witter page on my blog rather than here. |
Re: witter - a python twitter client
Hmmh, it seems that I can't find how to configure a status.net account. I can't manage to configure properly the urls... Any help would be appreciated :)
|
Re: witter - a python twitter client
Quote:
http://status.net/api/ http://st twitter is awkward and has a separate search base url, but most others have the same base url for search as it is there from day one. does that not work? |
Re: witter - a python twitter client
http://status.net/api/ gives a 404 error in my browser, and doesn't do anything in witter
|
Re: witter - a python twitter client
(in my case it's a subdomain of pantoufle.net but still, no /api/ )
|
Re: witter - a python twitter client
Quote:
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. |
Re: witter - a python twitter client
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?) |
Re: witter - a python twitter client
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 |
Re: witter - a python twitter client
Quote:
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. |
Re: witter - a python twitter client
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. |
Re: witter - a python twitter client
Quote:
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. |
Re: witter - a python twitter client
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.
|
Re: witter - a python twitter client
Quote:
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. |
Re: witter - a python twitter client
Since Pr1.2 witter does not work correctly. The timeline seems to work fine but DM's and @'s do not show up anymore in the corresponding views. I tried to use the +n buttons but to no avail. All other views just work fine.
Am I the only one with this problem? version 0.3.3-2 BTW it's appreciated that you put all this work into a decent twitter application. |
Re: witter - a python twitter client
works fine for me
|
Re: witter - a python twitter client
Quote:
For people looking for info about status.net stuff: Account type: Identi.ca Username: <username> Password: <password> https://<domain>.status.net/api/ https://<domain>.status.net/api/ are the parameters which seem to work fine for me. The final / is important, or the connection will fail. |
Re: witter - a python twitter client
Quote:
glad it's working for you |
Re: witter - a python twitter client
Quote:
appreciation can be shown in the form of pints bought for me via my blog....;-) |
Re: witter - a python twitter client
Quote:
I did as you suggested. Based on the output, I don't believe that witter contacts identi.ca at all. There are two places in the output where witter says he's fetching tweets. Both times, he's getting them from twitter.com. I can't tell from the output if he contacts identi.ca when I make a tweet. I can tell you that when I tweet with the active account set to identi.ca, my little message shows up on twitter.com but not on identi.ca. Here is the output from witter. For the sake of brevity, I have replaced some of the lines that were repeated several times in a row with text of the form [previous <n> lines repeated <m> times] Code:
#6b6bd3d3ffff |
Re: witter - a python twitter client
Quote:
and if you look at the accounts view which does witter think is active? I have a twitter and identi'ca account and it works fine for me, I can switch between them etc, so it *can* work. just need to figure what is different about your setup. |
Re: witter - a python twitter client
Quote:
|
Re: witter - a python twitter client
Quote:
please redact the password fields, but the rest will help understand what's going on. |
Re: witter - a python twitter client
0.3.3-4 in extras-devel, see my blogs witter page for change history
|
All times are GMT. The time now is 08:16. |
vBulletin® Version 3.8.8