PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
  • Possible error cases:
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
<gglConnection variable>.ListPhoto (Function)
In french: <Variable gglConnexion>.ListePhoto
Warning
From January 2019, the functions for managing Google Picasa photo albums will no longer be available. Indeed, the corresponding Google API is no longer available from January 2019. It is necessary to use "Google Photo API"..
This new API is accessible via AuthIdentify and HTTP requests. See https://developers.google.com/photos/library/guides/overview for more details.
Lists the photos found in the Google Picasa albums corresponding to specific criteria.
Example
// Connection to Google
Cnt is gglConnection
...
IF Cnt.Connect =False THEN
Error(ErrorInfo())
END

// Retrieve the photos in an album containing "Vacations"
ArrayPhoto is array of gglPhoto
ArrayPhoto = Cnt.ListPhoto("0123456", "Vacations")

// Retrieve the last 10 photos added to the user account
ArrayPhoto = Cnt.ListPhoto(" ", 10)
Syntax

Retrieving the photos associated with the user account according to a criterion Hide the details

<Result> = <Google connection>.ListPhoto(<Search criteria> [, <Maximum number>])
<Result>: Array of gglAdWPhoto variables
Array containing the gglPhoto variables.
<Google connection>: gglConnection variable
Name of gglConnection variable to use. This connection was validated by GglConnect.
Versions 20 and later
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
New in version 20
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
<Search criteria>: Unicode character string (with quotes)
Search that will be performed on the photos. This search is performed among the tags and legends of photos. You can combine several words in a search by separating them with the "AND" or "OR" keywords.
If this parameter corresponds to an empty string (""), no specific criterion is applied.
<Maximum number>: Optional integer
Maximum number of photos to retrieve (0 by default, unlimited number of photos).

Retrieving the photos associated with a Picasa album according to a criterion Hide the details

<Result> = <Google connection>.ListPhoto(<Album identifier> [, <Search criteria> [, <Maximum number>]])
<Result>: Array of gglAdWPhoto variables
Array containing the gglPhoto variables.
<Google connection>: Control name
Name of the gglConnection variable to use. This connection was validated by GglConnect.
Versions 20 and later
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
New in version 20
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
<Album identifier>: Unicode character string (with quotes)
Identifier of the Google Picasa album whose photos must be retrieved.
<Search criteria>: Optional Unicode character string (with quotes)
Search that will be performed on the photos. This search is performed among the tags and legends of photos. You can combine several words in a search by separating them with the "AND" or "OR" keywords.
If this parameter corresponds to an empty string (""), no specific criterion is applied.
<Maximum number>: Optional integer
Maximum number of photos to retrieve (0 by default, unlimited number of photos).
Remarks

Possible error cases:

  • The Internet connection is not valid.
  • The authentication was not performed properly.
  • The XML response of the server cannot be read.
To find out whether an error occurred, use the ErrorOccurred variable.
Component : wd240ggl.dll
Minimum required version
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment