Programming a Twitter Bot

sebyku

Junior Member
Joined
Mar 9, 2013
Messages
163
Reaction score
23
Being a programmer I would like to create my own twitter bot (most likely in C# - windows forms application) but not commercial, only for personal purposes. I am little new in this and what should I need?

- creating a app from https://apps.twitter.com/ ?
- getting a library from google that connect me to api ?
- develop it in visual studio?


Is there a chance to find a library that would help me to connect to all api to make an application similar to tweetadder for example?
 
This might be of help from a quick google search - http://www.martani.net/2009/09/build-your-own-retweet-hash-bot-with.html
 
Yeah, just get a library to do the hard work for you. My stuff is in python and it seems to work fine. It should work alright in C# to. Give it a go and let us know how it goes.
 
I've done this in PHP and there are tons of good libraries. But the API is easy to work with once you master making your requests.
 
I already made a part of my soft, thank you for all :) I used your recomended library Preemo.
I have a little question for programmers: For start following I have made with delay seconds and all is good, but the delay is not working good for getting a user friend list, it get`s first 300 then the message is that I reached limit, code 88.

I am not familiar with the list ForEach and I have the code like this:
friendship.Users.ForEach(friend =>
richTextBox1.AppendText(friend.ScreenNameResponse + "\n"));

and my delay function is:

await PutTaskDelay();

how can I put the delay on that foreach?

print.jpgprint_1.jpg
 
Sebyku no problem glad to help. Take a look here - https://dev.twitter.com/overview/api/response-codes for your error code. It looks like you are hitting the rate limit.
 
Back
Top