php - How to make a field optional in faccebook registration plugin -


i have following code facebook registration social plugin:

 <iframe src="https://www.facebook.com/plugins/registration? client_id=xxxxxxxxxxxxxxxx& redirect_uri=http://www.pingxxxxxx.com/facebook_registration_plugin/fbwe/trial.php& fields=[ {'name':'name'}, {'name':'email'}, {'name':'location'}, {'name':'gender'}, {'name':'birthday'}, {'name':'about', 'description':'about youtself', 'type':'text'}, ]" scrolling="auto" frameborder="no" style="border:none" allowtransparency="true" width="100%" height="330"> </iframe> 

i want make last field i.e "about" optional user. field

 {'name':'about', 'description':'about youtself', 'type':'text'}, 

can tell me how can done ?

to make field optional, can use no_submit parameter, documented here: https://developers.facebook.com/docs/plugins/registration/advanced/

using flow documented on page, you'd save optional fields cookie through javascript validation callback. then, when user comes site after auth-ing through facebook, can pick , reassociate data in cookie account.

as far i'm aware, every field gets sent facebook must present.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -