Commit graph

19 commits

Author SHA1 Message Date
Erik Scheffers
c6b1232abd Added callback_url parameter to Twython to set the URL the remote
site will use to return the request token.

Supports both OAuth 1.0 and 1.0a methods of setting the oauth_callback
parameter. For OAuth 1.0a support, a patched version of python-oauth2
is currently required (see
https://github.com/simplegeo/python-oauth2/pull/43).

Availability of OAuth 1.0a support in python-oauth2 is autodetected
and a suitable warning is given if the remote site requires it but
python-oauth2 doesn't support it.
2011-01-18 15:14:11 +01:00
Ryan McGrath
e5bef0f8e4 Fix header passing, fix isListSubscriber call never firing a request 2011-01-18 03:01:50 -05:00
Ryan McGrath
b225918165 TwythonError should go off of AttributeError instead 2011-01-18 01:43:41 -05:00
Ryan McGrath
7ac349bca4 Merge branch 'master' of git@github.com:ryanmcgrath/twython 2011-01-18 01:34:55 -05:00
Ryan McGrath
d5c34779d9 Woah, how the hell did we never notice this before? Set headers on the instance, not as a generic variable... 2011-01-17 19:50:39 -05:00
Alexander Dutton
90cba31922 Some parameters that need substituting (e.g. addListMember) contain underscores. These weren't matched by the regex, so I've added an underscore to the character group. addListMember now works. 2011-01-08 08:10:45 +08:00
Ryan McGrath
435294e004 Fix username parameter bug 2010-12-13 14:28:23 +09:00
Ryan McGrath
4b2a406b35 Fix for searchTwitterGen search_query parameter, spotted (again) by Jacob Silterra 2010-12-13 14:26:49 +09:00
Ryan McGrath
8ecdaa5bfa Fix a shortenURL reference bug pointed out by Jacob, incremental release of latest bugfixes because Pypi's been down recently 2010-12-12 14:45:03 +09:00
Ryan McGrath
ace1a87745 Merge branch 'bsn-master' 2010-12-08 19:43:48 +09:00
Eugen Pyvovarov
9133d0f10e ability to send tweets containing unicode characters like cyrillic word 'тест' 2010-12-08 02:39:06 -08:00
Ryan McGrath
931921be01 Fix for issue #25, certain search queries not being properly encoded. Thanks to momander for pointing this out... 2010-11-28 17:56:11 +09:00
Ryan McGrath
969a1b3578 Fix for issue #22 (searchTwitter failing due to args specification); searchTwitter/searchTwitterGen now default to enforcing UTF-8 conversion, constructApiURL calls fixed, guess_mime_type() function consolidated/removed, bump to version 1.3.4 for small release with bug fixes 2010-10-29 00:31:27 -04:00
Ryan McGrath
3b9527ae69 Fix constructApiURL method, version increment to fix function definitions in new versions 2010-10-20 11:22:31 -04:00
Ryan McGrath
3cef1a463f Redid some examples, moved examples to core_examples to differentiate from oauth_django_example, version bump to 1.3.2 to fix distribution errors with Pip/etc (dumb binaries were being created earlier, just throwing out the source now and letting pip handle it) 2010-10-19 16:31:09 -04:00
Ryan McGrath
eb5541e433 Twython 1.3, OAuth support is now finally included and working. Ships with an example Django application to get people started with OAuth, entire library is refactored to not be a royal clusterfsck. Enjoy. 2010-10-16 23:37:47 -04:00
Ryan McGrath
c0b56f33a7 Reorganizing structure, finally made the setup.py install function actually work - thanks to the guys in #python for their help. 2009-08-06 01:48:14 -04:00
Ryan McGrath
5ba7e99e6e Some more work on OAuth, borrowing ideas from existing implementations - parsing of responses, etc. Feel free to critique/contribute. 2009-08-04 02:20:49 -04:00
Ryan McGrath
3b22ff34ce Properly porting files... 2009-08-03 00:45:29 -04:00
Renamed from twython/tango.py (Browse further)