Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Edited the README.md file to be compatible with githb
- Loading branch information
Showing
2 changed files
with
33 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
//Readme | ||
##About | ||
This repository code is a *crude* script to get the **User IDs** of the followers of a twitter user. | ||
|
||
This code implements [Twitter API 1.1](https://dev.twitter.com/docs/api/1.1) as such you need to create [an app](https://apps.twitter.com/app/new) from your twitter account. | ||
|
||
I have tried to comment my code as much as I can and I have used user-friendly variable names but sometimes... my brain thinks faster than my hands so some things are skipped ;) | ||
|
||
##Instructions | ||
1. Download the zipped file and extract to your web server | ||
2. open `follow.php` and do the following | ||
1. Add the username of the user whose follower you want to save | ||
2. Add your **Twitter App** values to lines 12-15 | ||
3. Run the script from your web browser | ||
4. The followers will be saved to a file in the `followers` folder in the format `[username]_followers.txt` | ||
|
||
##PHP Server info | ||
Just in case the list of followers is quite much, you might have to change the `max_execution_time` config value in your **PHP Config* file ie php.ini to something meaningful. | ||
|
||
I used `43200` (12 hours) on my test server. | ||
|
||
##Imported libraries | ||
The project uses the [OAuth Library PHP scripts](http://oauth.net). and are available in the `lib` folder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters