Can't connect facebook to online accounts in 13.04

Solution 1:

There's a bug filed for this issue: https://bugs.launchpad.net/bugs/1180297

The root cause is that Facebook redirects to an insecure HTTP page during the authentication process, and for security reasons we don't allow that. The same problem appeared in February, and then Facebook was quick to fix it in a few days. Now it seems it's taking longer, but I'm still hopeful.

Solution 2:

the temporary solution for this as on launchpad page is to add the lines

<setting name="AllowedSchemes" type="as">['https','http']</setting>

to the file /usr/share/accounts/providers/facebook.provider

but it has got security risks.