Jump to content
UBot Underground

Uploading Image to Twitter


Recommended Posts

Hey guys,

 

I'm having hard time with uploading profile picture to Twitter. If I choose upload field and then "send keys file chosen" I get stucked with "Open file" popup window. I use ie8 and I found out that "this command no longer works if you have internet explorer 8 installed.", which I found here: http://ubotstudio.com/scriptreference.aspx

 

Do I need to downgrade ie in order to upload image to twitter/use "send keys file chosen" function?

 

Thanks for helping me out!

 

Greetings, thenimalix

Link to post
Share on other sites

Strange, now it works, but still not sure what the problem was. I was choosing field same as you, with id...

 

Thanks for help and quick reply!

 

Update: Now I noticed, you used "change file field choosen" instead of "send keys file chosen".

Link to post
Share on other sites
  • 3 months later...

Yes, "change file field chosen" just make life easier, with less coding does the same thing ;)

 

As Frank Lucas would say "My Man!"

 

saved me 100's of hours fucking about thanks Praney

Link to post
Share on other sites
  • 1 year later...

Hey Praney,

 

Just tried this but it's not ubot 4 compatable. Any pseudo steps you could tell me about how to upload this?

 

I am using IE 6 as useragent and can see the change proto option. Tried Change File Field but cant get the profile pick to load.

 

Cheers

 

Kev

Link to post
Share on other sites
  • 1 year later...

Sorry to up this thread, but I cannot add an image on a tweet... The "change file field" doesn't work... Nothing's work...

 

I've tried many user agents with the same problem.

 

Someone has the solution here ?

 

Thanks a lot ;)

Link to post
Share on other sites

yes, but u should have the http plugin. 

Sorry to up this thread, but I cannot add an image on a tweet... The "change file field" doesn't work... Nothing's work...

 

I've tried many user agents with the same problem.

 

Someone has the solution here ?

 

Thanks a lot ;)

Link to post
Share on other sites

Omg, why are you opening up such old topics? That one was opened while we still used UBot v3....I think next time you should be better by opening a new topic or at least comment one the one with more recent date...

 

However, back to the problem....you don't need any plugin for that, here is the code for v4/v5 ( make sure you run this code once you are on the "edit profile" page):

click(<id="profile_image_upload">, "Left Click", "No")
wait for browser event("DOM Ready", "")
wait for element(<(type="file" AND name="media[]")>, "", "Appear")
change file field(<(type="file" AND name="media[]")>, "C:\\Users\\Tadej\\Pictures\\Tadej-300x225.png")
wait for browser event("DOM Ready", "")
click(<id="settings_save">, "Left Click", "No")
wait for browser event("Everything Loaded", "")

Profile image will appear once the code submits the page.

Link to post
Share on other sites

Omg, why are you opening up such old topics? That one was opened while we still used UBot v3....I think next time you should be better by opening a new topic or at least comment one the one with more recent date...

 

However, back to the problem....you don't need any plugin for that, here is the code for v4/v5 ( make sure you run this code once you are on the "edit profile" page):

click(<id="profile_image_upload">, "Left Click", "No")
wait for browser event("DOM Ready", "")
wait for element(<(type="file" AND name="media[]")>, "", "Appear")
change file field(<(type="file" AND name="media[]")>, "C:\\Users\\Tadej\\Pictures\\Tadej-300x225.png")
wait for browser event("DOM Ready", "")
click(<id="settings_save">, "Left Click", "No")
wait for browser event("Everything Loaded", "")

Profile image will appear once the code submits the page.

Sorry to up again... But my problem is to Tweet an image. I just can't... Make me crazy

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