Modify

#895 closed enhancement (fixed)

Support for the count option in the Twitter API

Reported by: david@… Owned by:
Priority: minor Milestone:
Component: Twitter 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)

bitlbee-bzr872-twitter_old_mentions_count.patch (1.1 KB) - added by Artem Savkov <artem.savkov@…> at 2012-01-18T18:28:40Z.
bitlbee-bzr877-twitter_old_mentions.patch (2.7 KB) - added by Artem Savkov <artem.savkov@…> at 2012-01-31T09:23:15Z.

Download all attachments as: .zip

Change History (10)

Changed at 2012-01-18T18:28:40Z by Artem Savkov <artem.savkov@…>

comment:1 Changed at 2012-01-18T18:30:51Z by Artem Savkov <artem.savkov@…>

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.

comment:2 Changed at 2012-01-30T21:37:45Z by wilmer

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 Artem Savkov <artem.savkov@…>

comment:3 Changed at 2012-01-31T09:24:26Z by Artem Savkov <artem.savkov@…>

show_old_mentions as int. Added this setting to docs.

comment:4 Changed at 2012-02-10T23:48:16Z by wilmer

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 Artem Savkov <artem.savkov@…>

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 Changed at 2012-04-07T18:38:46Z by 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

comment:7 in reply to:  6 Changed at 2014-02-04T05:58:37Z by dx

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 dx

Resolution: fixed
Status: newclosed

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.

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.