gogreen 0 Posted May 18, 2015 Report Share Posted May 18, 2015 I have a Facebook bot that uses thread and in new browser commands to run multiple FB accounts. The bot will join FB groups once a day and post to FB groups every 30 minutes. Could gurus here point me to the right direction on how to schedule the muti-threaded bot? If I use a define command (include thread and in new browser commands) for posting to FB groups, and schedule the custom command to run every 30 minutes, I'm afraid the bot will need to login to FB accounts every 30 minutes when the custom command runs. That's definitely a problem. Thanks in advance. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 18, 2015 Report Share Posted May 18, 2015 Is the problem that you need to login every 30 minutes and FB will notice or is it something in the code? Quote Link to post Share on other sites
gogreen 0 Posted May 18, 2015 Author Report Share Posted May 18, 2015 I need to run the bot every 30 minutes to access multiple FB accounts. This can be done with scheduling. But I don't want the bot to login Facebook every time it runs because it'll look suspicious. That's not a human will do normally. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 18, 2015 Report Share Posted May 18, 2015 I need to run the bot every 30 minutes to access multiple FB accounts. This can be done with scheduling. But I don't want the bot to login Facebook every time it runs because it'll look suspicious. That's not a human will do normally. Okay I see now, off the top of my head here is an idea: Set a % chance that the bot will log out because it's not going to sit on Facebook all day, maybe like 40% so 2/5 chance. You can pick a random number between 1 and 5 and if it is say 1 or 5 then it will log out and go to another website, then come back to Facebook a half hour later (or better yet a random time later) Then make some other functions also based on randomness maybe 5 or 10 functions that each do something different, for example: navigate to a group page or look at a friends images. Then it can do normal things on these pages like scroll down the page and maybe even like something. The functions can be called if another random number is found by setting a variable with the $rand function in it. This way instead of logging out it looks like your just browsing Facebook. Quote Link to post Share on other sites
gogreen 0 Posted May 20, 2015 Author Report Share Posted May 20, 2015 Thanks for the suggestions. Would the bot use too much memory if we keep it running for days? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 20, 2015 Report Share Posted May 20, 2015 Thanks for the suggestions. Would the bot use too much memory if we keep it running for days? More than likely, the Ubot browser climbs memory like nothing I've seen before. I'm using the close page command every 10 pages loaded or so in a few bots to give you an example. TJ has a free up memory plugin I think, might want to check that out. 1 Quote Link to post Share on other sites
gogreen 0 Posted May 21, 2015 Author Report Share Posted May 21, 2015 More than likely, the Ubot browser climbs memory like nothing I've seen before. I'm using the close page command every 10 pages loaded or so in a few bots to give you an example. TJ has a free up memory plugin I think, might want to check that out.Thanks. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.