mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
87e502c6bc
Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
22 lines
460 B
Plaintext
22 lines
460 B
Plaintext
# 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](/docs/modules/data_connection/document_loaders/integrations/twitter.html).
|
|
|
|
```python
|
|
from langchain.document_loaders import TwitterTweetLoader
|
|
```
|