Grey Hat 4 Posted June 14, 2015 Report Share Posted June 14, 2015 Hi, So I'm attempting to build a simple bot that logs into one Tumblr account. Second feature posts on that same single account's Tumblr page. Issues: In attempting to do old school: Navigate to Tumblr login page: https://www.tumblr.com/login, fill in Username and Password, UBot Browser crashes every time. No Xpath or HTTP Post (but if there is a short-cut using those I'm not seeing it) So I looked on the forum and one user suggested to another to sign up for Tumblr API. I did and looked at their code example: http://api.tumblr.com/v2/blog/museumsandstuff.tumblr.com/posts/quote?api_key={key}{"meta": {"status": 200,"msg": "OK"},"response": {"blog": { ... },"posts": [{"blog_name": "museumsandstuff","id": 4742980381,"post_url": "http:\/\/museumsandstuff.tumblr.com\/post\/4742980381","type": "quote","date": "2011-04-19 08:52:34 GMT","timestamp": 1303203154,"format": "html","reblog_key": "KLA85e6c","tags": [],"note_count": 23,"source_url": "http:\/\/museumtwo.blogspot.com\/2011\/04\/guest-post-convivial-museum-photo-essay.html","source_title": "museumtwo.blogspot.com","text": "Why do visitors still report discomfort, confusion,elitism, exclusion?","source": "<a href=\"http:\/\/museumtwo.blogspot.com\/2011\/04\/guest-post-convivial-museum-photo-essay.html\"target=\"_blank\">Museum 2.0: Guest Post: The ConvivialMuseum Photo Essay<\/a> (via <a href=\"http:\/\/www.joshrobinson.org\/\"target=\"_blank\">joshrobinsonblog<\/a>)"},...],"total_posts": 9}} So I get that the text string can be modified with my UI Variable content but I'm wondering: 1) Is this over kill for the two simple things I want to do and is there a work-around so Tumblr doesn't crash in attempting login-page if I do not go the API route?2) If I go the API route, would I use Aymen's HTTP Post, Headers, send the user, name etc... or use the API key. (I've never attempted using UBot integrating with an API. I've got some ideas, but I'm in the dark and any advice or link to best way to go about this would be appreciated). Thanks! Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted June 14, 2015 Report Share Posted June 14, 2015 try the mobile site? 3 Quote Link to post Share on other sites
Grey Hat 4 Posted June 14, 2015 Author Report Share Posted June 14, 2015 I've been working waaaaaaay too long on this bot these past couple of days. Great Suggestion Code Docta. That fixed it. Duh on my part. Thank you!!! Quote Link to post Share on other sites
malefic 48 Posted June 14, 2015 Report Share Posted June 14, 2015 Don't get too excited - when you start working with Tumblr in Ubot you will find moreproblems. This has been confirmed by Seth who says its something to do with Awesomium. Any of the popups that appear in Tumblr will not work. My best bots have been dead in the water for several months due to the problems. 1 Quote Link to post Share on other sites
VentureOnline 49 Posted June 15, 2015 Report Share Posted June 15, 2015 Use the iphone or android user agent. 1 Quote Link to post Share on other sites
Seth Turin 223 Posted June 18, 2015 Report Share Posted June 18, 2015 Don't get too excited - when you start working with Tumblr in Ubot you will find moreproblems. This has been confirmed by Seth who says its something to do with Awesomium. Any of the popups that appear in Tumblr will not work. My best bots have been dead in the water for several months due to the problems. I've yet to see a single problem in tumblr that can't be fixed by switching the user agent. Be careful listening to folks who focus more on problems than solutions. UBot Studio is designed to let you attack problems from 1000s of different angles. If one doesn't work, another surely will! I'm glad that the user agent fix is working for you, GreyHat! 2 Quote Link to post Share on other sites
web4you.pro 3 Posted January 29, 2016 Report Share Posted January 29, 2016 (edited) hiI try login tumblr.com/loginI set user agent iphon or android, but i can't even manual CLick button loginHow solve it set user agent("Android") navigate("https://www.tumblr.com/login","Wait")wait for element(<create account button>,"","Appear")type text(<email field>,"email@temp.com","Standard")type text(<password field>,"pass","Standard")plugin command("WindowsCommands.dll", "keyboard event", "Enter", "Key Press")mouse over(<create account button>,"No")plugin command("WindowsCommands.dll", "click mouse", "Untitled Bot* - UBot Studio Stealth Developer Edition", "HwndWrapper[uBot Studio.exe;;d431e45d-8892-434b-b22e-157ba0d9cfeb]", 794, 534, "Double Click") Edited January 29, 2016 by web4you.pro Quote Link to post Share on other sites
Pete 121 Posted January 29, 2016 Report Share Posted January 29, 2016 open ubot go to tools > options under the general tab set the browser to "Chrome 39" click OK then close ubot studioRestart ubot set user agent("Android") navigate("https://www.tumblr.com/login","Wait") wait for element(<create account button>,"","Appear") type text(<email field>,"email@temp.com","Standard") type text(<password field>,"pass","Standard") click(<class="signup_login_btn active">,"Left Click","No") 1 Quote Link to post Share on other sites
web4you.pro 3 Posted January 31, 2016 Report Share Posted January 31, 2016 Thank you Classical error for me Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.