tweepy.git
2 years agoSupport new endpoint parameters for Client.get_liking_users
Harmon [Wed, 9 Feb 2022 23:58:58 +0000 (17:58 -0600)]
Support new endpoint parameters for Client.get_liking_users

Add support for max_results and pagination_token endpoint parameters to Client.get_liking_users

2 years agoSupport new endpoint parameters for Client.get_retweeters
Harmon [Wed, 9 Feb 2022 23:57:52 +0000 (17:57 -0600)]
Support new endpoint parameters for Client.get_retweeters

Add support for max_results and pagination_token endpoint parameters to Client.get_retweeters

2 years agoUpdate usage of OAuthHandler to OAuth1UserHandler
Harmon [Wed, 9 Feb 2022 21:51:52 +0000 (15:51 -0600)]
Update usage of OAuthHandler to OAuth1UserHandler

2 years agoUpdate usage of AppAuthHandler in pagination documentation
Harmon [Wed, 9 Feb 2022 21:42:10 +0000 (15:42 -0600)]
Update usage of AppAuthHandler in pagination documentation

Update usage of AppAuthHandler to OAuth2AppHandler in pagination documentation

2 years agoUpdate README to match installation documentation
Harmon [Tue, 8 Feb 2022 23:12:18 +0000 (17:12 -0600)]
Update README to match installation documentation

2 years agoUpdate requests_oauthlib dependency requirement to >= 1.2.0
Harmon [Mon, 7 Feb 2022 20:26:25 +0000 (14:26 -0600)]
Update requests_oauthlib dependency requirement to >= 1.2.0

2 years agoUse oauthlib to create code challenge and verifier for PKCE
Harmon [Mon, 7 Feb 2022 20:24:55 +0000 (14:24 -0600)]
Use oauthlib to create code challenge and verifier for PKCE

2 years agoExplicitly specify oauthlib dependency requirement as >= 3.2.0
Harmon [Mon, 7 Feb 2022 20:20:43 +0000 (14:20 -0600)]
Explicitly specify oauthlib dependency requirement as >= 3.2.0

2 years agoCapitalize PKCE code challenge method
Harmon [Mon, 7 Feb 2022 20:04:35 +0000 (14:04 -0600)]
Capitalize PKCE code challenge method

2 years agoImprove authentication documentation formatting
Harmon [Mon, 7 Feb 2022 12:02:09 +0000 (06:02 -0600)]
Improve authentication documentation formatting

2 years agoMerge pull request #1805 from kyeb/kyeb/auth-docs-get-access-token
Harmon [Mon, 7 Feb 2022 11:56:45 +0000 (05:56 -0600)]
Merge pull request #1805 from kyeb/kyeb/auth-docs-get-access-token

Fix 3 typos in auth documentation

2 years agoFix 3 typos in auth documentation
Kye Burchard [Sat, 5 Feb 2022 22:35:10 +0000 (14:35 -0800)]
Fix 3 typos in auth documentation

2 years agoAdd logging documentation
Harmon [Fri, 4 Feb 2022 08:28:02 +0000 (02:28 -0600)]
Add logging documentation

2 years agoRemove debug function
Harmon [Thu, 3 Feb 2022 22:59:15 +0000 (16:59 -0600)]
Remove debug function

2 years agoMerge pull request #1793 from jacob1421/fix-time-parsing
Harmon [Sat, 29 Jan 2022 17:37:54 +0000 (11:37 -0600)]
Merge pull request #1793 from jacob1421/fix-time-parsing

Fixed date formatting for datetime objects

2 years agoImprove Korean translation file titles
Harmon [Sat, 29 Jan 2022 17:17:37 +0000 (11:17 -0600)]
Improve Korean translation file titles

2 years agoRemove Korean translation of Authentication Tutorial
Harmon [Sat, 29 Jan 2022 17:14:14 +0000 (11:14 -0600)]
Remove Korean translation of Authentication Tutorial

2 years agoMerge pull request #1763 from pinkrabbit412/master
Harmon [Sat, 29 Jan 2022 17:05:20 +0000 (11:05 -0600)]
Merge pull request #1763 from pinkrabbit412/master

Added new version of Korean translations for document, and some Miscellaneous changes!

2 years agoUpdated Korean locale .po file.
악동분홍토끼 [Sat, 29 Jan 2022 05:30:36 +0000 (14:30 +0900)]
Updated Korean locale .po file.

Updated Korean locale .po file.
1. Wrote some descriptive title.
2. Changed copyright year 2021 to 2022.
3. Wrote first author(translator).

