|
|
|
@ -143,6 +143,13 @@ class Connection(NetworkBase):
|
|
|
|
|
return True |
|
|
|
|
else: |
|
|
|
|
return False |
|
|
|
|
|
|
|
|
|
def username(self): |
|
|
|
|
"""Return the username of the logged user on Twitter.""" |
|
|
|
|
username = self._options[self.NAMESPACE]['username'] |
|
|
|
|
if not username: |
|
|
|
|
return '' |
|
|
|
|
return username |
|
|
|
|
|
|
|
|
|
def __init__(self, options): |
|
|
|
|
self._options = options |
|
|
|
@ -293,6 +300,7 @@ class Connection(NetworkBase):
|
|
|
|
|
high_id = 0 |
|
|
|
|
|
|
|
|
|
while response: # Not the cleanest code |
|
|
|
|
# TODO: How the interfaces can interrupt this? |
|
|
|
|
if page > 1: |
|
|
|
|
params['page'] = page |
|
|
|
|
|
|
|
|
|