PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Properties specific to the description of gglComment variables
  • Functions that use gglComment variables
  • Functions that use gglComment variables (object syntax)
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.
The gglComment type is used to describe the comment of a photo found in a Google Picasa album. The characteristics of this type of variable can be defined and modified by several WLanguage properties.
This type of variable is used by the gglPhoto variables.
Note: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
// Connection to Google
Cnt is gglConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..ApplicationName = "MyApp-01"
IF GglConnect(Cnt) = False THEN
        Error(ErrorInfo())
END

// Retrieve the last photo sent
MyArray is array of gglPhoto
MyArray = GglListPhoto(Cnt, 1)
Photo is gglPhoto = MyArray[1]

// Retrieve the comments associated with the photo
GglFillPhoto(Cnt, Photo, gglWithComment)

// Display the tags
PhotoComment is gglComment
FOR EACH PhotoComment OF Photo..Comment
        Trace(Comment..Text)
END
Remarks

Properties specific to the description of gglComment variables

The following properties can be used to handle the comment of a photo found in a Google Picasa album:
NameType usedEffect
AuthorgglAuthorAuthor of the comment. This property is available in read-only.
TextCharacter stringComment associated with the photo.
Note: These properties can be used with one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>

Functions that use gglComment variables

Versions 14 and later
GglListComment
New in version 14
GglListComment
GglListComment
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.

Functions that use gglComment variables (object syntax)

<gglConnection variable>.ListCommentRetrieves:
  • the list of comments saved for the Google client account.
  • the list of comments associated with a photo found in a Google Picasa album.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment