in System settings >> Online accounts when i add facebook account it redirects me to the browser and opens a webpage in the photo below and do nothing after that
any help ??
One line command fix following sallp previous answer (copy paste in terminal):
If it does not work for you, you can still rollback to the previous version of the file by using the backup with:
Hope it'll help!
I'd like to chime in on the issue in order to add clarity. I'm reiterating the discussion from this ubuntu forum post: http://ubuntuforums.org/showthread.php?t=2146595
The problem that everyone is happening is due to the Facebook 'Secure Browsing' option. This requires that Facebook logins and connections use HTTPS, instead of HTTP (secure HTTP vs normal HTTP). By default, I believe online accounts is using HTTP, so this just won't work.
Because of this, we have a couple of options.
Option 1 (Insecure Solution): Disable Facebook Secure browsing through the security interface on Facebook.com. This will disable HTTPS defaults on ALL of your Facebook pages on ALL devices, e.g. cell phones, other computers, etc. This works, but it is not the ideal solution.
Option 2 (Right Way): We can simply request that online accounts just use an HTTPS connection, instead of an HTTP connection. To do this, we can use Derek Karpinski's previous advice (quoted below). This is essentially telling Online Accounts to try both HTTP and HTTPS. Since Facebook needs HTTPS, this is what we want. After doing his steps below, delete the Ubuntu app on Facebook (if you had previously tried and failed to add it), log out of Facebook, and close Online Accounts. You actually don't need to restart your computer, just close Online Accounts. Re-open Online Accounts and try again. and things should work fine!
This is how you fix it, run this command in a terminal:
It will open text editor. The file in question is the facebook account profile. Add this line:
right after this line:
Save the file and close the text editor. You will now be able to properly enter your facebook credentials from the online accounts panel.
I found the answer here https://bugs.launchpad.net/ubuntu/+source/gnome-control-center-signon/+bug/1180297 do is gksu gedit /usr/share/accounts/providers/facebook.provider
add < setting name="AllowedSchemes" type="as">['https','http'] with the others settings remove the space after < and save it worked for me but the guy who posted it said that it exposes your desktop to some security risks
Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?