Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

facebookconnect :: adding facebook account to existing account

Go to End

2 Posts   1253 Views


Community Member, 244 Posts

26 July 2011 at 11:03am


I've got a the facebookconnect plugin - and the memberprofiles module set up - both work fine.

however, I about 2000 users who set up their accounts before I added facebookconnect.

It would be awesome if they could log in, and 'add' facebook connect to their existing account, so that from then onwards, they can log in to the same account either using their SS login, or their facebook login...

any suggestions on where to start?


Forum Moderator, 5523 Posts

26 July 2011 at 11:28pm

I think the module should work fine retroactively. One issue will be if the email of their Facebook != email they used to login to SS then you would perhaps need some smart account merging ability. It's a pretty simple module, the main part you would need to test is the onBeforeInit logic - as that handles all the connection between the SS data model and Facebook.