これにはいくつか問題があります。まず、iframe は「name」フィールドのみをレンダリングし、カスタムではないものであっても、他のフィールドはレンダリングしません。fb:registraiton タグをカスタム フィールドに使用する方が良いかもしれないということを読んだことがありますが、カスタム フィールドを使用した例が見つからないため、それを機能させる方法がわかりません。これは私のコードです:
<iframe src="https://www.facebook.com/plugins/registration?
client_id=39672055*******&
redirect_uri=http://mydomain.com/signedRequest.php&fb_only=true&fields="[
{'name':'name'}, //only the name field will render
{'name':'email'},
{'name':'location'},
{'name':'gender'},
{'name':'password'},
{'name':'neighborhood','description':'In What Neighborhood Do you Live?','type':'text', 'view':'prefilled'}
]"
scrolling="auto"
frameborder="no"
style="border:none"
allowTransparency="true"
width="100%"
height="330">
</iframe>