Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Commit 3abaf30

Browse files
authored
Adding deprecation-extension parameter
From https://developers.google.com/picasa-web/docs/3.0/deprecation
1 parent a81a344 commit 3abaf30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Client/GooglePhotosClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function __construct($settings = null)
5656
*/
5757
public function getAlbumsList()
5858
{
59-
$url = "https://picasaweb.google.com/data/feed/api/user/default";
59+
$url = "https://picasaweb.google.com/data/feed/api/user/default?deprecation-extension=true";
6060

6161
$query = [
6262
'kind' => $this->settings['kind'],
@@ -106,7 +106,7 @@ public function getAlbumsList()
106106
*/
107107
public function getAlbumImages($albumId, &$albumTitle = "")
108108
{
109-
$url = "https://picasaweb.google.com/data/feed/api/user/default/albumid/" . $albumId;
109+
$url = "https://picasaweb.google.com/data/feed/api/user/default/albumid/" . $albumId ."?deprecation-extension=true";
110110

111111
$query = [
112112
'thumbsize' => $this->settings['thumb_size'],

0 commit comments

Comments
 (0)