public class PeopleService extends Service
| Constructor and Description |
|---|
PeopleService() |
| Modifier and Type | Method and Description |
|---|---|
static Request |
getFriends()
Returns a new Request instance which, when submitted, fetches the profile
information of the current viewer's friends and makes this data available
as a List of Person objects.
|
static Request |
getFriends(String guid)
Returns a new Request instance which, when submitted, fetches the profile
information of the specified user's friends and makes this data available
as a List of Person objects.
|
static Request |
getUser(String guid)
Returns a new Request instance which, when submitted, fetches the profile
information of the user with the specified ID and makes this data
available as a Person object.
|
static Request |
getViewer()
Returns a new Request instance which, when submitted, fetches the current
viewer's profile information and makes this data available as a Person
object.
|
public static Request getViewer()
Personpublic static Request getUser(String guid)
guid - OpenSocial ID of the user to fetchPersonpublic static Request getFriends()
Personpublic static Request getFriends(String guid)
guid - OpenSocial ID of the user whose friends are to be fetchedPersonCopyright © 2012. All Rights Reserved.