|
Spring Social Facebook | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UserOperations
| Method Summary | |
|---|---|
PagedList<java.lang.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(java.lang.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(java.lang.String userId)
Retrieves the user's profile image. |
byte[] |
getUserProfileImage(java.lang.String userId,
ImageType imageType)
Retrieves the user's profile image. |
PagedList<Reference> |
search(java.lang.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(java.lang.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(java.lang.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(java.lang.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<java.lang.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(java.lang.String query)
query - the search query (e.g., "Michael Scott")
References, 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.
|
Spring Social Facebook | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||