Namespace opensocial.DataRequest.FilterType
The filters available for limiting person requests.
Defined in: opensocial.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Field Attributes | Field Name and Description |
|---|---|
| <static> |
opensocial.DataRequest.FilterType.ALL
Retrieves all friends.
|
| <static> |
opensocial.DataRequest.FilterType.HAS_APP
Retrieves all friends with any data for this application.
|
| <static> |
opensocial.DataRequest.FilterType.IS_FRIENDS_WITH
Will filter the people requested by checking if they are friends with
the given idSpec.
|
| <static> |
opensocial.DataRequest.FilterType.TOP_FRIENDS
Retrieves only the user's top friends.
|
Field Detail
<static>
opensocial.DataRequest.FilterType.ALL
Retrieves all friends.
<static>
opensocial.DataRequest.FilterType.HAS_APP
Retrieves all friends with any data for this application.
<static>
opensocial.DataRequest.FilterType.IS_FRIENDS_WITH
Will filter the people requested by checking if they are friends with
the given idSpec. Expects a
filterOptions parameter to be passed with the following fields defined:
- idSpec The idSpec that each person
must be friends with.
<static>
opensocial.DataRequest.FilterType.TOP_FRIENDS
Retrieves only the user's top friends.