Reputation: 5664
I am new to facebook registration plugins. I implemented the dummy code for registration form given on the facebook developers website. But when i signed up throught this registration form. It gives the permission for offline access, send an email, user_about_me. Is it possible to give any specific permissions for this registration forms?
<fb:registration redirect-uri="http://developers.facebook.com/tools/echo"
fields='[ {"name":"name"},
{"name":"foo","description":"Type foo","type":"text"},
{"name":"bar","description":"Type bar","type":"text"},
{"name":"facebooker","description":"Pick Paul","type":"select","options":
{"coder":"Paul","pm":"Austin","partners":"Cat"}},
{"name":"check","description":"Check this","type":"checkbox"},
{"name":"date","description":"Dec 16 2010","type":"date"},
{"name":"city","description":"Calgary","type":"typeahead","categories":
["city"]}]'
onvalidate="validate"></fb:registration>
code i used from facebook registration page
Upvotes: 0
Views: 1026
Reputation: 50642
If you need permissions above and beyond the available fields, you need to redirect the user to the OAuth dialog with the scope params set correctly.
See https://developers.facebook.com/docs/authentication/
Upvotes: 0
Reputation: 50972
fields="name,birthday,gender,location,email"
--
<fb:registration
fields="name,birthday,gender,location,email"
redirect-uri="http://developers.facebook.com/tools/echo/"
width="530">
</fb:registration>
http://developers.facebook.com/docs/plugins/registration/
and list of permissions: http://developers.facebook.com/docs/authentication/permissions/
Upvotes: 2