mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
[Facebook] Back to previous behavior when we were able to upload data,
even without album creation permission
This commit is contained in:
parent
ee1e03c774
commit
5d12143a6a
1 changed files with 5 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue