15.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

02-28-2013, 07:37 PM
Post: #1
[GET] PHP Twitter Auto Responder Bot [Multi Reply]
This bot scrapes though twitter search via the api for a key word or phrase you specify in the script and then will @mention one of the specified replies to the person who tweeted the tweet with key word or phrase (supports multiple random replies). Good for targeting, spam etc You just create an app in twitter as this uses twitters api then set up the settings in the script as desired (open bot.php and edit settings to your requirements), upload the script and run it as a cronjob. eg php /path/toscript/bot.php
The script is commented so it is pretty easy to setup and dont forget to give write permissions to the txt file in the folder.

I ran one bot for 12 hours to troll people and it got suspended twice for abusing the @mention system Biggrin so Im guessing it will take some experimenting to get the timing right, you can adjust the randomness in the script and also the length of time between when it is run via the cronjobs. Has potential for unlimited bots, just set them up in different folders with different accounts.


Magic Button :
Code:
http://www.sendmyway.com/j4q141rea5h5
Code:
http://www.maxmirror.com/download/1AZZPEVN
Code:
http://uploadmirrors.com/download/1EOK2AAQ/php_twitter_bot_multi_reply.rar
Code:
http://www50.zippyshare.com/v/72945679/file.html
(05-02-2018 03:53 AM)skphero Wrote:  Stop making people by sharing fake keys :p !!
[Image: mysig.png]
02-28-2013, 09:08 PM
Post: #2
RE:
not working he
give me this
$query = 'eBay'; $file_name = 'last_tweet_number.log'; // Create our twitter API object require_once("twitteroauth.php"); // go to https://dev.twitter.com/apps and create new application // and obtain [CONSUMER_KEY], [CONSUMER_SECRET], [oauth_token], [oauth_token_secret] // then put them in place below $oauth = ...................................=== $needle); }
03-01-2013, 04:41 AM (This post was last modified: 03-01-2013 05:01 AM by NickyOktavian.)
Post: #3
RE: [GET] PHP Twitter Auto Responder Bot [Multi Reply]
Thanks for share u script but i not see index file?
If nothing index file, how to input username:pass bot account for use this script?
And please write instruction brother!
I think this script like twitter bot using twitterfeed for post reply tweet...

------------------------------------------------------------------

i see in bot.php:

echo $tweet->from_user . " says: ".$tweet->text."\r\n";

this keyword " says: " ?
.:: MASSTUNNELER | Create Your Own Proxy ::.
~> Contact Me Skype: NickyOktavian <~
03-01-2013, 05:23 AM
Post: #4
RE:
Give the manual please, how to configure script?
03-01-2013, 12:26 PM (This post was last modified: 03-01-2013 09:36 PM by PRT.)
Post: #5
RE:
There is no manual. Is just a script Not a Commercial Product. If you do not understand php or how to edit a commented php script you're out of luck. If you want to use scripts like this I suggest learning how they work in your spare time, it worth knowing because there is so much you can do with this sort of scripting.
The script works, you do not understand it. Its not a script for web browsers.

The instruction is simple.
Edit bot.php
[Image: sNLXs6o.png]

line 1: what word or phrase you want it to search for.


line 8: the credentials for your twitter app you created and the accounts api keys. (again if you dont know how READ twitters instructions)


Line 24 - 34: are what you want the bot to say to people.


line 43: random time between replies in seconds.
===================================================
save script and upload it somewhere.
Cmod the txt file so the script can write to it.
Set the script as a cronjob and how often you want the script to run php /path/to/script/bot.php + other options if you want them.

Thats all. Its not difficult but its not easy if you do not know what you are looking at.
85.gif
(05-02-2018 03:53 AM)skphero Wrote:  Stop making people by sharing fake keys :p !!
[Image: mysig.png]
03-01-2013, 12:45 PM
Post: #6
RE:
If you want to host websites, I suggest that you learn how to edit scripts (use a good text editor like notepad++ it shows the code neat and tidy. windows notepad has bad formatting!) Also learn basic web hosting controls in cpanel and other control panels. Learn MYSQL basic functions like import export, it will make your life more easier and productive so you spend more time on other things.
(05-02-2018 03:53 AM)skphero Wrote:  Stop making people by sharing fake keys :p !!
[Image: mysig.png]
05-07-2013, 02:42 PM
Post: #7
RE:
work well, thank *censored*


@xindex learn php, put <?php ?> at the begin and end...

php must have json extension for work
05-23-2013, 10:15 AM
Post: #8
RE:
Thank you!
06-13-2013, 07:39 AM
Post: #9
RE:
how can i update this for twitter api 1.1 because search function it isnt working..
09-22-2013, 06:14 PM
Post: #10
RE:
Is this still working for the updated twitter api 1.1?
34.gif




29.gif