Ubuntu – Empathy doesn’t connect to facebook accout

13.04empathyfacebookonline-accounts

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 ??Photo

Best Answer

One line command fix following sallp previous answer (copy paste in terminal):

sudo sed -i.bak "/<setting name=\"ClientId\">/a\          <setting name=\"AllowedSchemes\" type=\"as\">\['https','http'\]<\/setting>" /usr/share/accounts/providers/facebook.provider

If it does not work for you, you can still rollback to the previous version of the file by using the backup with:

sudo mv /usr/share/accounts/providers/facebook.provider.bak /usr/share/accounts/providers/facebook.provider

Hope it'll help!