Developer API

anketa.isOnline

Online status or time of the last visit if a user has not activated «Invisible hat» service.

Access level: 1 - General access

Parameters:
Name Required parameter Description
oids + List of profile oid separated by commas. RESTRICTION: Number of oid requested must not exceed 30. In case the number exceeds 30, first 30 oid only will be processed.
Method response:
{
        "status" : int,
        "message" : "str",
        "data": {
        "anketa_id": int,
        "is_online" : int/"str",
        }
        }
Commentary
Parameter is_online may adopt the following values:
— 0 - if a user has VIP status and has activated «Invisible hat» service
— 1 - if a user is active at the moment
— 2011-03-01 04:09:04 (format: YYYY-mm-dd hh:ii:ss) - if a user is not active, time of user's last visit is displayed.