PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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
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.
Retrieves:
  • the list of tags associated with a Google client account.
  • the list of tags associated with a Google Picasa album.
  • the list of tags associated with a photo found in a Google Picasa album.
Example
// Connection
Cnt is gglConnection
...
IF Cnt.Connect() =False THEN
Error(ErrorInfo())
END
 
// Retrieve the last 10 added tags
ArrayTags is array of gglTag
ArrayTags = Cnt.ListTag(10)
 
// Retrieve all the tags for the photo 123456 of album 987654
ArrayTags = Cnt.ListTag(0, "987654", "123456")
Syntax

Retrieving the tags associated with the user account Hide the details

<Result> = <Google connection>.ListTag([<Maximum number>])
<Result>: Array of gglTag variables
Array containing the gglTag variables.
<Google connection>: gglConnection variable
Name of gglConnection variable to use. This connection was validated by <gglConnection variable>.Connect.
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.
<Maximum number>: Optional integer
Maximum number of tags to retrieve (0 by default, unlimited number of tags).

Retrieving the tags associated with a Picasa album Hide the details

<Result> = <Google connection>.ListTag([<Maximum number>, ] <Album identifier>)
<Result>: Array of gglTag variables
Array containing the gglTag variables.
<Google connection>: gglConnection variable
Name of the gglConnection variable to use. This connection was validated by <gglConnection variable>.Connect.
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.
<Maximum number>: Optional integer
Maximum number of tags to retrieve (0 by default, unlimited number of tags).
<Album identifier>: Character string (with quotes)
Identifier of the Google Picasa album whose tags must be retrieved.

Retrieving the tags associated with a photo found in a Picasa album Hide the details

<Result> = <Google connection>.ListTag([<Maximum number>, ] <Album identifier> [, <Photo identifier>])
<Result>: Array of gglTag variables
Array containing the gglTag variables.
<Google connection>: gglConnection variable
Name of gglConnection variable to use. This connection was validated by <gglConnection variable>.Connect.
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.
<Maximum number>: Optional integer
Maximum number of tags to retrieve (0 by default, unlimited number of tags).
<Album identifier>: Character string (with quotes)
Identifier of the Google Picasa album whose tags must be retrieved.
<Photo identifier>: Optional character string (with quotes)
Identifier of the photo found in the Google Picasa album whose tags must be retrieved.
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 : wd250ggl.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment