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 comments saved for the Google client account.
  • the list of comments associated with a photo found in a Google Picasa album.
Example
// Google connection
Cnt is gglConnection
...
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END

// Retrieve the last 10 added comments
arrComments is array of gglComment
arrComments = GglListComment(Cnt, 10)

// Retrieve all the comments for the photo 123456 found in album 987654
arrComments = GglListComment(Cnt, "987654", "123456", 0)
Syntax

Retrieving all the comments associated with the user account Hide the details

<Result> = GglListComment(<Google connection> [, <Maximum number>])
<Result>: Array of gglComment variables
Array containing the gglComment 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.
<Maximum number>: Optional integer
Maximum number of comments to retrieve (0 by default, unlimited number of comments).

Retrieving all the comments associated with a Picasa album and with a photo Hide the details

<Result> = GglListComment(<Google connection> , <Album identifier> , <Photo identifier> [, <Maximum number>])
<Result>: Array of gglComment variables
Array containing the gglComment variables.
<Google connection>: gglConnection variable
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>: Character string (with quotes)
Identifier of the Google Picasa photo album whose comments must be retrieved.
<Photo identifier>: Character string (with quotes)
Identifier of the Google Picasa photo whose comments must be retrieved.
<Maximum number>: Optional integer
Maximum number of comments to retrieve (0 by default, unlimited number of comments).
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 14
This page is also available for…
Comments
Click [Add] to post a comment