2 years agoRemoved krHTML_autoBuild.bat
악동분홍토끼 [Fri, 28 Jan 2022 06:34:07 +0000 (15:34 +0900)]
Removed krHTML_autoBuild.bat

Removed unnecessary file.
- krHTML_autoBuild.bat

2 years agoReverted the Polish translation .po files to the previous version.
악동분홍토끼 [Fri, 28 Jan 2022 06:00:28 +0000 (15:00 +0900)]
Reverted the Polish translation .po files to the previous version.

Reverting the Polish translation .po files to the previous version.
This problems caused by Sphinx document builder.

2 years agoMerge branch 'tweepy:master' into master
악동분홍토끼 [Fri, 28 Jan 2022 05:49:29 +0000 (14:49 +0900)]
Merge branch 'tweepy:master' into master

2 years agoFixed date formatting for datetime objects
Jacob Bremiller [Thu, 27 Jan 2022 22:21:14 +0000 (16:21 -0600)]
Fixed date formatting for datetime objects

https://docs.tweepy.org/en/stable/client.html

Required Format:
YYYY-MM-DDTHH:mm:ssZ (ISO 8601/RFC 3339)

Docs are already updated with correct details. "Please note that this parameter does not support a millisecond value."

2 years agoAdd note about OAuth1UserHandler callback parameter in v4.5.0 changelog
Harmon [Tue, 25 Jan 2022 02:07:49 +0000 (20:07 -0600)]
Add note about OAuth1UserHandler callback parameter in v4.5.0 changelog

2 years agoRelease v4.5.0
Harmon [Tue, 25 Jan 2022 00:48:59 +0000 (18:48 -0600)]
Release v4.5.0

2 years agoAdd changelog for version 4.5.0
Harmon [Tue, 25 Jan 2022 00:43:21 +0000 (18:43 -0600)]
Add changelog for version 4.5.0

2 years agoSome Correction for Korean translation files what I've missed.
악동분홍토끼 [Tue, 11 Jan 2022 06:00:11 +0000 (15:00 +0900)]
Some Correction for Korean translation files what I've missed.

1. Some Correction for Korean translation files what I've missed(Removed "#, fuzzy", hyperlink typo).

2 years agoAdditional translations for new/modified files.
악동분홍토끼 [Tue, 11 Jan 2022 05:50:04 +0000 (14:50 +0900)]
Additional translations for new/modified files.

1. Additional translations for new/modified files (authentication.po, getting_started.po).

2 years agoMerge branch 'tweepy:master' into master
악동분홍토끼 [Sun, 9 Jan 2022 16:30:08 +0000 (01:30 +0900)]
Merge branch 'tweepy:master' into master

2 years agoImprove PaginationIterator.__next__ formatting
Harmon [Sun, 9 Jan 2022 05:18:57 +0000 (23:18 -0600)]
Improve PaginationIterator.__next__ formatting

2 years agoMerge pull request #1761 from darknessest/patch-1
Harmon [Sun, 9 Jan 2022 05:13:24 +0000 (23:13 -0600)]
Merge pull request #1761 from darknessest/patch-1

fix pagination for tweet counts

2 years agofix pagination for tweet counts
Darknessest [Sun, 9 Jan 2022 04:31:35 +0000 (12:31 +0800)]
fix pagination for tweet counts

`get_all_tweets_count` is using `next_token` for pagination.
`next_token` is returned only when a difference between start and end time is more than 31 days, no matter the granularity.

2 years agoUpdate and improve authentication documentation
Harmon [Sat, 8 Jan 2022 00:15:50 +0000 (18:15 -0600)]
Update and improve authentication documentation

2 years agoRemove now unnecessary urllib.parse.parse_qs import
Harmon [Fri, 7 Jan 2022 14:24:07 +0000 (08:24 -0600)]
Remove now unnecessary urllib.parse.parse_qs import

2 years agoImprove OAuth1UserHandler formatting
Harmon [Fri, 7 Jan 2022 14:18:35 +0000 (08:18 -0600)]
Improve OAuth1UserHandler formatting

2 years agoImprove order of OAuth1UserHandler methods
Harmon [Fri, 7 Jan 2022 14:14:36 +0000 (08:14 -0600)]
Improve order of OAuth1UserHandler methods

2 years agoDeprecate OAuthHandler alias
Harmon [Fri, 7 Jan 2022 13:51:36 +0000 (07:51 -0600)]
Deprecate OAuthHandler alias

2 years agoDeprecate AppAuthHandler alias
Harmon [Fri, 7 Jan 2022 13:45:24 +0000 (07:45 -0600)]
Deprecate AppAuthHandler alias

