k2xl / auramap

Automatically exported from code.google.com/p/auramap
0 stars 0 forks source link

Server: getBuddyList.php #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Need to create getBuddyList.php

Accepts:
username [phone number]
password [pass key with phone number]

returns
PARAMETER_ERROR = Parameters retrieved are not in the right format or do
not exist
LOGIN_ERROR = Login incorrect

Or if none of the above is returned then the following format of buddies
are returned:

<phone number>,<privacy setting>#<phone number>,<privacy setting>

phone number is a number obviously and it will be matched to the user's
phonebook names (that way the names are not stored on the server). In fact,
eventually we will send a hashed phone number.

privacy setting is a number:
0 = default
1 = white listed (always shows information)
-1 = blacklist (blocks)

I will also try to create some fake buddies at first.

Original issue reported on code.google.com by K2xL....@gmail.com on 15 Aug 2009 at 5:46

GoogleCodeExporter commented 9 years ago

Original comment by K2xL....@gmail.com on 15 Aug 2009 at 5:47

GoogleCodeExporter commented 9 years ago
*Modifying specs:

Actually what returns should be:
<phone number>,<happystate>,<lastupdated>,<privacy setting>#<phone
number>,<happystate>,<lastupdated>,<privacy setting>

happystate is a number 0-4 representing what the user last felt.
lastupdated is the unixtimestamp of when they last updated. the client should 
alpha
down the status smileys of those who haven't updated their status in a while.

Original comment by K2xL....@gmail.com on 15 Aug 2009 at 5:52

GoogleCodeExporter commented 9 years ago

Original comment by K2xL....@gmail.com on 24 Aug 2009 at 4:40