• Hello,

    I wrote a third-party C# desktop client. It will interact with WordPress. Unfortunately, from all the documentation I have seen, I cannot get the user to login via my app.

    My app asks for the website, wp username, and wp password. I want my app to use a method that will login, authenticate (and I assume) retain the login cookie.

    Here is the problem, everytime I run the code, I get a “418 unused” error.

    Here is my website: https://www.cambermast.com

    Here is the POST that my application makes:
    https://www.cambermast.com/wp-login.php/[email protected]&user_password=somepassword

    I am doing this accurately or is there another approach? I have been searching around and found lots of examples, but I want to do this the “right” (REST?). I do not want to connect directly to a database and I do not want to screen scrape the wp-login.php page to find the username and password fields.

    I would be very greatly to any help you can provide!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Login to WordPress with C#’ is closed to new replies.