File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ class ChipVN_ImageUploader_Plugins_Picasanew extends ChipVN_ImageUploader_Plugin
12
12
const OAUTH_TOKEN_ENDPOINT = 'https://www.googleapis.com/oauth2/v3/token ' ;
13
13
const OAUTH_SCOPE_PICASA = 'https://picasaweb.google.com/data/ ' ;
14
14
15
- const USER_FEED_ENDPOINT = 'https://picasaweb.google.com/data/feed/api/user/%s ' ;
16
- const ALBUM_FEED_ENPOINT = 'https://picasaweb.google.com/data/feed/api/user/%s /albumid/%s ' ;
15
+ const USER_FEED_ENDPOINT = 'https://picasaweb.google.com/data/feed/api/user/default ' ;
16
+ const ALBUM_FEED_ENPOINT = 'https://picasaweb.google.com/data/feed/api/user/default /albumid/%s ' ;
17
17
18
18
const OAUTH_TOKEN = 'oauth_token ' ;
19
19
const OAUTH_TOKEN_EXPIRES_AT = '__expires_at ' ;
@@ -268,7 +268,7 @@ protected function doLogin()
268
268
protected function doUpload ()
269
269
{
270
270
$ this ->checkValidToken (__METHOD__ );
271
- $ endpoint = sprintf (self ::ALBUM_FEED_ENPOINT , $ this ->username , $ this -> albumId ).'?alt=json ' ;
271
+ $ endpoint = sprintf (self ::ALBUM_FEED_ENPOINT , $ this ->albumId ).'?alt=json ' ;
272
272
273
273
$ this ->resetHttpClient ()
274
274
->setHeaders ($ this ->getGeneralHeaders ())
You can’t perform that action at this time.
0 commit comments