<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 23/10/2017 à 09:49, Tomaz Canabrava
      a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CACk01_zW9B4ficQUyeQiPXONKoXeqjUO0tbwmppUNx0wnmJMzA@mail.gmail.com">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Mon, Oct 23, 2017 at 9:44 AM,
            Guillaume Gardet <span dir="ltr"><<a
                href="mailto:guillaume.gardet@free.fr" target="_blank"
                moz-do-not-send="true">guillaume.gardet@free.fr</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
              <br>
              Does the Facebook plugin is working for anyone in 4.7.1?<br>
              <br>
              Note that the "facebook album request" URL typed in
              Firefox returns:<br>
              ******************************<wbr>***************<br>
              {<br>
                 "data": [<br>
              <br>
                 ]<br>
              }<br>
              ******************************<wbr>***************<br>
              <br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div>That's strange - as I reworked quite a bit of the
              facbeook plugin and tested before merging I'm sure this
              used to work.</div>
            <div>can you help debug as currently I have too little time?</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Tomaz</div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              Guillaume<br>
              <br>
              <br>
              <br>
              Le 20/10/2017 à 15:21, Guillaume Gardet a écrit :<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                Hi,<br>
                <br>
                On Subsurface 4.6.4, I can share a dive profile on
                Facebook. Note that the window ask for an album name but
                "Subsurface Photos" is used even if I provide another
                name.<br>
                <br>
                On Subsurface daily (4.6.4-1031), I have the following
                error on start-up:<br>
                ******************************<wbr>******************************<wbr>**********<br>
                subsurface.facebook: Disconnecting from facebook<br>
                subsurface.facebook: Current url call QUrl("<a
href="https://www.facebook.com/login.php?skip_api_login=1&api_key=XXXMASKEDXXX&signed_next=1&next=https%3A%2F%2Fwww.facebook.com%2Fv2.5%2Fdialog%2Foauth%3Fredirect_uri%3Dhttp%253A%252F%252Fwww.facebook.com%252Fconnect%252Flogin_success.html%26display%3Dpopup%26scope%3Dpublish_actions%252Cuser_photos%26response_type%3Dtoken%252Cgranted_scopes%26client_id%3D427722490709000%26ret%3Dlogin%26logger_id%3DXXXMASKEDXXX-&cancel_url=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html%3Ferror%3Daccess_denied%26error_code%3D200%26error_description%3DPermissions%2Berror%26error_reason%3Duser_denied%23_%3D_&display=popup&locale=fr_FR&logger_id=XXXMASKEDXXX"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">https://www.facebook.com<wbr>/login.php?skip_api_login=1&<wbr>api_key=XXXMASKEDXXX&signed_ne<wbr>xt=1&next=https%3A%2F%2Fwww.fa<wbr>cebook.com%2Fv2.5%2Fdialog%2Fo<wbr>auth%3Fredirect_uri%3Dhttp%253<wbr>A%252F%252Fwww.facebook.com%<wbr>252Fconnect%252Flogin_success.<wbr>html%26display%3Dpopup%<wbr>26scope%3Dpublish_actions%<wbr>252Cuser_photos%26response_<wbr>type%3Dtoken%252Cgranted_<wbr>scopes%26client_id%<wbr>3D427722490709000%26ret%3Dlogi<wbr>n%26logger_id%3DXXXMASKEDXXX-&<wbr>cancel_url=http%3A%2F%2Fwww.<wbr>facebook.com%2Fconnect%<wbr>2Flogin_success.html%3Ferror%<wbr>3Daccess_denied%26error_code%<wbr>3D200%26error_description%<wbr>3DPermissions%2Berror%26error_<wbr>reason%3Duser_denied%23_%3D_&<wbr>display=popup&locale=fr_FR&<wbr>logger_id=XXXMASKEDXXX</a>")<br>
                subsurface.facebook: Response without access token!<br>
                ******************************<wbr>******************************<wbr>**********<br>
                <br>
                Then, after login page:<br>
                <br>
                ******************************<wbr>******************************<wbr>**********<br>
                Requesting connect on the social network<br>
                subsurface.facebook: Current url call QUrl("<a
href="http://www.facebook.com/connect/login_success.html#access_token=XXXMASKEDXXX&expires_in=5182881&granted_scopes=publish_actions%2Cpublic_profile&denied_scopes="
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://www.facebook.com/<wbr>connect/login_success.html#acc<wbr>ess_token=XXXMASKEDXXX&expires<wbr>_in=5182881&granted_scopes=<wbr>publish_actions%2Cpublic_<wbr>profile&denied_scopes=</a>")<br>
              </blockquote>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    I guess we are missing 'user_photos' permission here, no?<br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CACk01_zW9B4ficQUyeQiPXONKoXeqjUO0tbwmppUNx0wnmJMzA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                subsurface.facebook: Got securityToken "XXXMASKEDXXX"<br>
                subsurface.facebook: Requesting user id<br>
                subsurface.facebook: User id requested successfully:
                "XXXMASKEDXXX"<br>
                subsurface.facebook: Current url call QUrl("<a
                  href="http://www.facebook.com/connect/blank.html#_=_"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://www.facebook.com/<wbr>connect/blank.html#_=_</a>")<br>
                subsurface.facebook: Response without access token!<br>
                ******************************<wbr>******************************<wbr>**********<br>
                <br>
                And after a try to upload data:<br>
                ******************************<wbr>******************************<wbr>**********<br>
                subsurface.facebook: Starting to upload the dive to
                facebook<br>
                subsurface.facebook: Grabbing Dive Profile pixmap<br>
                subsurface.facebook: Starting to request the album id
                QUrl("<a
                  href="https://graph.facebook.com/me/albums?access_token=XXXMASKEDXXX"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">https://graph.facebook.c<wbr>om/me/albums?access_token=XXXM<wbr>ASKEDXXX</a>")<br>
                subsurface.facebook: Reply for the album id<br>
                subsurface.facebook: Album with name "Subsurface Photos"
                doesn't exists, creating it.<br>
                subsurface.facebook: It was not possible to create the
                album with name "Subsurface Photos"<br>
                ******************************<wbr>******************************<wbr>**********<br>
                <br>
                <br>
                Guillaume<br>
                <br>
                <br>
                <br>
                ______________________________<wbr>_________________<br>
                subsurface mailing list<br>
                <a href="mailto:subsurface@subsurface-divelog.org"
                  target="_blank" moz-do-not-send="true">subsurface@subsurface-divelog.<wbr>org</a><br>
                <a
href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://lists.subsurface-divelo<wbr>g.org/cgi-bin/mailman/listinfo<wbr>/subsurface</a><br>
              </blockquote>
              <br>
              ______________________________<wbr>_________________<br>
              subsurface mailing list<br>
              <a href="mailto:subsurface@subsurface-divelog.org"
                target="_blank" moz-do-not-send="true">subsurface@subsurface-divelog.<wbr>org</a><br>
              <a
href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.subsurface-divelo<wbr>g.org/cgi-bin/mailman/listinfo<wbr>/subsurface</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>