From 3cf825e294667edc26f54e7533a271e27539bacd Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 23 Oct 2021 19:23:30 -0500 Subject: [PATCH] Add FAQ section on API.me for v4 --- docs/faq.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/faq.rst b/docs/faq.rst index 3e94de0..479bab7 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -74,6 +74,17 @@ These parameters can be passed as keyword arguments instead. Refer to the documentation for the :class:`API` method being used. +Where did ``API.me`` go? +------------------------ + +If you're attempting to use ``API.me`` with Tweepy v4, you'll get an +:class:`AttributeError` about the :class:`API` object not having a ``me`` +attribute. + +This is because :ref:`Tweepy v4.0.0 ` removed ``API.me``. + +Instead, you can use :meth:`API.verify_credentials`. + Where did ``StreamListener`` go? -------------------------------- -- 2.25.1