KanadaRob 0 Posted February 27, 2010 Report Share Posted February 27, 2010 I am quite new to UBot but I am learning it rapidly. I am trying to make the following script... tell me if it seems feasible. Basically, the script would log into a Twitter account (username and pass taken from text file) then it would enter and write a message (taken from text file), then log out. If anyone could give me some good advice or point me in the right direction in doing this bot (I've only looked at bot code, never tried to do one from the ground up), I would be very appreciative. Thanks for any replies. Quote Link to post Share on other sites
jewcat 0 Posted February 27, 2010 Report Share Posted February 27, 2010 Pile all your input data into a CSV... user1,pass1,this is my twitter message 1user2,pass2,this is my twitter message 2user3,pass3,this is my twitter message 3user4,pass4,this is my twitter message 4 Load the CSV to a list like %InputData. Create a loop that loops for the list total of %InputData. Within the loop create another list and fill it via $List From Text in your variable constants, and delimit it with a comma. Name it %AccountData or something. The list position of your username is now %AccountData -> 0, Username will be %AccountData -> 1, And your message will be %AccountData -> 2. Choose by attribute the appropriate input forms and change the values of them by list position using the $List Item constant on your %AccoundData list. Good to go. Quote Link to post Share on other sites
KanadaRob 0 Posted February 28, 2010 Author Report Share Posted February 28, 2010 Pile all your input data into a CSV... user1,pass1,this is my twitter message 1user2,pass2,this is my twitter message 2user3,pass3,this is my twitter message 3user4,pass4,this is my twitter message 4 Load the CSV to a list like %InputData. Create a loop that loops for the list total of %InputData. Within the loop create another list and fill it via $List From Text in your variable constants, and delimit it with a comma. Name it %AccountData or something. The list position of your username is now %AccountData -> 0, Username will be %AccountData -> 1, And your message will be %AccountData -> 2. Choose by attribute the appropriate input forms and change the values of them by list position using the $List Item constant on your %AccoundData list. Good to go. Thanks so much for this help! This is the first bot I have ever made so I am having a little trouble. Could you look at my code (it is only like 40% done I feel) and tell me what I am doing wrong and perhaps add some commands that you are talking about? I am particularly confused about how to interact with the page (i mean click on the right fields in order to enter in the correct account data). Anyway, I attached the bot I made so far to this message. If anyone could help me out, I would really appreciate it. Thanks.mytwitterbot.ubot Quote Link to post Share on other sites
alcr 135 Posted February 28, 2010 Report Share Posted February 28, 2010 The most simple way to do things in the beginning is just simply chose by attribute and then change chosen attribute Works pretty good in twitter! I'd advise you to watch the google keyword-tutorial, it got aloooot of good ways on how to interact with sites. Quote Link to post Share on other sites
KanadaRob 0 Posted February 28, 2010 Author Report Share Posted February 28, 2010 The most simple way to do things in the beginning is just simply chose by attribute and then change chosen attribute Works pretty good in twitter! I'd advise you to watch the google keyword-tutorial, it got aloooot of good ways on how to interact with sites. hey thanks! the google keyword tutorial really helped a lot. i've gotten a little bit better but i am still struggling. i tried to run my program and it says that an error occurred and i should take a screenshot and post it to the forum. i don't want to take a screenshot since you can just download my bot and run it yourself and see so, could someone take a look at my program and tell me what i should be doing here? thanks.. i really appreciate the great help here. thanks again.mytwitterbot.ubot Quote Link to post Share on other sites
genebadd 0 Posted March 1, 2010 Report Share Posted March 1, 2010 Ya, just keep watching the videos...I have also started keeping a notebook for tricky things like working with lists,files ect....It helps to right down the steps Seth does in his video tutorials and then annotate next to those steps what Ubot is doing in your own words, if you can't figure out what Ubot is doing on a particular step then coming here is a good place to ask a question. 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.