Making a bot

MarkNog

Registered Member
Joined
Jan 14, 2013
Messages
55
Reaction score
6
First off: I'm not sure if this is in the right section but I am interested in making a bot for tumblr, twitter, etc. but I don't know what to learn to code this. I have seen various bots and they don't look all that difficult to make so can someone point me in the right direction? I am looking to do the whole follow, share/retweet, kinda stuffff... ya know?


PS - I have visual basic, C++, and html coding knowledge but have never done anything like this. Mainly just coded hacks back in the day for a game called maplestory with cheat engine and c++
 
I would advise you learn either C# or VB.NET. Both are extremely powerful and relatively simple.
 
I have seen various bots and they don't look all that difficult to make so can someone point me in the right direction?
The coding part isn't really difficult, thats right. The most annoying part is to analyse and simulate all the http requests and to deal with site specific oddities
Therefore you will need at least a basic understanding of the http protocol. Also it can't hurt to know a bit about sessions, cookies, javascript/ajax, html (parsing)...
As a starting point I used the book "HTTP Programming Recipes for C# Bots" from Heaton.

Which programming language you choose doesn't really matter. In the beginning I would go with C# or Python but if you already know C++ you can just stick with it. Of course it will be more work but concurrently you will get a bigger understanding of how everything works.
 
I don't see a reason to go with C++. Try VB.net or C#. You can analyse/sniff the traffic with Fiddler or Charles or even Chrome Dev Tools.
 
To be honest, the whole Visual Studio thing is pretty poor. Its platform dependent which is a massive letdown, but unless you're willing to take a huge learning curve and indulge yourself in the Volvo of programming languages that is Java, you'll probably want to stick with VB.net

Just look up VB.net web bot on YouTube and you'll find an abundance of tutorials. The gist of every single one is:
1) Get HTTP responses from the web application using a normal browser
2) Repeat those POST requests with user defined variables
3) World domination
 
Oh honey child,

"Making a bot for tumblr, twitter, etc." is pretty ambiguous. Define what you are looking to do a bit more thoroughly and consider using Python to code things up. There are good scraping scripts out there that use Python. I prefer PHP myself, but that's because I am old.

You'll also need to check your terms and conditions for your host. Many will not allow scraping or indexing of any kind.

Github is a good resource for you to check out when you are sure of what you need.
 
The coding part isn't really difficult, thats right. The most annoying part is to analyse and simulate all the http requests and to deal with site specific oddities
Therefore you will need at least a basic understanding of the http protocol. Also it can't hurt to know a bit about sessions, cookies, javascript/ajax, html (parsing)...
As a starting point I used the book "HTTP Programming Recipes for C# Bots" from Heaton.

Which programming language you choose doesn't really matter. In the beginning I would go with C# or Python but if you already know C++ you can just stick with it. Of course it will be more work but concurrently you will get a bigger understanding of how everything works.

The coding part can be easy but to make any half decent bot it's going to require alot of difficult.

HTTP webrequests are quite easy and straight forward - use httprequests in .NET
 
Define what you are looking to do a bit more thoroughly and consider using Python to code things up. There are good scraping scripts out there that use Python. I prefer PHP myself, but that's because I am old.

I would say Python too, would be the easiest to get up and running from scratch. There's a scraping framework called "Scrapy" you might want to check out.
 
Try github, you can find a lot of good scripts that you might need there.
Python is also one great option for building bots.
 
Back
Top