Added integration of existing account.
Fixes #145
Looks like I screwed the PR. Maybe my commit (a369a1d) can be cherry picked.
It would be nice to add the feature of merging a logged account with a facebook account instead of just checking the same email, because someone can use different emails
@alex88 this is the readme. Your code can modify this example in the way you want to implement more complex use cases.
@stof which readme? I just given an advice in something else to add as feature.
@alex88 The whole description of storing users in the database when using this bundle, both in the current state of the bundle and in this PR. FOSFacebookBundle does not provide any sort of user persistence, so why should it try to implement the merging of a user with a persistent one (which is not implemented) ?
So this pull request has no sense since it relies on persistent users?
@alex88 This PR does not rely on anything. It improves the README showing you how you can persist users. But it is only an example. Each project can adapt it to their own needs.
Oh, sorry for that!