mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
b201cfaa0f
# docs `ecosystem/integrations` update 4 Added missed integrations. Fixed inconsistencies. ## Who can review? @hwchase17 @dev2049
22 lines
446 B
Markdown
22 lines
446 B
Markdown
# Twitter
|
|
|
|
>[Twitter](https://twitter.com/) is an online social media and social networking service.
|
|
|
|
|
|
## Installation and Setup
|
|
|
|
```bash
|
|
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](../modules/indexes/document_loaders/examples/twitter.ipynb).
|
|
|
|
```python
|
|
from langchain.document_loaders import TwitterTweetLoader
|
|
```
|