2 years agoRename OAuthHandler to OAuth1UserHandler
Harmon [Fri, 7 Jan 2022 13:18:13 +0000 (07:18 -0600)]
Rename OAuthHandler to OAuth1UserHandler

Keep OAuthHandler as deprecated alias

2 years agoAllow passing access token and secret directly to OAuthHandler.__init__
Harmon [Fri, 7 Jan 2022 13:10:15 +0000 (07:10 -0600)]
Allow passing access token and secret directly to OAuthHandler.__init__

2 years agoRemove OAuthHandler.get_xauth_access_token
Harmon [Fri, 7 Jan 2022 13:07:46 +0000 (07:07 -0600)]
Remove OAuthHandler.get_xauth_access_token

https://twittercommunity.com/t/retirement-of-xauth/88022

2 years agoRemove AuthHandler
Harmon [Fri, 7 Jan 2022 12:19:54 +0000 (06:19 -0600)]
Remove AuthHandler

2 years agoImprove OAuth2AppHandler formatting
Harmon [Fri, 7 Jan 2022 11:42:21 +0000 (05:42 -0600)]
Improve OAuth2AppHandler formatting

2 years agoSimplify OAuthHandler
Harmon [Fri, 7 Jan 2022 11:36:55 +0000 (05:36 -0600)]
Simplify OAuthHandler

2 years agoSimplify OAuth2AppHandler
Harmon [Fri, 7 Jan 2022 11:31:40 +0000 (05:31 -0600)]
Simplify OAuth2AppHandler

2 years agoImprove auth.py order
Harmon [Fri, 7 Jan 2022 11:25:05 +0000 (05:25 -0600)]
Improve auth.py order

2 years agoRename OAuth2Handler to OAuth2UserHandler
Harmon [Fri, 7 Jan 2022 11:24:03 +0000 (05:24 -0600)]
Rename OAuth2Handler to OAuth2UserHandler

2 years agoAllow OAuth2BearerHandler to be used as auth parameter for API
Harmon [Fri, 7 Jan 2022 11:22:39 +0000 (05:22 -0600)]
Allow OAuth2BearerHandler to be used as auth parameter for API

2 years agoRename OAuth2Bearer to OAuth2BearerHandler
Harmon [Fri, 7 Jan 2022 11:08:52 +0000 (05:08 -0600)]
Rename OAuth2Bearer to OAuth2BearerHandler

2 years agoAdded new version of Korean translations for document / Miscellaneous changes.
악동분홍토끼 [Fri, 7 Jan 2022 21:54:29 +0000 (06:54 +0900)]
Added new version of Korean translations for document / Miscellaneous changes.

1. Added new version of Korean translation for reference document.
2. Added krHTML_autoBuild.bat for debugging .po files at local devices (QoL, This will be changed to improved batch files at future).
3. Removed unused document .po files and TRANSLATORS_ko_KR.txt.

<Known Issue>
1. Completed translation of examples.po, but it doesn't appear at final results. Will be fixed soon.

2 years agoRename AppAuthHandler to Oauth2AppHandler
Harmon [Fri, 7 Jan 2022 11:06:47 +0000 (05:06 -0600)]
Rename AppAuthHandler to Oauth2AppHandler

Keep AppAuthHandler as deprecated alias

2 years agoRemove invalid section in API v2 authentication example
Harmon [Fri, 7 Jan 2022 10:28:21 +0000 (04:28 -0600)]
Remove invalid section in API v2 authentication example

2 years agoAdd and improve documentation for user_auth parameter for Client methods
Harmon [Fri, 7 Jan 2022 09:32:46 +0000 (03:32 -0600)]
Add and improve documentation for user_auth parameter for Client methods

2 years agoAdd user_auth parameters to Client.unlike and Client.like
Harmon [Fri, 7 Jan 2022 08:55:09 +0000 (02:55 -0600)]
Add user_auth parameters to Client.unlike and Client.like

Add user_auth parameters to Client.unlike and Client.like to support OAuth 2.0 Authorization Code Flow with PKCE
https://twittercommunity.com/t/manage-likes-incorrectly-mapped-to-oauth-2-0-app-access-token-in-twitter-api-v2-authentication-mapping-documentation/164600

2 years agoAdd user_auth parameters to Client methods to support OAuth 2.0
Harmon [Fri, 7 Jan 2022 08:39:15 +0000 (02:39 -0600)]
Add user_auth parameters to Client methods to support OAuth 2.0

Add user_auth parameters to Client methods to support OAuth 2.0 Authorization Code Flow with PKCE

