Title: Optional Fields and User Update
Last modified: August 22, 2016

---

# Optional Fields and User Update

 *  Resolved [jerryroxas](https://wordpress.org/support/users/jerryroxas/)
 * (@jerryroxas)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/)
 * I LOVE this plugin, and would definitely purchase the Pro version if it included
   the following features:
 * – include googleplus, twitter, facebook optional fields
    – ability to not only
   create user records, but to post updates to existing user records (i.e. change
   roles, update user field values) – ability to have an optional auth key stored
   within the plugin settings, to bypass the need for the nonce. I need to perform
   the post from a third party application (Infusionsoft), which does not support
   me retrieving the nonce value.
 * Would you be able to add these features to the Pro version??
 * Thanks!
 * [https://wordpress.org/plugins/json-api-user/](https://wordpress.org/plugins/json-api-user/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/optional-fields-and-user-update/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/optional-fields-and-user-update/page/2/?output_format=md)

 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5887976)
 * Hi Jerry,
 * – include googleplus, twitter, facebook optional fields
 * You can save any optional fields as user meta for any user.
 * just call
 * **Method: update_user_meta**
    It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’
   to update. You may send multiple values separated by comma.
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas)
   
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas)
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas)
 * – ability to not only create user records, but to post updates to existing user
   records (i.e. change roles, update user field values)
 * Yes, you can update user fields:
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * – ability to have an optional auth key stored within the plugin settings, to 
   bypass the need for the nonce. I need to perform the post from a third party 
   application (Infusionsoft), which does not support me retrieving the nonce value.
 * Pro version already has API key protection saved in setting page. I just need
   to add the bypass setting for nonce which is a good idea. This can be done. I
   will add bypassing option in the next update of Pro version.
 * Thanks for liking the Plugin.
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5887977)
 * Hi Jerry,
 * – include googleplus, twitter, facebook optional fields
 * You can save any optional fields as user meta for any user.
 * just call
 * **Method: update_user_meta**
    It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’
   to update. You may send multiple values separated by comma.
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas)
   
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas)
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas)
 * – ability to not only create user records, but to post updates to existing user
   records (i.e. change roles, update user field values)
 * Yes, you can update user fields:
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * – ability to have an optional auth key stored within the plugin settings, to 
   bypass the need for the nonce. I need to perform the post from a third party 
   application (Infusionsoft), which does not support me retrieving the nonce value.
 * Pro version already has API key protection saved in setting page. I just need
   to add the bypass setting for nonce which is a good idea. This can be done. I
   will add bypassing option in the next update of Pro version.
 * Thanks for liking the Plugin.
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5887978)
 * Hi Jerry,
 * – include googleplus, twitter, facebook optional fields
 * You can save any optional fields as user meta for any user.
 * just call
 * **Method: update_user_meta**
    It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’
   to update. You may send multiple values separated by comma.
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas)
   
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas)
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas)
 * – ability to not only create user records, but to post updates to existing user
   records (i.e. change roles, update user field values)
 * Yes, you can update user fields:
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * – ability to have an optional auth key stored within the plugin settings, to 
   bypass the need for the nonce. I need to perform the post from a third party 
   application (Infusionsoft), which does not support me retrieving the nonce value.
 * Pro version already has API key protection saved in setting page. I just need
   to add the bypass setting for nonce which is a good idea. This can be done. I
   will add bypassing option in the next update of Pro version.
 * Thanks for liking the Plugin.
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5887979)
 * Hi Jerry,
 * – include googleplus, twitter, facebook optional fields
 * You can save any optional fields as user meta for any user.
 * just call
 * **Method: update_user_meta**
    It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’
   to update. You may send multiple values separated by comma.
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas)
   
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas)
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas)
 * – ability to not only create user records, but to post updates to existing user
   records (i.e. change roles, update user field values)
 * Yes, you can update user fields:
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * – ability to have an optional auth key stored within the plugin settings, to 
   bypass the need for the nonce. I need to perform the post from a third party 
   application (Infusionsoft), which does not support me retrieving the nonce value.
 * Pro version already has API key protection saved in setting page. I just need
   to add the bypass setting for nonce which is a good idea. This can be done. I
   will add bypassing option in the next update of Pro version.
 * Thanks for liking the Plugin.
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5887984)
 * Hi Jerry,
 * – include googleplus, twitter, facebook optional fields
 * You can save any optional fields as user meta for any user.
 * just call
 * **Method: update_user_meta**
    It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’
   to update. You may send multiple values separated by comma.
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas)
   
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas)
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas)
 * – ability to not only create user records, but to post updates to existing user
   records (i.e. change roles, update user field values)
 * Yes, you can update user fields:
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * Changing role is tricky. User can’t and should not be able to change his own 
   role, that does not make sense. Only admin should do that.
 * – ability to have an optional auth key stored within the plugin settings, to 
   bypass the need for the nonce. I need to perform the post from a third party 
   application (Infusionsoft), which does not support me retrieving the nonce value.
 * Pro version already has API key protection saved in setting page. I just need
   to add the bypass setting for nonce which is a good idea. This can be done. I
   will add bypassing option in the next update of Pro version.
 * Thanks for liking the Plugin.
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5887987)
 * Hi Jerry,
 * – include googleplus, twitter, facebook optional fields
 * You can save any optional fields as user meta for any user.
 * just call
 * **Method: update_user_meta**
    It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’
   to update. You may send multiple values separated by comma.
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas)
   
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas)
   [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas)
 * – ability to not only create user records, but to post updates to existing user
   records (i.e. change roles, update user field values)
 * Yes, you can update user fields:
 * [http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE](http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE)
 * Changing role is tricky. User can’t and should not be able to change his own 
   role, that does not make sense. Only admin should do that & they can do that 
   from admin panel..
 * – ability to have an optional auth key stored within the plugin settings, to 
   bypass the need for the nonce. I need to perform the post from a third party 
   application (Infusionsoft), which does not support me retrieving the nonce value.
 * Pro version already has API key protection saved in setting page. I just need
   to add the bypass setting for nonce which is a good idea. This can be done. I
   will add bypassing option in the next update of Pro version.
 * Thanks for liking the Plugin.
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5888015)
 * woohoo.. sorry for multiple replies.. looks like something gone wrong with WordPress
   here..
 *  Thread Starter [jerryroxas](https://wordpress.org/support/users/jerryroxas/)
 * (@jerryroxas)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5888101)
 * lol, i was gonna say… wow, that’s a lot of responses!
 * thanks for getting back to me, and for adding the nonce bypass on the pro version.
   the problem i have is that i’m posting to the json_api_user from within infusionsoft
   to create new users real time on my wordpress site. unfortunately, infusionsoft
   doesn’t allow me to capture and process the response from the json_api_user, 
   so i can’t retrieve wordpress user cookies and then repost to the user_update
   method to update the meta fields.
 * do you have any suggestions to achieve what i need to do with your plugin? it
   would be really helpful, because i love how clean and simple your plugin is!
 * please let me know.
 * thanks!
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5888108)
 * I got your point.
 * Then you need a custom plugin where user is not authenticated via cookie for 
   updating his profile data. All validation will be via only API key and mnay be
   api secret. And then you will be able to update any data, you will need to provide
   user_id with every call though.
 * send me email and we can talk further what you need.
 * Thanks
 *  Thread Starter [jerryroxas](https://wordpress.org/support/users/jerryroxas/)
 * (@jerryroxas)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5888138)
 * Ali, I just sent you an email via the email address on the contact page of your
   website ([http://www.parorrey.com/contact/](http://www.parorrey.com/contact/)).
   Please review and reply back to my email. Thanks for your help!
 *  [usergoodvery](https://wordpress.org/support/users/usergoodvery/)
 * (@usergoodvery)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5888273)
 * hi
    can I clarify one point, ALi, where you say you can send multiple values 
   seperated by comma: is that 1)multiple pairs of meta_key/meta_values OR 2)one
   meta_key that accepts multipe comma seperated values?
 * I am interested in option 1 becaue I do’t want to have to issue multiple network
   requests. if option is possible can you please confirm the syntax?
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5888274)
 * Hi usergoodvery,
 * Currently, you can only update one pair of key/value at a time. Although you 
   can use ‘xprofile_update’ endpoint for multiple values at once.
 * I will add a new endpoint to allow multiple meta_key/value update simultaneously
   in a day or two.
 *  [usergoodvery](https://wordpress.org/support/users/usergoodvery/)
 * (@usergoodvery)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5888275)
 * great stuff. how did you go with media upload? is that ready in pro?
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5888276)
 * I was stuck in some other earlier task.. will be on media upload endpoints around
   this weekend.. thanks for checking & reminding.
 *  [usergoodvery](https://wordpress.org/support/users/usergoodvery/)
 * (@usergoodvery)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/#post-5888277)
 * no problems good luck with that

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/optional-fields-and-user-update/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/optional-fields-and-user-update/page/2/?output_format=md)

The topic ‘Optional Fields and User Update’ is closed to new replies.

 * ![](https://ps.w.org/json-api-user/assets/icon-256x256.png?rev=1965790)
 * [JSON API User](https://wordpress.org/plugins/json-api-user/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-api-user/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-api-user/)
 * [Active Topics](https://wordpress.org/support/plugin/json-api-user/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-api-user/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-api-user/reviews/)

 * 17 replies
 * 3 participants
 * Last reply from: [usergoodvery](https://wordpress.org/support/users/usergoodvery/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/optional-fields-and-user-update/page/2/#post-5888279)
 * Status: resolved