Jump to content
UBot Underground

Twitter Message Posting Scripting


Recommended Posts

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.

Link to post
Share on other sites

Pile all your input data into a CSV...

 

user1,pass1,this is my twitter message 1

user2,pass2,this is my twitter message 2

user3,pass3,this is my twitter message 3

user4,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.

Link to post
Share on other sites

Pile all your input data into a CSV...

 

user1,pass1,this is my twitter message 1

user2,pass2,this is my twitter message 2

user3,pass3,this is my twitter message 3

user4,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

Link to post
Share on other sites

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.

Link to post
Share on other sites

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...