Jump to content
UBot Underground

Problems with FB Popup


Recommended Posts

I'm trying to create a bot for http://socialmediaexplode.com but when i try to open a popup window in ubot, it doesn't display correctly. It works ok in firefox/chrome/ie.

 

Below is my code.

 

Thank you.

 

ui text box("username", #username)
ui text box("password", #password)
navigate("http://socialmediaexplode.com/xchange.php?p=fb2", "Wait")
if($exists(<username field>)) {
   then {
       type text(<username field>, #username, "Standard")
       type text(<password field>, #password, "Standard")
       click($element offset(<login button>, 0), "Left Click", "No")
   }
   else {
   }
}
wait for browser event("Everything Loaded", "")
if($exists($element offset(<tagname="font">, 0))) {
   then {
       click(<href="/xchange.php?p=fb2">, "Left Click", "No")
   }
   else {
       alert("where ")
   }
}
if($exists(<outerhtml=w"<div class=\"contentinside\">*
Step 1. Click \"Go To Page\"*</div>">)) {
   then {
       alert("here!")
       click(<onclick="facebookopen('http://www.facebook.com/johnolivephotographer/###','39444');">, "Left Click", "No")
   }
   else {
   }
}

Link to post
Share on other sites

very top of your code change useragent to safari

 

then login to facebook first, then go to the site you want to like or whatever the case may be. it will come up no problem with the account your logged into already from the browser session

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