If an invalid token is specified its entry in the gmetadata array will consist of the following:

{
"gid":519325,
"error":"Key missing, or incorrect key provided."
}

Gallery Tokens

Individual page links cannot be used directly for requesting gallery metadata; they contain the gallery ID but not the token. The gtoken method can be used to find the gallery token by providing the page data from the link. Page links use the following format: