DiFi › class › Friends
From Botdom Documentation
This class is used to handle devWATCH-related functions. As of the time of this writing, it is used to +devWATCH users from the Deviations page.
Contents |
addFriend
Used to +devWATCH a user from the Deviations page (after +faving several deviations).
Arguments
| Username of artist to be watched | Any valid deviantART username. |
| Unknown Integer | 0 |
Limitations
- Must be called using POST; returns a const-correctness error otherwise.
Example
getFriendsMenu
Returns a list of everyone you're watching, including what group they're in, their symbol, their avatar type, and their last visit to the site.
Arguments
| Unknown Integer | 1 |
Return values
- An array of objects containing the username of a friend (username), their symbol (symbol), their icon type (usericon), what group they're in (groupname), and their last visit (lastvisit).
- Icon types are denoted by integers; 0 = none (using default); 1 = GIF; 2 = JPG; 3 = PNG.

