1

This is a follow up to Is there an API for bbPress. I have confirmed that both bbPress and buddyPress uses WordPress user registration and login processes. They all the same. No difference.

What I want is to register and sign in the users of my WordPress site from my Android app.

I have come across this answer that talks about XML-RPC but I am still lost. Please do you have any idea how this can be done? Whether with this XML-RPC or any other way.

Community
  • 1
  • 1
X09
  • 3,827
  • 10
  • 47
  • 92

1 Answers1

0

Write a php script for handling user login/logout. Include wp-load.php to this php script this way you can use wordpress functions in external php file. Then you can send login data to GET or POST method to this script.

kenarsuleyman
  • 920
  • 1
  • 6
  • 26
  • Thanks bro. Please where do I keep this php script? And how do I send login data to it. A verbose explanation will be very appreciated. – X09 Dec 26 '16 at 14:15