Cannot publish to Facebook
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Shotwell |
Fix Released
|
High
|
||
| | webapps-sprint |
High
|
Alberto Mardegan | ||
| | shotwell (Ubuntu) |
High
|
Unassigned | ||
| | Trusty |
High
|
Unassigned | ||
| | Vivid |
High
|
Unassigned | ||
Bug Description
* Impact
the facebook integration doesn't work anymore because the current key has the right permissions (and is owned by mia upstreams)
* Test case
try to publish photo to facebook
* Regression potential
the change impacts only the facebook key id
-----------------
Whenever I try to publish to facebook I get the error:
"You have already logged in and out of Facebook during this Shotwell session. To continue publishing to Facebook, quit and restart Shotwell, then try publishing again."
No matter how many times I try this it happens,
I start shotwell, select the pics to publish, File - Publish, login into Facebook, then choose options and choose publish and the error appears. Happens everytime I do it.
Related branches
| ChrisH (tipichris) wrote : | #2 |
I have the same problem. I've tried removing Shotwell from the list of apps authorised for Facebook and then reauthorising and Shotwell doesn't seem to request posting permission.
| ChrisH (tipichris) wrote : | #3 |
Should add I'm using 0.20.2, being the latest version in the yorba PPA for Trusty.
| Matt Raines (matt-raines) wrote : | #4 |
I'm getting the same error in 0.22.0 from the yorba PPA on Vivid.
| Sebastien Bacher (seb128) wrote : | #5 |
Thank you for your bug report, what version of Ubuntu and shotwell are you using?
| Changed in shotwell (Ubuntu): | |
| importance: | Undecided → High |
| status: | Confirmed → Incomplete |
| Sebastien Bacher (seb128) wrote : | #6 |
similar to https:/
| Sebastien Bacher (seb128) wrote : | #7 |
| Changed in shotwell (Ubuntu): | |
| assignee: | nobody → Alberto Mardegan (mardy) |
| Alberto Mardegan (mardy) wrote : | #8 |
I can reproduce the bug as well. I'll have a look, it may be that we need to change something in order to use the new Facebook APIs.
| Changed in shotwell: | |
| importance: | Unknown → Medium |
| status: | Unknown → Confirmed |
| Changed in webapps-sprint: | |
| milestone: | none → sprint-9 |
| milestone: | sprint-9 → sprint-10 |
| Alberto Mardegan (mardy) wrote : | #9 |
Adding logs. It seems that we correctly get an access token from Online Accounts (we are able to get the user information), but the album creation fails. This might be due to the access token have insufficient permissions or to the publishing code itself needed some update. I'll debug this further.
| Changed in shotwell (Ubuntu): | |
| status: | Incomplete → Confirmed |
| Alberto Mardegan (mardy) wrote : | #10 |
I confirm this bug on vivid, shotwell 0.20.2-0ubuntu3.
| Alberto Mardegan (mardy) wrote : | #11 |
I'm back with more information.
The shotwell code is correct, as far as I can tell. The reason why it's failing is because the access token it gets only carries the permissions to see the public profile, and not the permissions to publich photos or videos. Why this happens, I'm not sure.
My guess is that the Shotwell application in not properly registered in the Facebook servers to comply with the v2.0 API. As far as I know, only Yorba has access to that key, so there isn't much we can do about it.
I've tried playing with the authorization URL (note: you should first remove Shotwell from your profile at https:/
https:/
and it seems that it always ignores the permissions ("scope" parameter) we request.
Incidentally, I discovered a bug in our Online Accounts integration with Shotwell, which causes the application to retry the authentication forever when the access to the application is revoked from the facebook site. The attached branch fixes this.
| Sebastien Bacher (seb128) wrote : | #12 |
Thanks Alberto!
| Jeremy Nickurak (nickurak) wrote : | #13 |
See also: https:/
FWIW, I also hit this under Fedora 21 with shotwell-
| Changed in webapps-sprint: | |
| status: | New → Confirmed |
| importance: | Undecided → High |
| assignee: | nobody → Alberto Mardegan (mardy) |
| Changed in shotwell (Ubuntu): | |
| status: | Confirmed → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #14 |
This bug was fixed in the package shotwell - 0.22.0-0ubuntu4
---------------
shotwell (0.22.0-0ubuntu4) wily; urgency=medium
* Update autopilot test recorded ioctls for libgphoto 2.5.7.
-- Martin Pitt <email address hidden> Wed, 27 May 2015 16:05:56 +0200
| Changed in shotwell (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Daniel Dionne (ldshifftyone) wrote : | #15 |
I installed shotwell (0.22.0-0ubuntu4) and now it doesn't have the option to publish to facebook although facebook is listed under plugins in the preferences.
| Daniel Dionne (ldshifftyone) wrote : | #16 |
I am using Linux Mint 17.1 Mate
| Sebastien Bacher (seb128) wrote : | #17 |
the error handling has been fixed but not the upstream key issue, which is something only the shotwell team can resolve
| Changed in shotwell (Ubuntu): | |
| status: | Fix Released → Confirmed |
| assignee: | Alberto Mardegan (mardy) → nobody |
| Changed in webapps-sprint: | |
| milestone: | sprint-10 → sprint-11 |
| nairbv (nairbv) wrote : | #18 |
same issue, 0.20.1, LMDE 2 Betsy \n \l
| Daniele Besana (daniele-itvc) wrote : | #19 |
Same issue, 0.18.0 - any news from Yorba?
| TomasHnyk (sup) wrote : | #20 |
Messages in mailing list go unresponded (but I guess anothe rone would not hurt) : https:/
| tags: | added: shotwell |
| tags: | added: facebook |
| Changed in shotwell: | |
| status: | Confirmed → Invalid |
| Changed in shotwell: | |
| importance: | Medium → Unknown |
| status: | Invalid → Unknown |
| Changed in shotwell: | |
| importance: | Unknown → High |
| status: | Unknown → Confirmed |
| Changed in webapps-sprint: | |
| milestone: | sprint-11 → sprint-14 |
| Changed in webapps-sprint: | |
| milestone: | sprint-14 → sprint-15 |
| Changed in webapps-sprint: | |
| milestone: | sprint-15 → none |
| status: | Confirmed → Fix Released |
| TomasHnyk (sup) wrote : | #21 |
What, is this fixed?
| Alberto Mardegan (mardy) wrote : | #22 |
No, not completely. Note that the status on the Shotwell project is still "confirmed".
| Changed in shotwell (Ubuntu): | |
| status: | Confirmed → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #23 |
This bug was fixed in the package shotwell - 0.22.0-0ubuntu5
---------------
shotwell (0.22.0-0ubuntu5) wily; urgency=medium
* debian/
- use new facebook ID, thanks Alberto Mardegan (lp: #1453549)
-- Sebastien Bacher <email address hidden> Fri, 09 Oct 2015 11:11:18 +0200
| Changed in shotwell (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| description: | updated |
| TomasHnyk (sup) wrote : | #24 |
This should by SRUed for Trusty, no? ( I guess it is beside the point for Utopic now).
| Sebastien Bacher (seb128) wrote : | #25 |
there are SRUs waiting for review in the queue for trusty and vivid
Hello Daniel, or anyone else affected,
Accepted shotwell into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in shotwell (Ubuntu Trusty): | |
| status: | New → Fix Committed |
| tags: | added: verification-needed |
| Chris J Arges (arges) wrote : | #27 |
Hello Daniel, or anyone else affected,
Accepted shotwell into vivid-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Sebastian Gebhard (sege) wrote : | #28 |
I have just tested 0.20.2-0ubuntu4 from vivid-proposed.
It does not fix the issue for me. When I try to "publish" pictures, I do not even have the option of publishing to Facebook anymore.
The only option is "Piwigo" or "Add more accounts" (translated from German).
When I click on "Add more accounts", the dialog window closes and nothing happens.
See attached screenshot.
| tags: |
added: verification-failed removed: verification-needed |
| Changed in shotwell (Ubuntu Trusty): | |
| importance: | Undecided → High |
| Alberto Mardegan (mardy) wrote : | #29 |
I installed the packages from vivid-proposed in wily and it works fine.
Sebastian, do you have a Facebook account configured in System Settings -> Online Accounts? Is shotwell enabled for that account?
When you click on "Add more accounts" the Online Account page from the System Settings should appear; unfortunately that can take a few seconds, and indeed the shotwell dialog is closed immediately, therefore giving the impression that nothing is happening.
| Sebastian Gebhard (sege) wrote : | #30 |
Hi Alberto,
thanks for looking into this. Indeed, I do not have these settings.
I am on Xubuntu and System Settings / Online Accounts is not installed by default. A quick search makes me think, that it might be provided by package ubuntu-
Is this really how it is supposed to work or did I not get that correctly?
| Sebastien Bacher (seb128) wrote : | #31 |
@Sebastian, your issue is a different one from the one discussed in here, see bug #1314904
| tags: |
added: verification-needed removed: verification-failed |
| Sebastian Gebhard (sege) wrote : | #32 |
@Sebastien: Oh, thanks for pointing it out and sorry for any disturbances!
The proposed package resolves my issue.
On Sun, Oct 18, 2015 at 9:33 AM, Sebastian Gebhard <
<email address hidden>> wrote:
> @Sebastien: Oh, thanks for pointing it out and sorry for any
> disturbances!
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1460329).
> https:/
>
> Title:
> Cannot publish to Facebook
>
> Status in Shotwell:
> Confirmed
> Status in webapps-sprint:
> Fix Released
> Status in shotwell package in Ubuntu:
> Fix Released
> Status in shotwell source package in Trusty:
> Fix Committed
> Status in shotwell package in Fedora:
> Unknown
>
> Bug description:
> * Impact
> the facebook integration doesn't work anymore because the current key
> has the right permissions (and is owned by mia upstreams)
>
> * Test case
> try to publish photo to facebook
>
> * Regression potential
> the change impacts only the facebook key id
>
> -----------------
>
> Whenever I try to publish to facebook I get the error:
>
> "You have already logged in and out of Facebook during this Shotwell
> session. To continue publishing to Facebook, quit and restart
> Shotwell, then try publishing again."
>
> No matter how many times I try this it happens,
>
> I start shotwell, select the pics to publish, File - Publish, login
> into Facebook, then choose options and choose publish and the error
> appears. Happens everytime I do it.
>
> To manage notifications about this bug go to:
> https:/
>
| tags: |
added: trusty verification-done removed: shotwell verification-needed |
| affects: | shotwell (Fedora) → fedora |
| Changed in fedora: | |
| importance: | Unknown → Undecided |
| status: | Unknown → New |
| affects: | fedora → hundredpapercuts |
| Changed in hundredpapercuts: | |
| status: | New → Fix Released |
| affects: | hundredpapercuts → ubuntu-translations |
| no longer affects: | ubuntu-translations |
| Launchpad Janitor (janitor) wrote : | #34 |
This bug was fixed in the package shotwell - 0.18.0-0ubuntu4.4
---------------
shotwell (0.18.0-0ubuntu4.4) trusty; urgency=medium
* debian/
- use new facebook key, thanks Alberto Mardegan (lp: #1453549)
-- Sebastien Bacher <email address hidden> Tue, 13 Oct 2015 16:02:33 +0100
| Changed in shotwell (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Chris J Arges (arges) wrote : Update Released | #35 |
The verification of the Stable Release Update for shotwell has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Launchpad Janitor (janitor) wrote : | #36 |
This bug was fixed in the package shotwell - 0.20.2-0ubuntu4
---------------
shotwell (0.20.2-0ubuntu4) vivid; urgency=medium
* debian/
- use new facebook key, thanks Alberto Mardegan (lp: #1453549)
-- Sebastien Bacher <email address hidden> Tue, 13 Oct 2015 16:04:34 +0100
| Changed in shotwell (Ubuntu Vivid): | |
| status: | New → Fix Released |
| Changed in shotwell (Ubuntu Vivid): | |
| importance: | Undecided → High |
| Changed in shotwell: | |
| status: | Confirmed → Fix Released |


Status changed to 'Confirmed' because the bug affects multiple users.