FriendsOfSymfony/FOSFacebookBundle — Issue #124: Choose username before registration
Author: petethecat
Created: 2012-03-06 18:03:42+00:00
State: open

I know that's not really an issue with the bundle, but I know that you guys know how this bundle works so I thought I could ask you a question.
(Plus I post my problem on stackoverflow http://stackoverflow.com/questions/9469301/fosfacebookbundle-choose-username-before-registration and no one is answering... )

I installed FOSUserBundle and FOSFacebookBundle using this method : How to make a separate url for signin via Facebook using FOSFacebookBundle in Symfony2. Actually I didn't really understand the whole security thing process, but it is working fine now.

When someone is using facebook signup, I would like the possibility to choose an username before being registred (instead of the facebook id as username)... what I do is that I send a POST parameter to the facebook login route but I can't find the controller where the registration is being processed.

What would be the best practise ? Where should I retrieve the username (the POST param) and set it ?