diff options
author | Guillaume GARDET <guillaume.gardet@free.fr> | 2017-10-23 15:37:38 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-23 10:05:23 -0400 |
commit | 5d12143a6a6ec59996eed7bb4fc7768a0df877ad (patch) | |
tree | fda41eb32d30cb97ebc11bdb7625e25ca1872004 /desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | |
parent | ee1e03c774ab89dd14cbfaa1015c0948467e7896 (diff) | |
download | subsurface-5d12143a6a6ec59996eed7bb4fc7768a0df877ad.tar.gz |
[Facebook] Back to previous behavior when we were able to upload data,
even without album creation permission
Diffstat (limited to 'desktop-widgets/plugins/facebook/facebookconnectwidget.cpp')
-rw-r--r-- | desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp index 1f1ac166a..b4f306609 100644 --- a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp +++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp @@ -165,6 +165,11 @@ void FacebookManager::facebookAlbumCreated() } else { qCDebug(lcFacebook) << "It was not possible to create the album with name" << fbInfo.albumName; qCDebug(lcFacebook).noquote() << "Reply was: " << QString(albumsDoc.toJson(QJsonDocument::Indented)); + // FIXME: we are lacking 'user_photos' facebook permission to create an album, + // but we are able to upload the image to Facebook (album will be named 'Subsurface Photos') + qCDebug(lcFacebook) << "But we are still able to upload data. Album name will be 'Subsurface Photos'"; + auto fb = SettingsObjectWrapper::instance()->facebook; + emit albumIdReceived(fb->albumId()); } } |