README.md
0. TL;DR
Retrieve followers of a specific user on Twitter.
1. Introduction
You can retrieve any given number of followers (according to Twitter's Rate Limit).
Input
- (Required): The query username (without the @ sign)
- (Required): Twitter API authentication keys
Output:
- A list of follower usernames.
2. Query
The query username: The username that you're searching for on Twitter. (key = "query")
Example of a query username:
{ "username": "algorithmia" }
3. Authentication
Twitter API authentication keys: The API keys that are necessary to access Twitter API service. You can get yours here. (key = "auth")
{ "auth": { "app_key": "xxxxxxx", "app_secret": "xxxxxxx", "oauth_token": "xxxxxxx", "oauth_token_secret": "xxxxxxx" } }
4. Output
A list of follower usernames: This is the list of relevant followers for your query.
Example of a list of follower usernames
[ follower_username_1, follower_username_2, ..., follower_username_n ]
5. Example
Example 1:
- Parameter 1: A query username
- Parameter 3: Twitter API authentication keys
{ "username": "google", "auth": { "app_key": "xxxxxxx", "app_secret": "xxxxxxx", "oauth_token": "xxxxxxx", "oauth_token_secret": "xxxxxxx" } }
6. Credits
For more information, please visit the Python package python-twitter and Twitter Dev Center.
Contents