Jump to content
UBot Underground

Trying to upload photo to facebook Groups with ubot


Recommended Posts

I am new to ubot studio, have watched the tutorials, and have gone through the forums.  I am running ubot pro.  I have put together a script that posts an image onto facebook group pages.  Everything works smooth until i get to the popup that asks to select the file.  I tried using some scripting i found on forums for posting to facebook pages, but the naming of the fields must be different in groups from pages.

 

Does anyone know hoe to complete this, or know the names of the elements on the popup that ask for filename and the open button?

 

I know I'm a total noob here, but i have exhausted my other options for figuring this out.  thank you for any assistance.

Link to post
Share on other sites

 This is some code i just got finished with for scheduling page posts. i would think it would be the same for groups.

 

comment("add picture --")
                    click(<data-endpoint="/ajax/composerx/attachment/media/chooser/">"Left Click""No")
                    wait(.9)
                    click(<innertext="Upload Photos/Video">"Left Click""No")
                    wait(.9)
                    change file field(<name="file1">$random list item(%project_in_use_images))
                    wait(.9)
                    divider

 

basically its just a change file field after clicking the media upload button. :)

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

hi, can't seem to get it to work... it opens up the UI window.. and doesn't change the file name :( help please?

:) had the same problem... no worries. I think its this part your looking for

 

 

change file field(<name="file1">$random list item(%project_in_use_images))

 

 

Change file field...

 

 

"If at first you don't succeed"

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