2 years agoDefault user_auth parameter for Client.get_me to True
Harmon [Fri, 7 Jan 2022 08:23:43 +0000 (02:23 -0600)]
Default user_auth parameter for Client.get_me to True

2 years agoAdd version added directive to documentation for Client.get_me
Harmon [Fri, 7 Jan 2022 08:20:40 +0000 (02:20 -0600)]
Add version added directive to documentation for Client.get_me

2 years agoAdd documentation and test for Client.get_me
Harmon [Fri, 7 Jan 2022 08:07:08 +0000 (02:07 -0600)]
Add documentation and test for Client.get_me

2 years agoAdd Client.get_me
Harmon [Fri, 7 Jan 2022 07:52:11 +0000 (01:52 -0600)]
Add Client.get_me

2 years agoAdd OAuth2Handler
Harmon [Fri, 7 Jan 2022 07:51:01 +0000 (01:51 -0600)]
Add OAuth2Handler

2 years agoAdd link for pip in installation documentation
Harmon [Thu, 6 Jan 2022 00:41:43 +0000 (18:41 -0600)]
Add link for pip in installation documentation

2 years agoUse requests exception to handle JSONDecodeError
Harmon [Thu, 6 Jan 2022 00:16:09 +0000 (18:16 -0600)]
Use requests exception to handle JSONDecodeError

2 years agoUpdate requests dependency requirement to >= 2.27.0
Harmon [Thu, 6 Jan 2022 00:12:03 +0000 (18:12 -0600)]
Update requests dependency requirement to >= 2.27.0

2 years agoAdd API v2 examples
Harmon [Sun, 2 Jan 2022 00:29:34 +0000 (18:29 -0600)]
Add API v2 examples

2 years agoImprove FAQ question about API v2 model/object data
Harmon [Sat, 1 Jan 2022 17:12:41 +0000 (11:12 -0600)]
Improve FAQ question about API v2 model/object data

2 years agoImprove FAQ question about API v2 model/object data
Harmon [Sat, 1 Jan 2022 14:43:12 +0000 (08:43 -0600)]
Improve FAQ question about API v2 model/object data

2 years agoAdd Media.url
Harmon [Sat, 1 Jan 2022 14:35:17 +0000 (08:35 -0600)]
Add Media.url

Resolves #1722

2 years agoUpdate copyright years to include 2022
Harmon [Sat, 1 Jan 2022 13:14:26 +0000 (07:14 -0600)]
Update copyright years to include 2022

2 years agoMerge pull request #1751 from seratch/doc-errors
Harmon [Thu, 30 Dec 2021 10:12:33 +0000 (04:12 -0600)]
Merge pull request #1751 from seratch/doc-errors

Fix a few errors in docs, comments, and tests

2 years agoFix a few errors in docs, comments, and tests
Kazuhiro Sera [Thu, 30 Dec 2021 08:31:23 +0000 (17:31 +0900)]
Fix a few errors in docs, comments, and tests

2 years agoMerge pull request #1733 from kanguyen-vn/client-includes-fix
Harmon [Wed, 22 Dec 2021 21:36:54 +0000 (15:36 -0600)]
Merge pull request #1733 from kanguyen-vn/client-includes-fix

Minor fix(es) to Client's _make_request

2 years agoImprove formatting in Client._make_request
Harmon [Wed, 22 Dec 2021 21:35:58 +0000 (15:35 -0600)]
Improve formatting in Client._make_request

2 years agoFixed includes for poll objects
Kiet Nguyen [Fri, 17 Dec 2021 23:26:05 +0000 (18:26 -0500)]
Fixed includes for poll objects

2 years agoUpdate and improve extended Tweets documentation
Harmon [Mon, 22 Nov 2021 18:21:27 +0000 (12:21 -0600)]
Update and improve extended Tweets documentation

2 years agoImprove FAQ section titles for 401 and 403 errors
Harmon [Sun, 21 Nov 2021 17:41:46 +0000 (11:41 -0600)]
Improve FAQ section titles for 401 and 403 errors

2 years agoAdd FAQ section on API.search
Harmon [Fri, 19 Nov 2021 16:20:23 +0000 (10:20 -0600)]
Add FAQ section on API.search

2 years agoAdd FAQ section on Essential access and Twitter API v1.1
Harmon [Fri, 19 Nov 2021 15:56:38 +0000 (09:56 -0600)]
Add FAQ section on Essential access and Twitter API v1.1

2 years agoImprove and optimize Model.__getstate__
Harmon [Fri, 19 Nov 2021 15:16:57 +0000 (09:16 -0600)]
Improve and optimize Model.__getstate__

