1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2016
    Rep Power

    Question How to insert text in the entry form on the site in a Java program

    Hello , I have a program consists of JTextField_1, JTextField_2 JButton. User must enter his login in JTextField_1, and his password in JTextField_2. And after he clicks on a JButton need to open his browser (Opera) already authorized user page . The question is how to insert data of JTextField_1 and JTextField_2 in fields login and password on sites twitter.com and www.facebook.com. Please Help
  2. #2
  3. Lord of the Dance
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Oct 2003
    Rep Power
    You have to look up how to open an URL with POST data. You also need to know which names and values the target site requires. Just notice that there exists methods to prevent that kind of functionality. (Look up CSRF for more information)

IMN logo majestic logo threadwatch logo seochat tools logo