Skip to content
Mimerme edited this page Aug 31, 2015 · 1 revision

Summary

Contains all global variable data on the Yik Yak user needed to submit requests to the server. Values are all public and static and can be modified whenever, but is recommended otherwise.

Varaibles

  • TOKEN : token of the user, is an md5 of the user agent (kinda like a password)

  • USERID : userid of the user, DO NOT GIVE THIS OUT (more precious than the token)

  • USER_AGENT : user agent sent by all the requests, if this is empty generate it with APIUtils.generateUserAgent()

  • LAT : latitude origin of all the requests

  • LONG: longitutde origin of all the requests

  • ACCURACY : of the request, often times received from the location API. There is most likely an internal working with the server that uses this value to make calculations on which posts are within range.

  • ALTITUDE : altitude of the request. There is most likely an internal working with the server that uses this value to make calculations on which posts are within range.

  • PARSE_APPLICATION_KEY : the application key for Parse requests, should not be modified. Obtained by intercepting the HTTPS requests

  • PARSE_ID : lowercase UUID used when registering User IDs with the server

Clone this wiki locally