Opened at 2012-01-10T23:44:03Z
Closed at 2015-10-13T05:31:39Z
#895 closed enhancement (fixed)
Support for the count option in the Twitter API
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Version: | 3.0.4 | |
Keywords: | patch | Cc: | |
IRC client+version: | Client-independent | Operating System: | Public server |
OS version/distro: | Gentoo |
Description
Right now, bitlbee pulls the default 20 most recent tweets from the user's timeline at connect time. It would be nice if there was a set variable for the optional "count" to allow for customizing how many tweets it tries to retrieve when you connect.
Alternately, allow for this to be enabled or disabled as a flag (similar to show_old_mentions), but allowing a specific value (0-200) to be used would be cooler.
Attachments (2)
Change History (10)
Changed at 2012-01-18T18:28:40Z by
Attachment: | bitlbee-bzr872-twitter_old_mentions_count.patch added |
---|
comment:1 Changed at 2012-01-18T18:30:51Z by
comment:2 Changed at 2012-01-30T21:37:45Z by
Hm. What about making show_old_mentions an integer? I'm all for keeping the number of settings low. Especially for settings most people are never going to touch.
Changed at 2012-01-31T09:23:15Z by
Attachment: | bitlbee-bzr877-twitter_old_mentions.patch added |
---|
comment:4 Changed at 2012-02-10T23:48:16Z by
Hrmm. Although this patch works, I don't think it addresses the whole problem BTW? I think the request is much more about fetching more or less of the normal timeline (although always fetching tens of mentions is definitely not useful, yes).
comment:5 Changed at 2012-02-12T16:47:14Z by
Oh, yes, seems like I got off the track here a little. Adding this won't be much of a trouble, but it'll certainly add another set var as it's not right to use the same value for both mentions and ordinary twits.
comment:6 follow-up: 7 Changed at 2012-04-07T18:38:46Z by
Merged show_old_mentions to ignore_backlog, now we have a single backlog config var to managed how many old tweets are being served.
Readable diff: https://github.com/meh/bitlbee/compare/twitter-ignore-backlog
Raw diff: https://github.com/meh/bitlbee/compare/twitter-ignore-backlog.diff
comment:7 Changed at 2014-02-04T05:58:37Z by
Keywords: | patch added |
---|
Replying to meh. <meh@…>:
Merged show_old_mentions to ignore_backlog, now we have a single backlog config var to managed how many old tweets are being served.
Readable diff: https://github.com/meh/bitlbee/compare/twitter-ignore-backlog
Raw diff: https://github.com/meh/bitlbee/compare/twitter-ignore-backlog.diff
Deleted branches ;_;
comment:8 Changed at 2015-10-13T05:31:39Z by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Closing this one since 3.4 additionally skips repeated tweets between reconnections, which i believe is the main issue here.
But feel free to reopen if that isn't enough.
Might be useful. When you have low mention traffic it gets really annoying getting same 20 messages on every reconnect. Attached is a little patch which adds old_mentions_count acc set variable.