]> jfr.im git - z_archive/twitter.git/log
z_archive/twitter.git
10 years agoRemove get and search functions because nothing works w/o auth now. next_gen
Mike Verdone [Sat, 22 Jun 2013 17:53:30 +0000 (11:53 -0600)] 
Remove get and search functions because nothing works w/o auth now.

10 years agoFix tests for next gen.
Mike Verdone [Sat, 22 Jun 2013 17:44:11 +0000 (11:44 -0600)] 
Fix tests for next gen.

10 years agoMerge remote-tracking branch 'origin/master' into next_gen
Mike Verdone [Sat, 22 Jun 2013 17:35:35 +0000 (11:35 -0600)] 
Merge remote-tracking branch 'origin/master' into next_gen

Conflicts:
tests/test_sanity.py
twitter/cmdline.py
twitter/oauth.py

10 years agoVersion 1.10.0 twitter-1.10.0
Mike Verdone [Sat, 22 Jun 2013 17:14:26 +0000 (11:14 -0600)] 
Version 1.10.0

10 years agoMerge pull request #158 from wlonk/next_gen
Mike Verdone [Sat, 22 Jun 2013 17:12:56 +0000 (10:12 -0700)] 
Merge pull request #158 from wlonk/next_gen

Next gen
I've updated things to use the current requests API, and the external requests_oauthlib source of OAuth-y goodness.

10 years agoMerge pull request #156 from mattcen/master
Mike Verdone [Sat, 22 Jun 2013 17:11:13 +0000 (10:11 -0700)] 
Merge pull request #156 from mattcen/master

DM archiving, Twitter API upgrade, better timestamps.
You know what's awesome? Patching a program, realising you should rebase your patch on the latest commit (I based off twitter-1.8.0, so had a fair few changes to make), and then finding all the features (namely Favourites and Mentions) that got added to master in the meantime! Love your project! I will likely try to tweak the Favourites and Mentions behaviours in the near future though so they and Timeline-fetching aren't mutually exclusive.

NOTE: You'd need to update your Twitter App settings to allow viewing and posting of DMs for this to work out of the box for people.

    Add argument to get DMs
    Adapt statuses_portion()
    Adapt statuses() to optionally handle DMs
    Adapt main() to pull down DMs if instructed
    Enforce Twitter API 1.1 for archiver and follow.
    Add option to allow more accurate timestamps (specifically the timezone specification) in output files.

10 years agoFix timezone bug introduced in previous commit
Matthew Cengia [Sat, 22 Jun 2013 07:32:19 +0000 (17:32 +1000)] 
Fix timezone bug introduced in previous commit

Removed too much code; wasn't converting to local timezone anymore

10 years agoTidy up timestamp and timezone code
Matthew Cengia [Sat, 22 Jun 2013 07:26:59 +0000 (17:26 +1000)] 
Tidy up timestamp and timezone code

10 years agoFix style of exception handler
Matthew Cengia [Fri, 14 Jun 2013 00:00:24 +0000 (10:00 +1000)] 
Fix style of exception handler

http://docs.python.org/2/tutorial/errors.html#handling-exceptions

"except ValueError, e: was the syntax used for what is normally written
  as except ValueError as e: in modern Python (described below). "

10 years agoAdd mattcen as author
Matthew Cengia [Sun, 9 Jun 2013 07:10:28 +0000 (17:10 +1000)] 
Add mattcen as author

10 years agoConvert archiver.py and follow.py to API 1.1
Matthew Cengia [Sun, 9 Jun 2013 06:57:14 +0000 (16:57 +1000)] 
Convert archiver.py and follow.py to API 1.1

This is mostly done. I've not yet decided on a tidy way to re-implement
the API limit tests, since this has changed significantly between API
versions 1.0 and 1.1.

Further, as I understand it, API 1.1 requires OAuth for everything, but
it is still an optional command argument which is off by default. This
should be fairly trivial to fix, but I've not yet done so.

10 years agoAllow storage of date in ISO (RFC 3339) format
Matthew Cengia [Fri, 24 May 2013 11:49:52 +0000 (21:49 +1000)] 
Allow storage of date in ISO (RFC 3339) format

