|
|
|
@ -351,15 +351,10 @@ class Connection(NetworkBase):
|
|
|
|
|
option='secure_server_url', |
|
|
|
|
default='https://api.twitter.com/1', |
|
|
|
|
is_cmd_option=False) |
|
|
|
|
options.add_option( |
|
|
|
|
group=self.NAMESPACE, |
|
|
|
|
option='page_size', |
|
|
|
|
default=20, |
|
|
|
|
is_cmd_option=False) |
|
|
|
|
options.add_option( |
|
|
|
|
group=self.NAMESPACE, |
|
|
|
|
option='message_threshold', |
|
|
|
|
default=4, |
|
|
|
|
default=16, |
|
|
|
|
is_cmd_option=False) |
|
|
|
|
auth_options(self.NAMESPACE, options, self.AUTH) |
|
|
|
|
return |
|
|
|
@ -369,7 +364,7 @@ class Connection(NetworkBase):
|
|
|
|
|
last_id = int(self._options[self.NAMESPACE][config_var]) |
|
|
|
|
_log.debug('%s: %d', config_var, last_id) |
|
|
|
|
|
|
|
|
|
params = {'count': self._options[self.NAMESPACE]['page_size']} |
|
|
|
|
params = {} |
|
|
|
|
|
|
|
|
|
if last_id > 0: |
|
|
|
|
params['since_id'] = last_id |
|
|
|
|