Hi,
There is one endpoint ‘update_user_meta_admin’ available in User Plus http://www.parorrey.com/solutions/json-api-user-plus/ version that you can use for this.
Thanks
Hi,
Ok i get your premium extension User Plus but it’s the same situation, i need to generate cookie for one user if i want to manipulate his meta user data and my smartphone app can’t get his password. I nedd to manipulate meta user data for every user with one account (admin account for example)
A cookie to rule all user account !
You have an example to do that ?
Thanks
Hi,
Yes, you can do that with ‘update_user_meta_admin’ endpoint.
I have sent you example in email. Please check and confirm in email.
Thanks
Hi,
Ok thanks but no email receved yet….
Thanks
Hi,
Ok thanks update is now ok. Now how to get user meta (for any user) with one cookie admin ?
Thanks again…
you can use ‘get_user_meta_id’. you need key, secret and user_id. admin cookie is not required.
And for any specific meta_key:
/get_user_meta_id/?key=KEY-here&user_id=ID-here&secret=SECRET-here&meta_key=KEY-here
Hi,
Ok perfect ! many thanks.
A last question, is it possible to delete a user with admin acces ?
Thanks again
Jerome
Yes, you can use delete_account. It requires that BuddyPress to be installed.
I will add a new endpoint to delete_user
Hi Ali,
Thanks for your answer. We don’t need BuddyPress an it’s too much install it just to have delete_account endpoint… If you make a new endpoint to delete user it will be better for us. Tell us when this endpoint is ok !
Many thanks
Jerome
I will send you email in a day, with new endpoint.
Thanks
Hi,
Many thanks for your mail we test that !
Best regards
Jerome
Hi
have you add the new endpoints to delete_user ?
A other question : is-it possible to upload a pdf file in the new_post method (with attachement parameter) ?
No restriction or security rules ?
have you a example to do that ?
Thank you for your response ?
Have a good day
Franck
Yes,I already added and sent you updated plugin in email few days back.
Pdf attachment is not possible with new post at this time.