10 years agoAdapt code to archive DMs
Matthew Cengia [Wed, 22 May 2013 13:19:13 +0000 (23:19 +1000)] 
Adapt code to archive DMs

* Add argument to get DMs
* Adapt statuses_portion()
* Adapt statuses() to optionally handle DMs
* Adapt main() to pull down DMs if instructed

10 years agoFix some tests.
Mike Verdone [Fri, 21 Jun 2013 21:11:44 +0000 (15:11 -0600)] 
Fix some tests.

10 years agoUpdate some of the cmdline to support API 1.1.
Mike Verdone [Fri, 21 Jun 2013 20:17:03 +0000 (14:17 -0600)] 
Update some of the cmdline to support API 1.1.

10 years agoMerge pull request #160 from nicksloan/master
Mike Verdone [Fri, 21 Jun 2013 20:08:23 +0000 (13:08 -0700)] 
Merge pull request #160 from nicksloan/master

Fixes sixohsix/twitter#154: application-only authentication with oauth2 support
Fixes sixohsix/twitter#154: application-only authentication with oauth2 support. Tested on python 2.7 and python 3.3.

10 years agoMerge pull request #159 from StalkR/author
Mike Verdone [Fri, 21 Jun 2013 19:59:53 +0000 (12:59 -0700)] 
Merge pull request #159 from StalkR/author

add StalkR as initial contributor of archiver and follow

10 years agoAdd support for the OAuth2 application-only flow supported by /1.1/search/tweets...
Nick Sloan [Thu, 13 Jun 2013 22:00:12 +0000 (18:00 -0400)] 
Add support for the OAuth2 application-only flow supported by /1.1/search/tweets, /oauth2/token and others.

10 years agoadd StalkR as initial contributor of archiver and follow
StalkR [Thu, 13 Jun 2013 19:59:05 +0000 (21:59 +0200)] 
add StalkR as initial contributor of archiver and follow

10 years agoUpdated requests API interaction.
Kit La Touche [Thu, 13 Jun 2013 03:09:02 +0000 (21:09 -0600)] 
Updated requests API interaction.

10 years agoUsing updated requests API.
Kit La Touche [Thu, 13 Jun 2013 03:05:08 +0000 (21:05 -0600)] 
Using updated requests API.

10 years agoUpdated to use correct OAuth lib.
Kit La Touche [Thu, 13 Jun 2013 02:53:54 +0000 (20:53 -0600)] 
Updated to use correct OAuth lib.

11 years agoVersion 1.9.4. twitter-1.9.4
Mike Verdone [Sun, 21 Apr 2013 11:57:43 +0000 (13:57 +0200)] 
Version 1.9.4.

11 years agoDo not wrap str objects, Python 3.3 freaks out. Fixes #142.
Mike Verdone [Sun, 21 Apr 2013 11:56:18 +0000 (13:56 +0200)] 
Do not wrap str objects, Python 3.3 freaks out. Fixes #142.

11 years agoVersion 1.9.3. twitter-1.9.3
Mike Verdone [Sun, 21 Apr 2013 11:36:16 +0000 (13:36 +0200)] 
Version 1.9.3.

11 years agoFix search test to use 1.1 API.
Mike Verdone [Sun, 21 Apr 2013 11:26:44 +0000 (13:26 +0200)] 
Fix search test to use 1.1 API.

11 years agoMerge pull request #138 from DarkDefender/master
Mike Verdone [Thu, 18 Apr 2013 15:12:11 +0000 (08:12 -0700)] 
Merge pull request #138 from DarkDefender/master

Fix twitter stream under python 3
This fixes the "AttributeError: '_io.BufferedReader' object has no attribute '_sock'" error when trying to create a twitter stream with python3.

