From: Harmon Date: Sun, 24 Oct 2021 00:23:30 +0000 (-0500) Subject: Add FAQ section on API.me for v4 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3cf825e294667edc26f54e7533a271e27539bacd;p=tweepy.git Add FAQ section on API.me for v4 --- 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? --------------------------------