Saturday 22 June 2013

Can't connect facebook to online accounts in 13.04 - Ask Ubuntu

Looks like Facebook are pushing external messaging clients to a non-https page for authentication - Not good!

As a workaround, you can add the following line:
<setting name="AllowedSchemes" type="as">['https','http']</setting>

To the file:

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">
  <group name="auth">
  <setting name="method">oauth2</setting>
  <setting name="mechanism">user_agent</setting>
    <group name="oauth2">
      <group name="user_agent">
      <setting name="Host"></setting>
      <setting name="AuthPath">/dialog/oauth</setting>
      <setting name="RedirectUri"></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>

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'

No comments:

Post a Comment