0

I want to use wordpress database in android app using json encode, but due to encryption used in wordpress i'm unable to use that, anybody know any solution?

  • are you using wordpress.org/plugins/json-rest-api plugin to get data ? – Govind Kumar Nov 23 '16 at 6:47
  • no, I'm using normal PHP page to generate PHP API. @GovindKumar It's working but main problem is encryption used in wordpress. – Harman Cheema Nov 23 '16 at 6:52
  • ok, so what exact error you fetching ? – Govind Kumar Nov 23 '16 at 6:54
  • What do you exactly mean by encryption? The link above gives you a very good solution actually to most of the common problems with API generation. (actually i mean wordpress.org/plugins/rest-api ) – websupporter Nov 23 '16 at 6:55
  • in WordPress website, encryption is used to store a password in the database, and I don't know that encryption code. Now to use that database in android app I have to use that encryption code to encrypt password so that it match password in database. – Harman Cheema Nov 23 '16 at 6:59
0

As suggested by other its recommended to use rest-api or else you can write your own class to output required data as JSON

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.