As a workaround, you can add the following line:
<setting name="AllowedSchemes" type="as">['https','http']</setting>
To the file:
/usr/share/accounts/providers/facebook.provider
I suggest you save a copy of the original file first as any small typo will break it forever.
My file now looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<provider id="facebook">
<name>Facebook</name>
<icon>facebook</icon>
<translations>account-plugins</translations>
<domains>.*facebook\.com</domains>
<plugin>generic-oauth</plugin>
<template>
<group name="auth">
<setting name="method">oauth2</setting>
<setting name="mechanism">user_agent</setting>
<group name="oauth2">
<group name="user_agent">
<setting name="Host">www.facebook.com</setting>
<setting name="AuthPath">/dialog/oauth</setting>
<setting name="RedirectUri">https://www.facebook.com/connect/login_success.html</setting>
<setting name="Display">popup</setting>
<setting type="as" name="Scope">['publish_stream','read_stream','status_update','user_photos','friends_photos','xmpp_login']</setting>
<setting name="ClientId">302061903208115</setting>
<setting name="AllowedSchemes" type="as">['https','http']</setting>
</group>
</group>
</group>
</template>
</provider>
Kudos to Ankit Shah at:
Can't connect facebook to online accounts in 13.04 - Ask Ubuntu:
Not really a long term answer, Facebook need to sort it!
'via Blog this'
Not really a long term answer, Facebook need to sort it!
'via Blog this'
No comments:
Post a Comment