Make sure to have pod running locally with the following environment variables set,
or use the dev pod at https://dev.pod.memri.io.
```
TWITTER_V2_CLIENT_ID
TWITTER_V2_CLIENT_SECRET
```
Your pod needs an access token to run the plugin.
Get an access token by running the following command.
```
twitter-oauth
```
This will open a browser window and ask you to login to twitter and authorize the pod defined by keys.json
Using dev pod? Then run:
```
twitter-oauth --pod dev
```
## About
This plugin is designed on top of the [Twitter API](https://developer.twitter.com) V2 with [OAuth 1.0a flow](https://developer.twitter.com/en/docs/authentication/oauth-1-0a).
...
...
@@ -11,35 +38,10 @@ In this plugin, the data fetched for a given user handle includes:
- Followers and following accounts (id, handle, name, description, profile picture)
- User timeline tweets (id, content, mentions (only if already processed), date)
### TODO: More data to import:
- Media
- Mentioned users
## Unsupported functionality
- The plugin does not fetch user contact information such as phone numbers and emails.
- The plugin does not fetch user direct messages.
- The plugin does not support tweeting, commenting, retweeting on the speficied twitter handle account.
###### Client credentials:
App Key === API Key === Consumer API Key === Consumer Key === Customer Key === oauth_consumer_key
The importer can be invoked by the Pod by launching a Docker container. To build the image for this container, run below commad with app keys replaced with your actual keys.