Closed owiegand closed 6 years ago
For cases that username is not found in the DB. This JSON string will be returned:
{
"success":false,
"debug":"Username not found"
}
For cases where the username is found. This JSON string will be returned:
{
"success":true,
"first_name":"name",
"last_name":"",
"friend_status":"friend",
"friend_date":"March 10, 2001, 5:16 pm"
}
The friend_date field will contain the time in UTC that the last action between these two users was taken. Time will added upon request, and updated when the friendship is accepted. This field can return NULL if there isn't a date. This only occurs when the user's are strangers.
@nathantspencer This code is ready to go. Finished in commit 28e0568ee3be972d15aa7f0496d608bd9b2b6099
I'm actually going to leave this open until friend_status is finished.
Finished this code in b1244e899b4bd03d1b5be91edf2e04c294b0e120
getUserByUsername: Receives
returns