Commit graph

319 commits

Author SHA1 Message Date
Mike Helmick
866fb0202a Merge pull request #428 from tushdante/tushdante-video-upload
added media_category and support for STATUS calls
2016-09-30 07:28:38 -04:00
Tushar Bhushan
469432bcf8 - added support for media_category param
- added code to handle empty responses for STATUS calls
2016-09-26 14:22:19 -07:00
Tushar Bhushan
e76a290166 fixed styling issues 2016-09-26 12:51:05 -07:00
Tushar Bhushan
7401adfb64 - Double -> single quotes
- Removed default value from .get()
- Added a check_progress param to upload_video to allow users to decide when to check 'STATUS' calls
2016-09-25 18:03:26 -07:00
Mike Helmick
a66268331b Merge pull request #425 from ping/mediaupload_status
Use GET request if the media upload command is STATUS
2016-09-23 09:24:33 -04:00
ping
c57c4bfc34 Update html_for_tweet to support extended tweets 2016-09-20 17:18:21 +08:00
Tushar Bhushan
2c02b622a2 added media_category and support for STATUS calls 2016-09-14 15:35:51 -07:00
Phil Gyford
1b20f8f0f9 Fix upload_video "string argument detected, got 'bytes'" bug.
Needed to use BytesIO instead of StringIO when uploading video to Twitter.

Tested with python 2.6.9, 2.7.11, 3.3.6, 3.5.1.

fixes #422
2016-08-17 14:18:59 +01:00
ping
f7ddbcf414 Use GET request if the media upload command is STATUS 2016-06-22 22:20:26 +08:00
Mike Helmick
2faa84629b Merge pull request #415 from philgyford/symbols-in-html-for-tweet
Link $IBM-style symbols in tweets in html_for_tweet()
2016-04-30 05:33:14 -04:00
Mike Helmick
3f6700373f
3.4.0 release, update version and history 2016-04-30 05:22:26 -04:00
Phil Gyford
a1640f4a17 Link $IBM-style symbols in tweets in html_for_tweet()
Fixes #412
2016-04-22 14:22:32 +01:00
ping
99e9cebdc3 Fix issue where is_quote_status is true but there is no quoted_status 2016-03-29 10:44:04 +08:00
ping
ff4655c314 Fix html_for_tweet for pre-quote implementation tweet html 2015-10-08 11:31:07 +08:00
Karambir Singh Nain
2cca895079 Add video upload endpoint 2015-09-29 20:57:47 +05:30
Mike Helmick
00d9d6a766 Merge pull request #357 from derek-dchu/master
Remove redundant checking for oauth_token & oauth_token_secret
2015-09-12 07:45:57 -04:00
Mike Helmick
594f02f401 Merge pull request #390 from ping/html-for-tweet-patch-389
Fix html_for_tweet when a hashtag/mention is a substring of another
2015-08-18 11:38:48 -04:00
ping
62d51c7431 Add support for quoted_status in html_for_tweet() 2015-08-17 14:22:32 +08:00
ping
2ea45abb73 Fix html_for_tweet when a hashtag/mention is a substring of another 2015-08-15 19:43:59 +08:00
Mike Helmick
faee7ea3ff Update AUTHORS.rst, Update HISTORY.rst, Update version
[ci skip]
2015-07-18 10:32:30 -04:00
Davis Silverman
dff85ace49 Have lookup_user GET and not POST 2015-07-13 15:20:21 -04:00
Andre Polykanine A.K.A. Menelion Elensúlë
4c213ea10d Corrected the docs URL for uploading media, fixes #375 2015-04-09 00:55:24 +03:00
Ben Bertka
6d1c82b594 Fixed indents for dynamic filtering in types.py 2015-03-24 11:36:08 -07:00
Ben Bertka
e0a2dfbbb0 Added dynamic filtering 2015-03-24 11:00:49 -07:00
shuuji3
d70fa54375 Fix a broken link to the document of media_upload. 2015-02-14 17:44:45 +09:00
Mirat Can Bayrak
14526cb3df Fixed type errror on api.py 2014-12-16 13:40:36 +00:00
ping
3cd88a09e6 Format media entities in Twython.html_for_tweet() 2014-12-02 17:54:52 +08:00
Derek Hu
8eb8c2dd55 Remove redundant checking for oauth_token & oauth_token_secret 2014-11-19 01:09:02 -05:00
Ben McGinnes
036760bfd4 Fixed typo with list_mute_ids. 2014-11-02 16:04:39 +11:00
Ben McGinnes
123b8f4f74 Added the create, destroy, list and list IDs mute(s) endpoints.
Roughly modelled on the similar-ish block user functions (note: the
"mutes/users" instead of just "mutes" appears to be intentional by
Twitter).

Also added myself to AUTHORS.rst because I reckon adding API bits makes
the grade.  ;)
2014-11-02 10:41:56 +11:00
Mike Helmick
e427281660 Fixes #305 2014-10-30 11:14:34 -04:00
Mike Helmick
23a0b62f2c Update AUTHORS, HISTORY, DeprecationWarning on update_status_with_media 2014-10-30 11:14:34 -04:00
Mike Helmick
8548a31238 Changing versions, adding AUTHORS & HISTORY 2014-10-30 11:14:34 -04:00
Mike Helmick
6662ff4061 Merge pull request #342 from dalleng/master
Fix issue #317 TwythonRateLimitError.retry_after is always None.
2014-10-30 11:11:40 -04:00
Filipe Ximenes
83379b42e6 adding upload media endpoint 2014-10-23 12:03:33 -03:00
Diego Allen
f2a535b250 Formatting fixes 2014-09-01 09:06:07 -04:00
Diego Allen
27617181b1 Fix issue #317 TwythonRateLimitError.retry_after is always None. 2014-08-31 23:14:49 -04:00
Joe Cabrera
a0fec2f004 pep8 finished 2014-07-26 11:48:36 -04:00
Joe Cabrera
6206c0b73f more pep8 fixes 2014-07-24 13:50:36 +00:00
Joe Cabrera
1455d8769a first pep8 work 2014-07-24 04:24:51 +00:00
bsbkeven
b29ce05bc8 Update endpoints.py
Added endpoint for statuses/lookup (https://dev.twitter.com/docs/api/1.1/get/statuses/lookup).
2014-05-21 11:18:59 -07:00
drevicko
144c60c3e5 Merge branch 'master' of github.com:ryanmcgrath/twython into cursor-pages
Conflicts:
	twython/api.py
2014-03-05 13:30:28 +11:00
Mike Helmick
beffba7da7 Merge pull request #284 from drevicko/non-recursive-cursor
changed cursor() from recursion to while loop
2014-02-25 15:36:57 -05:00
Cory Benfield
31ff35349c Merge headers, don't overwrite. 2014-02-23 15:07:05 +00:00
Ian
e1ee67192e fixed paramater naming as per PEP8 2014-02-21 10:29:10 +11:00
Ian
3c278efd4e Merge remote-tracking branch 'upstream/master' into cursor-pages 2014-02-21 10:24:44 +11:00
Ian
ff6502e2e9 Merge remote-tracking branch 'upstream/master' into non-recursive-cursor 2014-02-21 10:19:01 +11:00
cash
1e627f9fb1 need to use ValueError to account for different json libraries throwing different exceptions 2014-01-25 17:15:17 -05:00
cash
fa2122127c Fixes #302 simplifies json decoding and handling of errors. Adds tests. 2014-01-25 16:56:48 -05:00
wcdolphin
f8d47c13d3 Adds retry_after attribute to TwythonRateLimitError 2014-01-12 15:21:27 -08:00