|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserOperations
Method Summary | |
---|---|
PagedList<String> |
getUserPermissions()
Retrieves a list of permissions that the application has been granted for the authenticated user. |
FacebookProfile |
getUserProfile()
Retrieves the profile for the authenticated user. |
FacebookProfile |
getUserProfile(String userId)
Retrieves the profile for the specified user. |
byte[] |
getUserProfileImage()
Retrieves the user's profile image. |
byte[] |
getUserProfileImage(ImageType imageType)
Retrieves the user's profile image. |
byte[] |
getUserProfileImage(String userId)
Retrieves the user's profile image. |
byte[] |
getUserProfileImage(String userId,
ImageType imageType)
Retrieves the user's profile image. |
PagedList<Reference> |
search(String query)
Searches for users. |
Method Detail |
---|
FacebookProfile getUserProfile()
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.
org.springframework.social.MissingAuthorizationException
- if FacebookTemplate was not created with an access token.FacebookProfile getUserProfile(String userId)
userId
- the Facebook user ID to retrieve profile data for.
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.byte[] getUserProfileImage()
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.
org.springframework.social.MissingAuthorizationException
- if FacebookTemplate was not created with an access token.byte[] getUserProfileImage(String userId)
userId
- the Facebook user ID.
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.byte[] getUserProfileImage(ImageType imageType)
imageType
- the image type (eg., small, normal, large. square)
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.
org.springframework.social.MissingAuthorizationException
- if FacebookTemplate was not created with an access token.byte[] getUserProfileImage(String userId, ImageType imageType)
userId
- the Facebook user ID.imageType
- the image type (eg., small, normal, large. square)
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.PagedList<String> getUserPermissions()
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.
org.springframework.social.MissingAuthorizationException
- if FacebookTemplate was not created with an access token.PagedList<Reference> search(String query)
query
- the search query (e.g., "Michael Scott")
Reference
s, each representing a user who matched the given query.
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.
org.springframework.social.MissingAuthorizationException
- if FacebookTemplate was not created with an access token.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |