03-18-2014, 01:25 PM
How To Use:
1. Register and app here https://apps.twitter.com/app/new
--> Your callback url should be the url of file callback.php
Example: if you upload the script in the root directory of yoursite, then it should be:
If you are upload it to a folder inside the root directory e.g: "twitterapp", then your callback url will be
2. Open config.php and edit following:
- YOUR_APP_CONSUMER_KEY -> change this with your application key.
- YOUR_APP_SECRET_KEY -> change this with your app secret key.
- YOUR_APP_CALLBACK_URL -> change this with the url you type in "Callback URL" field when you creating the app.
You can find them inside the API Keys section of your app.
3. Upload the zipped files to your server and then extract.
4. To start using it, open the url to the main directory where you upload the scripts. Example:
or
This is still very basic app, and only have 2 features that is fetching and following. I am not even design it yet, since I am too busy with my works.
If you want to support me improving this script, then you can send me a donation. I will really appreciate it.
Download:
[hide]https://www.mediafire.com/?49qtsr1gq3zy171[/hide]
EDIT:
"The tokenfile.php file is auto generated... please chmod your folder to 755 so the script can write that file.."
1. Register and app here https://apps.twitter.com/app/new
--> Your callback url should be the url of file callback.php
Example: if you upload the script in the root directory of yoursite, then it should be:
Code:
http://yoursite.com/callback.php
Code:
http://yoursite.com/twitterapp/callback.php
2. Open config.php and edit following:
PHP Code:
define('CONSUMER_KEY', 'YOUR_APP_CONSUMER_KEY');
define('CONSUMER_SECRET', 'YOUR_APP_SECRET_KEY');
define('OAUTH_CALLBACK', 'YOUR_APP_CALLBACK_URL');
- YOUR_APP_CONSUMER_KEY -> change this with your application key.
- YOUR_APP_SECRET_KEY -> change this with your app secret key.
- YOUR_APP_CALLBACK_URL -> change this with the url you type in "Callback URL" field when you creating the app.
You can find them inside the API Keys section of your app.
3. Upload the zipped files to your server and then extract.
4. To start using it, open the url to the main directory where you upload the scripts. Example:
Code:
http://yoursite.com/
Code:
http://yoursite.com/twitterapp
Code:
Based on twitter rule, max request would be 350 / hour. So it will not work if you are trying to following more than 350 users at a time.
This is still very basic app, and only have 2 features that is fetching and following. I am not even design it yet, since I am too busy with my works.
If you want to support me improving this script, then you can send me a donation. I will really appreciate it.
Download:
[hide]https://www.mediafire.com/?49qtsr1gq3zy171[/hide]
EDIT:
"The tokenfile.php file is auto generated... please chmod your folder to 755 so the script can write that file.."