ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Google functions / Google Contacts
  • Possible error cases:
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Retrieves a list of contacts from custom parameters.
Example
// Connection
Cnt is gglConnection
...
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END
...
// Retrieves all the contacts updated since 08/08/2008
arrContacts is array of 0 gglContact
arrContacts = GglListContactByRequest(Cnt, "updated-min=2008-08-08")
// Retrieves the first 10 contacts updated since July 14, 1789
// in descending order
arrContacts = GglListContactByRequest(Cnt, ...
"updated-min=1789-07-14&start-index=1&max-results=10")
// Retrieves the contacts of a group (specified by its identifier)
// in descending order of update date
Identifier is string
Identifier = "http://www.google.com/feeds/contacts/groups/jo%40gmail.com/base/1234a"
arrContacts = GglListContactByRequest(Cnt, "sortorder=descending&group=" + Identifier)
Syntax
<Result> = GglListContactByRequest(<Google connection> , <Parameters>)
<Result>: Array of gglContact variables
Array of gglContact variables.
<Google connection>: gglConnection variable
Name of the gglConnection variable to be used. This connection was validated by GglConnect.
<Parameters>: Character string
Parameters that must be passed to the HTTP request. The parameters are separated by the & character. For more details, see the documentation about the Google Contacts service.
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: wd290ggl.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help