4.7.1 - Facebook plugin broken [was: Facebook plugin broken on daily?]

Guillaume Gardet guillaume.gardet at free.fr
Mon Oct 23 01:50:38 PDT 2017



Le 23/10/2017 à 09:49, Tomaz Canabrava a écrit :
>
>
> On Mon, Oct 23, 2017 at 9:44 AM, Guillaume Gardet <guillaume.gardet at free.fr <mailto:guillaume.gardet at free.fr>> wrote:
>
>     Hi,
>
>     Does the Facebook plugin is working for anyone in 4.7.1?
>
>     Note that the "facebook album request" URL typed in Firefox returns:
>     *********************************************
>     {
>        "data": [
>
>        ]
>     }
>     *********************************************
>
>
>
> That's strange - as I reworked quite a bit of the facbeook plugin and tested before merging I'm sure this used to work.
> can you help debug as currently I have too little time?
>
>
> Tomaz
>
>     Guillaume
>
>
>
>     Le 20/10/2017 à 15:21, Guillaume Gardet a écrit :
>
>         Hi,
>
>         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.
>
>         On Subsurface daily (4.6.4-1031), I have the following error on start-up:
>         **********************************************************************
>         subsurface.facebook: Disconnecting from facebook
>         subsurface.facebook: Current url call QUrl("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
>         <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>")
>         subsurface.facebook: Response without access token!
>         **********************************************************************
>
>         Then, after login page:
>
>         **********************************************************************
>         Requesting connect on the social network
>         subsurface.facebook: Current url call QUrl("http://www.facebook.com/connect/login_success.html#access_token=XXXMASKEDXXX&expires_in=5182881&granted_scopes=publish_actions%2Cpublic_profile&denied_scopes= <http://www.facebook.com/connect/login_success.html#access_token=XXXMASKEDXXX&expires_in=5182881&granted_scopes=publish_actions%2Cpublic_profile&denied_scopes=>")
>


I guess we are missing 'user_photos' permission here, no?


>         subsurface.facebook: Got securityToken "XXXMASKEDXXX"
>         subsurface.facebook: Requesting user id
>         subsurface.facebook: User id requested successfully: "XXXMASKEDXXX"
>         subsurface.facebook: Current url call QUrl("http://www.facebook.com/connect/blank.html#_=_ <http://www.facebook.com/connect/blank.html#_=_>")
>         subsurface.facebook: Response without access token!
>         **********************************************************************
>
>         And after a try to upload data:
>         **********************************************************************
>         subsurface.facebook: Starting to upload the dive to facebook
>         subsurface.facebook: Grabbing Dive Profile pixmap
>         subsurface.facebook: Starting to request the album id QUrl("https://graph.facebook.com/me/albums?access_token=XXXMASKEDXXX <https://graph.facebook.com/me/albums?access_token=XXXMASKEDXXX>")
>         subsurface.facebook: Reply for the album id
>         subsurface.facebook: Album with name "Subsurface Photos" doesn't exists, creating it.
>         subsurface.facebook: It was not possible to create the album with name "Subsurface Photos"
>         **********************************************************************
>
>
>         Guillaume
>
>
>
>         _______________________________________________
>         subsurface mailing list
>         subsurface at subsurface-divelog.org <mailto:subsurface at subsurface-divelog.org>
>         http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface <http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface>
>
>
>     _______________________________________________
>     subsurface mailing list
>     subsurface at subsurface-divelog.org <mailto:subsurface at subsurface-divelog.org>
>     http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface <http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171023/e2cefc31/attachment-0001.html>


More information about the subsurface mailing list