Learning to Develop Bots

YousB

Junior Member
Joined
Apr 23, 2013
Messages
136
Reaction score
73
Hello!

I wanted to ask the BHW community what is the best language/platform to use for coding my own bots. I have a programming experience and am currently taking multiple programming courses. But I wanted to know what is the most logical programming language to use. Is there some sort of standard that I don't know of.

All replies are greatly appreciated =)
 
There's no standard. Some programmers might tell you otherwise but when it comes down to it, it's personal preference.
 
Take a look at Python. I use it for most of my bots. There are many great Python libraries for scraping and automation such as Mechanize, lxml , Pyparsing , UrlLib, PycURL & Scrapy.
 
I find python has a steeper learning curve for customizing. i like c# or vb.net
 
The language you know the best -- Whether thats PHP, C#, VB, Python or another one. My choice is usually PHP or C#, depending on what I need or want to do.
 
I am most comfortable in Ruby at the moment. I am hearing a lot of people reply with python which I have heard good things about.



The language you know the best -- Whether thats PHP, C#, VB, Python or another one. My choice is usually PHP or C#, depending on what I need or want to do.

A php bot? :O
 
I am most comfortable in Ruby at the moment. I am hearing a lot of people reply with python which I have heard good things about.





A php bot? :O

I used to use PHP to make bots all the time. The downside is that you can't multithread apps. If I had to recommend a language for botting then I would say c#.
 
So would Ruby not work as well as C#, PHP, and Python?
 
Python or Ruby are great. Also C# if you plan on leveraging the Windows platform.
 
I used to use PHP to make bots all the time. The downside is that you can't multithread apps. If I had to recommend a language for botting then I would say c#.

A workaround would be - make a PHP script to interact with a Python bot somewhere :)
 
This was true in the past but threading IS possible with PHP.

Code:
http://pthreads.org/

Interesting! I'm going to take a look at this in my free time. I just got back into programming and IM so I feel like a dinosaur.

Thanks,
​TheeAriGrande
 
Interesting! I'm going to take a look at this in my free time. I just got back into programming and IM so I feel like a dinosaur.

No problem but be advised that I have not extensively tested this threading solution for php. I am sure its riddled with issues. :)
 
I recommend PHP with Node.js for any kind of bots - Facebook, Twitter, Youtube.
Just take care about cookies, redirects, user-agents and you'll be successful!
 
python! but depends on personal preference. Try which flavor you like.
 
1. Python
2. PHP/Curl
3. Ubot studio
4. imacros
 
Hi OP,

Best is on developed platform, C#, Perl and Ruby.
PhP: hmmmmmmmmmmm

Good Luck,
Commoner
 
It depends what you want to do.
You can automate almost any site with Selenium and you can code it in PHP, Java, C++, Python and many more
WinAutomation and AutoIT are good for windows environments where you interact with browsers and applications
 
Back
Top