There are two issues (#70 and #108) that are fixed with this commit.

I have written a twitter script in python 3 with your twitter lib so I would be really glad if you can merge this and then create a new point release of the lib.

That way I can release the script without having to tell the users to manually patch the twitter lib.

I'm sorry if you've already read my reply to #108. But I would really like this to get merged and released ASAP.

11 years agoFix twitter stream error under python 3
Sebastian Parborg [Sat, 13 Apr 2013 09:11:51 +0000 (11:11 +0200)] 
Fix twitter stream error under python 3

This fixes the "AttributeError: '_io.BufferedReader' object has no
attribute '_sock'" error when trying to create a twitter stream with
python3

11 years agoMerge pull request #137 from MrMitch/relative_imports
Mike Verdone [Sun, 7 Apr 2013 20:57:00 +0000 (13:57 -0700)] 
Merge pull request #137 from MrMitch/relative_imports

use relative imports in api.py for twitter_globals and auth

11 years agouse relative imports in api.py for twitter_globals and auth
Mickael GOETZ [Sun, 7 Apr 2013 19:56:56 +0000 (21:56 +0200)] 
use relative imports in api.py for twitter_globals and auth

11 years agoVersion 1.9.2. twitter-1.9.2
Mike Verdone [Mon, 25 Mar 2013 19:53:21 +0000 (20:53 +0100)] 
Version 1.9.2.

11 years ago1.1 as default in stream. Give up on simplejson.
Mike Verdone [Mon, 25 Mar 2013 19:51:56 +0000 (20:51 +0100)] 
1.1 as default in stream. Give up on simplejson.

11 years agoDefault to 1.1 for all domains, not just api.twitter.com.
Mike Verdone [Mon, 25 Mar 2013 19:49:28 +0000 (20:49 +0100)] 
Default to 1.1 for all domains, not just api.twitter.com.

11 years agoMake Python 3.3 work again.
Mike Verdone [Mon, 25 Mar 2013 19:43:56 +0000 (20:43 +0100)] 
Make Python 3.3 work again.

11 years agoMerge pull request #134 from pykler/master
Mike Verdone [Mon, 25 Mar 2013 19:37:48 +0000 (12:37 -0700)] 
Merge pull request #134 from pykler/master

Being safe looking for content-encoding header
I managed to bump into a situation with stream.twitter.com where the content encoding header was not in the headers ... so I am making the check more robust to handle the case where the header is not there.

@sixohsix can you consider merging this in before the micro version bump.

11 years agoBe safe about looking for the Content-Encoding header.
Hatem Nassrat [Mon, 25 Mar 2013 17:25:02 +0000 (17:25 +0000)] 
Be safe about looking for the Content-Encoding header.

11 years agoMerge pull request #132 from pykler/master
Mike Verdone [Mon, 25 Mar 2013 14:54:49 +0000 (07:54 -0700)] 
Merge pull request #132 from pykler/master

Removing tests/runner.py (not needed)

11 years agoRemoving runner.py ... all you need is python-nose to run them.
Hatem Nassrat [Sun, 24 Mar 2013 20:08:15 +0000 (20:08 +0000)] 
Removing runner.py ... all you need is python-nose to run them.

11 years agoMerge pull request #125 from MrMitch/syntax-highlighting
Mike Verdone [Sun, 24 Mar 2013 17:46:16 +0000 (10:46 -0700)] 
Merge pull request #125 from MrMitch/syntax-highlighting

Make code blocks use syntax highlighting in README
Make code blocks use syntax highlighting so they are more eye-friendly
Also make URL be turned into `<a></a>` markup

11 years agoMerge pull request #131 from pykler/master
Mike Verdone [Sun, 24 Mar 2013 17:23:11 +0000 (10:23 -0700)] 
Merge pull request #131 from pykler/master

With Twitter 1.1 an invalid oauth raises httplib.IncompleteRead
An exception is happening in the TwitterHTTPError's __init__ when it is trying to read twitter's error message. This patch catches that error (IncompleteRead Error) and handles it.

Also included in this pull request is a test case to demonstrate this error as well as a runner.py file to help run all the tests.

11 years agoAdding test runner and test case for TwitterHTTPError error handling.
Hatem Nassrat [Wed, 20 Mar 2013 19:41:46 +0000 (19:41 +0000)] 
Adding test runner and test case for TwitterHTTPError error handling.

11 years agoHandling errors in TwitterHTTPError __init__
Hatem Nassrat [Wed, 20 Mar 2013 19:40:20 +0000 (19:40 +0000)] 
Handling errors in TwitterHTTPError __init__

11 years agoGitHub doesn't handle empty links
Mickael GOETZ [Sun, 17 Feb 2013 20:34:07 +0000 (21:34 +0100)] 
GitHub doesn't handle empty links

11 years agofix links
Mickael GOETZ [Sun, 17 Feb 2013 20:31:49 +0000 (21:31 +0100)] 
fix links

11 years agoMake code blocks use syntax highlighting in README
Mickael GOETZ [Fri, 15 Feb 2013 21:06:15 +0000 (22:06 +0100)] 
Make code blocks use syntax highlighting in README

11 years agoMerge pull request #124 from Adapptor/incompleteread
Mike Verdone [Fri, 15 Feb 2013 15:10:28 +0000 (07:10 -0800)] 
Merge pull request #124 from Adapptor/incompleteread

TwitterCall._handle_response(): try to recover from httplib.IncompleteRead
Use IncompleteRead.partial in the hope that what's there is actually complete.

11 years agoMerge pull request #122 from patricksmith/update-readme
Mike Verdone [Fri, 15 Feb 2013 14:55:12 +0000 (06:55 -0800)] 
Merge pull request #122 from patricksmith/update-readme

Update README example code
Updates the examples in the README because of changes to the Twitter API. The changes were basically copied from a similar commit to the API docs: https://github.com/sixohsix/twitter/commit/58ccea4e1489a735d2b01bcdd45677b2c4374f00.

11 years agoTwitterCall._handle_response(): if reading from handle raises httlib.IncompleteRead...
Daniel Murray [Wed, 13 Feb 2013 07:05:32 +0000 (15:05 +0800)] 
TwitterCall._handle_response(): if reading from handle raises httlib.IncompleteRead, attempt to continue using the partial response

11 years agoUpdate README example code
Patrick Smith [Tue, 12 Feb 2013 23:09:17 +0000 (18:09 -0500)] 
Update README example code

11 years agoMerge pull request #118 from DracoThuban/patch-1
Mike Verdone [Sat, 2 Feb 2013 13:57:42 +0000 (05:57 -0800)] 
Merge pull request #118 from DracoThuban/patch-1

Update twitter/follow.py
Sometimes Twitter returns a list of any userID without user.
Users blocked or suspended? I don't know.
This modification prevents the script to stop and return an incomplete list.

11 years agoMerge pull request #119 from geeknik/master
Mike Verdone [Sat, 2 Feb 2013 13:56:06 +0000 (05:56 -0800)] 
Merge pull request #119 from geeknik/master

Update BOT_VERSION in twitter/ircbot.py from 1.6.1 to 1.9.1
I figured this was an oversight, so I updated BOT_VERSION from 1.6.1 to 1.9.1 to match the version of the base package.

11 years agoUpdate Twitterbot version from 1.6.1 to 1.9.1
Brian 'geeknik' Carpenter [Wed, 30 Jan 2013 23:22:40 +0000 (17:22 -0600)] 
Update Twitterbot version from 1.6.1 to 1.9.1

11 years agoUpdate twitter/follow.py
DracoThuban [Tue, 29 Jan 2013 09:56:03 +0000 (04:26 -0530)] 
Update twitter/follow.py

Sometimes Twitter returns a list of any user without ID.
Users blocked or suspended? I do not know.
This modification prevents the script to stop and return an incomplete list.

11 years agoVersion 1.9.1. twitter-1.9.1
Mike Verdone [Sun, 27 Jan 2013 22:14:10 +0000 (23:14 +0100)] 
Version 1.9.1.

11 years agoUpdate API docs because Twitter changed everything.
Mike Verdone [Sun, 27 Jan 2013 22:10:37 +0000 (23:10 +0100)] 
Update API docs because Twitter changed everything.

11 years agoUTF-8 decode extra_args only if Py 2.7.
Mike Verdone [Sun, 27 Jan 2013 21:51:01 +0000 (22:51 +0100)] 
UTF-8 decode extra_args only if Py 2.7.

11 years agoMerge pull request #115 from dragonfax/jstillwell/add_ids
Mike Verdone [Sun, 27 Jan 2013 21:33:02 +0000 (13:33 -0800)] 
Merge pull request #115 from dragonfax/jstillwell/add_ids

add id to twitter-follow output.

I use this to track twitter user names.

11 years agoMerge pull request #114 from az0/master
Mike Verdone [Sun, 27 Jan 2013 21:31:37 +0000 (13:31 -0800)] 
Merge pull request #114 from az0/master

archiver downloads duplicate tweets

The log to the screen shows the downloaded tweets come in sizes 200,199,199.  Example;

    Archiving nprnews tweets in ./nprnews
    Browsing nprnews statuses, new tweets: 200
    Browsing nprnews statuses, new tweets: 199
    Browsing nprnews statuses, new tweets: 199

So I compared the tweet ID keys and found duplicate tweets.

11 years agoMerge pull request #111 from ccosby/ForceAnsi
Mike Verdone [Sun, 27 Jan 2013 21:29:47 +0000 (13:29 -0800)] 
Merge pull request #111 from ccosby/ForceAnsi

Add forceAnsi option to cmdline.

Enable ansi formatting when stdout isn't a tty. I needed this for use
with geektool.

11 years agoadd id to twitter-follow output.
Jason Stillwell [Sat, 26 Jan 2013 18:01:01 +0000 (10:01 -0800)] 
add id to twitter-follow output.

11 years agoremove trailing whitespace
Andrew Ziem [Wed, 23 Jan 2013 03:08:57 +0000 (20:08 -0700)] 
remove trailing whitespace

11 years agoDo not download the same tweet twice which could slowly waste API calls and bandwidth
Andrew Ziem [Wed, 23 Jan 2013 02:49:03 +0000 (19:49 -0700)] 
Do not download the same tweet twice which could slowly waste API calls and bandwidth

11 years agoAdd better formatting to status output.
Chris Cosby [Wed, 16 Jan 2013 22:53:14 +0000 (17:53 -0500)] 
Add better formatting to status output.

Use HTMLparser to convert &blah; correctly
If ansi output, bold #hashtags and underline @profiles
Enable ansi formatting when stdout isn't a tty. I needed this for use
with geektool.

11 years agoMerge pull request #110 from anmarmansur/master
Mike Verdone [Tue, 22 Jan 2013 11:46:35 +0000 (03:46 -0800)] 
Merge pull request #110 from anmarmansur/master

Fix Issue #60 can't write config file on Windows
This fixes the problem by writing the files in the correct location (user home folder) on Windows rather than the root of the system drive which:

1. Requires unnecessary admin rights elevation
2. Will overwrite other users' settings and tokens

11 years agoFix Issue #60 can't write config file on Windows
Anmar Mansur [Fri, 11 Jan 2013 17:50:38 +0000 (10:50 -0700)] 
Fix Issue #60 can't write config file on Windows

Windows doesn't have a HOME environment variable. The config file ends up being written to the root of system drive, hence the need for admin rights. Windows does however define a USERPROFILE environment variable that points correctly to the logged in user's profile home folder where most Python programs store their settings. Tested on Windows 7 x64 and Windows 8 x64.

11 years agoFix Issue #60 can't write config file on Windows
Anmar Mansur [Fri, 11 Jan 2013 17:46:50 +0000 (10:46 -0700)] 
Fix Issue #60 can't write config file on Windows

Windows doesn't have a HOME environment variable. The config file ends up being written to the root of system drive, hence the need for admin rights. Windows does however define a USERPROFILE environment variable that points correctly to the logged in user's profile home folder where most Python programs store their settings. Tested on Windows 7 x64 and Windows 8 x64.

11 years agoMerge pull request #106 from edavis/add-timeout-to-stream
Mike Verdone [Tue, 11 Dec 2012 14:02:56 +0000 (06:02 -0800)] 
Merge pull request #106 from edavis/add-timeout-to-stream

stream: Include _timeout parameter in _handle_response
In a5aab11 (and renamed in 8fd7289d), \_handle_response began receiving
a \_timeout parameter when invoked via TwitterCall.__call__.

The _handle_response method in api.py was updated to reflect this, but
not the two (TwitterStreamCall, TwitterStreamCallNonBlocking) in
stream.py.

This commit adds _timeout to the two streaming classes to accommodate
the changes.

11 years agostream: Include _timeout parameter in _handle_response
Eric Davis [Thu, 6 Dec 2012 22:59:11 +0000 (14:59 -0800)] 
stream: Include _timeout parameter in _handle_response

In a5aab11 (and renamed in 8fd7289d), _handle_response began receiving
a _timeout parameter when invoked via TwitterCall.__call__.

The _handle_response method in api.py was updated to reflect this, but
not the two (TwitterStreamCall, TwitterStreamCallNonBlocking) in
stream.py.

This commit adds _timeout to the two streaming classes to accommodate
the changes.

11 years agoTweaking weirdness.
Mike Verdone [Thu, 6 Dec 2012 18:27:56 +0000 (19:27 +0100)] 
Tweaking weirdness.

11 years agoMake oauth_dance use requests.
Mike Verdone [Mon, 3 Dec 2012 21:04:57 +0000 (22:04 +0100)] 
Make oauth_dance use requests.

11 years agoHorsee
Mike Verdone [Mon, 3 Dec 2012 20:40:57 +0000 (21:40 +0100)] 
Horsee

11 years agoMerge pull request #104 from np1/patch-1
Mike Verdone [Tue, 27 Nov 2012 16:28:59 +0000 (08:28 -0800)] 
Merge pull request #104 from np1/patch-1

Update twitter/twitter_globals.py
create_all method fails as a GET request, it needs to be a POST like create

11 years agoUpdate twitter/twitter_globals.py
np1 [Tue, 27 Nov 2012 03:04:09 +0000 (03:04 +0000)] 
Update twitter/twitter_globals.py

create_all method fails as a GET request, it needs to be a POST like create

11 years agoFix rate command. Though nobody uses it.
Mike Verdone [Wed, 14 Nov 2012 22:33:58 +0000 (23:33 +0100)] 
Fix rate command. Though nobody uses it.

11 years agoReplace janky OAuth with Request's pristine OAuth support.
Mike Verdone [Wed, 14 Nov 2012 22:02:43 +0000 (23:02 +0100)] 
Replace janky OAuth with Request's pristine OAuth support.

11 years agoMake command line work again, somewhat.
Mike Verdone [Wed, 14 Nov 2012 21:46:45 +0000 (22:46 +0100)] 
Make command line work again, somewhat.

11 years agoOld sanity tests now pass with the new api adapter.
Mike Verdone [Wed, 14 Nov 2012 21:32:25 +0000 (22:32 +0100)] 
Old sanity tests now pass with the new api adapter.

11 years agoGonna try to shim the old style into the new code and save myself maintenance pain.
Mike Verdone [Mon, 12 Nov 2012 17:16:28 +0000 (12:16 -0500)] 
Gonna try to shim the old style into the new code and save myself maintenance pain.

11 years agoFix some api2 tests.
Mike Verdone [Mon, 12 Nov 2012 17:05:20 +0000 (12:05 -0500)] 
Fix some api2 tests.

11 years agoMerge remote-tracking branch 'origin/master' into next_gen
Mike Verdone [Mon, 12 Nov 2012 16:34:56 +0000 (11:34 -0500)] 
Merge remote-tracking branch 'origin/master' into next_gen

Conflicts:
twitter/oauth.py

11 years agoMerge pull request #100 from erfaan/master
Mike Verdone [Sat, 3 Nov 2012 20:18:13 +0000 (13:18 -0700)] 
Merge pull request #100 from erfaan/master

Fixed #99
Introduced an optional parameter `timeout` which each API request.

11 years agoChanged special parameter timeout to _timeout so that it doesn't block any parameter...
Irfan Ahmad [Sat, 3 Nov 2012 20:10:40 +0000 (01:10 +0500)] 
Changed special parameter timeout to _timeout so that it doesn't block any parameter names Twitter decides to use

11 years agoMerge pull request #98 from SamuelMarks/patch-1
Mike Verdone [Sat, 3 Nov 2012 19:56:31 +0000 (12:56 -0700)] 
Merge pull request #98 from SamuelMarks/patch-1

Removed extra parantheses

11 years agoFixes #99. Introduced an optional timeout parameter for each API call
Irfan Ahmad [Thu, 1 Nov 2012 08:50:54 +0000 (13:50 +0500)] 
Fixes #99. Introduced an optional timeout parameter for each API call

11 years agoRemoved extra parantheses
Samuel Marks [Mon, 29 Oct 2012 03:17:10 +0000 (14:17 +1100)] 
Removed extra parantheses

11 years agoMerge pull request #92 from erfaan/fix-91
Mike Verdone [Sun, 14 Oct 2012 13:10:58 +0000 (06:10 -0700)] 
Merge pull request #92 from erfaan/fix-91

Fixes 91
Also added the property rate_limit_limit to get rate limit ceiling for current request.

11 years agoFixes #91 and fixed the docstring of the new rate_limit_limit property
Irfan Ahmad [Sat, 13 Oct 2012 05:56:35 +0000 (10:56 +0500)] 
Fixes #91 and fixed the docstring of the new rate_limit_limit property

11 years agoFixes 91. Also added the property rate_limit_limit to get rate limit ceiling for...
Irfan Ahmad [Sat, 13 Oct 2012 05:48:56 +0000 (10:48 +0500)] 
Fixes 91. Also added the property rate_limit_limit to get rate limit ceiling for current request.

11 years agoFix issue #90. Use _id to mean 'id' as a CGI param.
Mike Verdone [Thu, 11 Oct 2012 20:19:24 +0000 (22:19 +0200)] 
Fix issue #90. Use _id to mean 'id' as a CGI param.

11 years agoMerge pull request #89 from ollieglass/patch-1
Mike Verdone [Thu, 11 Oct 2012 19:26:19 +0000 (12:26 -0700)] 
Merge pull request #89 from ollieglass/patch-1

Change API default version to 1.1

11 years agoAPI defaults to version 1.1
Ollie Glass [Tue, 9 Oct 2012 22:34:01 +0000 (00:34 +0200)] 
API defaults to version 1.1

11 years agoTurn on socket keepalives. This will hopefully fix #76.
Mike Verdone [Thu, 4 Oct 2012 15:44:46 +0000 (17:44 +0200)] 
Turn on socket keepalives. This will hopefully fix #76.

11 years agoMerge pull request #87 from hugovk/master
Mike Verdone [Fri, 28 Sep 2012 13:36:41 +0000 (06:36 -0700)] 
Merge pull request #87 from hugovk/master

Added options for archiving mentions and favorites
I've added the following options to archiver.py:

```
 -m --mentions <file>  archive own mentions instead of timeline into
                       given file name (requires OAuth, max 800 statuses)
 -v --favorites        archive user's favorites instead of timeline
```

This lets me periodically backup all my tweets, favorites and mentions with a batch file something like this:

```
@echo Archiving my tweets
@call twitter-archiver.exe --oauth --save-dir M:\twitter hugovk

@echo.
@echo Archiving my favourites
@call twitter-archiver.exe --oauth --save-dir M:\twitter --favorites hugovk

@echo.
@echo Archiving my mentions
@call twitter-archiver.exe --oauth --save-dir M:\twitter --mentions hugovk-mentions
```

11 years agoAded options for archiving mentions and favorites.
Hugo [Mon, 24 Sep 2012 21:12:57 +0000 (00:12 +0300)] 
Aded options for archiving mentions and favorites.

-m --mentions <file>  archive own mentions instead of timeline into
given file name (requires OAuth, max 800 statuses)
-v --favorites        archive user's favorites instead of timeline

11 years agoMerge pull request #85 from yegle/master
Mike Verdone [Mon, 24 Sep 2012 14:08:35 +0000 (07:08 -0700)] 
Merge pull request #85 from yegle/master

Fix for issue 84

11 years agoFixed: gzip'ed response not decoded in TwitterHTTPError
yegle [Fri, 14 Sep 2012 22:56:17 +0000 (15:56 -0700)] 
Fixed: gzip'ed response not decoded in TwitterHTTPError

11 years agoDocumentation.
Mike Verdone [Thu, 9 Aug 2012 16:22:49 +0000 (19:22 +0300)] 
Documentation.

11 years agoSet encoding to utf-8 in test file.
Mike Verdone [Fri, 3 Aug 2012 21:29:16 +0000 (23:29 +0200)] 
Set encoding to utf-8 in test file.

11 years agoMerge remote-tracking branch 'origin/master' into next_gen
Mike Verdone [Fri, 3 Aug 2012 21:27:23 +0000 (23:27 +0200)] 
Merge remote-tracking branch 'origin/master' into next_gen

11 years agoVersion 1.9.0 twitter-1.9.0
Mike Verdone [Fri, 3 Aug 2012 21:07:25 +0000 (23:07 +0200)] 
Version 1.9.0