Resolves #1707

2 years agoImprove formatting in changelog for version 4.4.0
Harmon [Wed, 17 Nov 2021 14:36:28 +0000 (08:36 -0600)]
Improve formatting in changelog for version 4.4.0

2 years agoRelease v4.4.0
Harmon [Wed, 17 Nov 2021 14:29:04 +0000 (08:29 -0600)]
Release v4.4.0

2 years agoAdd changelog for version 4.4.0
Harmon [Wed, 17 Nov 2021 14:27:26 +0000 (08:27 -0600)]
Add changelog for version 4.4.0

2 years agoAdd version changed directive to documentation for Space
Harmon [Wed, 17 Nov 2021 14:18:15 +0000 (08:18 -0600)]
Add version changed directive to documentation for Space

2 years agoAdd version added directive to documentation for Client.get_space_buyers
Harmon [Wed, 17 Nov 2021 14:13:36 +0000 (08:13 -0600)]
Add version added directive to documentation for Client.get_space_buyers

2 years agoAdd Space.ended_at and Space.topic_ids
Harmon [Wed, 17 Nov 2021 14:06:27 +0000 (08:06 -0600)]
Add Space.ended_at and Space.topic_ids

2 years agoAdd Client.get_space_buyers
Harmon [Wed, 17 Nov 2021 13:38:45 +0000 (07:38 -0600)]
Add Client.get_space_buyers

2 years agoRemove now unnecessary API import in auth.py
Harmon [Tue, 16 Nov 2021 14:24:18 +0000 (08:24 -0600)]
Remove now unnecessary API import in auth.py

2 years agoRemove Space.__str__
Harmon [Tue, 16 Nov 2021 14:10:31 +0000 (08:10 -0600)]
Remove Space.__str__

2 years agoAdd support for Twitter API v2 List lookup endpoints
Harmon [Tue, 16 Nov 2021 13:52:59 +0000 (07:52 -0600)]
Add support for Twitter API v2 List lookup endpoints

2 years agoImprove formatting for Client.follow_list and Client.unfollow_list test
Harmon [Mon, 15 Nov 2021 22:05:57 +0000 (16:05 -0600)]
Improve formatting for Client.follow_list and Client.unfollow_list test

2 years agoRelease v4.3.0
Harmon [Wed, 3 Nov 2021 22:13:43 +0000 (17:13 -0500)]
Release v4.3.0

2 years agoAdd changelog for version 4.3.0
Harmon [Wed, 3 Nov 2021 22:12:12 +0000 (17:12 -0500)]
Add changelog for version 4.3.0

2 years agoAdd version added directive to documentation for manage Tweets methods
Harmon [Wed, 3 Nov 2021 21:53:41 +0000 (16:53 -0500)]
Add version added directive to documentation for manage Tweets methods

2 years agoUpdate documentation for Client.create_tweet
Harmon [Wed, 3 Nov 2021 21:51:14 +0000 (16:51 -0500)]
Update documentation for Client.create_tweet

https://twittercommunity.com/t/incorrect-types-in-documentation-for-post-2-tweets-json-body-parameters/161527
https://twittercommunity.com/t/manage-tweets-endpoint/161516

2 years agoAdd support for managing Tweets with API v2
Harmon [Wed, 3 Nov 2021 21:48:57 +0000 (16:48 -0500)]
Add support for managing Tweets with API v2

2 years agoUpdate config import in tests
Harmon [Wed, 3 Nov 2021 21:40:08 +0000 (16:40 -0500)]
Update config import in tests

Also improve formatting in tests

2 years agoAdd table for Client documentation
Harmon [Tue, 2 Nov 2021 00:18:40 +0000 (19:18 -0500)]
Add table for Client documentation

2 years agoImprove table formatting in API documentation
Harmon [Mon, 1 Nov 2021 23:12:53 +0000 (18:12 -0500)]
Improve table formatting in API documentation

2 years agoUpdate Twitter API reference link in Client.like documentation
Harmon [Mon, 1 Nov 2021 22:58:41 +0000 (17:58 -0500)]
Update Twitter API reference link in Client.like documentation

2 years agoUpdate Twitter API reference link in Client.unlike documentation
Harmon [Mon, 1 Nov 2021 22:53:31 +0000 (17:53 -0500)]
Update Twitter API reference link in Client.unlike documentation

2 years agoFix Client.return_type type in documentation
Harmon [Mon, 1 Nov 2021 18:46:55 +0000 (13:46 -0500)]
Fix Client.return_type type in documentation