Yes, you can log in via facebook account for multiplayer. You have to install its online version or you need a good internet connection to play multiplayer.
You can play with anyone you want whether your friends or with someone else you want. You may get many new rewards and also you can unlock many new things with this mode online.