Skip to main content


Twitter is an online social media and social networking service.

Installation and Setup​

pip install tweepy

We must initialize the loader with the Twitter API token, and we need to set up the Twitter username.

Document Loader​

See a usage example.

from langchain_community.document_loaders import TwitterTweetLoader

API Reference:

Chat loader​

See a usage example.

Help us out by providing feedback on this documentation page: