PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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
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

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

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

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

<Result> = GglListComment(<Google Connection> [, <Maximum Number>])
<Result>: Array of gglComment variables
Name of 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
Name of array containing the gglComment variables.
<Google Connection>: gglConnection variable
Name of gglConnection variable to use. This connection was validated by GglConnect.
<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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230ggl.dll
Windows Mobile wp230ggl.dll
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment