Jump to content
UBot Underground

Wait For User To Login?


Recommended Posts

Hi to all,

 

I just purchased Ubot Studio this week and I am making the switch from Imacros to Ubot-Studio. 
Mainly because I like the conditional Statements and the possibility to sell your Bots. 

 

At the moment I try to rebuild My Imacro Scripts in Ubot, so far things do work well.

 

Now I compiled a bot and encountered a Problem: To do some Facebook Scraping, the user has to log in to Facebook first.
How can I do that?

 

My testet solution:
Wait for Element / Wait for Element to disapear
Script did not continue properly.

 

Would appreciate any tipps on how to do this.

 

TL;DR:
Bot should wait till user die log into Facebook and than start Scraping. 

Link to post
Share on other sites

find some text or image on the page that is only present for logged in users ... do a loop while

 

example

 

loop while one=one

set- one=two

if xyz exists, then wait 1 second, else do something, set one=one

Link to post
Share on other sites

Yeah it did work, thanks! 

 

Glad you figured it out, in the future I would recommend having the bot look for a piece of text such as "Log Out" or something similar!

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