public interface UserMethods
| Modifier and Type | Method and Description |
|---|---|
User |
getMe()
Returns the current user.
|
User |
getMe(Reading reading)
Returns the current user.
|
java.net.URL |
getPictureURL()
Returns the url of the current user's profile picture.
|
java.net.URL |
getPictureURL(int width,
int height)
Returns the url of the current user's profile picture.
|
java.net.URL |
getPictureURL(PictureSize size)
Returns the url of the current user's profile picture.
|
java.net.URL |
getPictureURL(java.lang.String userId)
Returns the url of a user's profile picture.
|
java.net.URL |
getPictureURL(java.lang.String userId,
int width,
int height)
Returns the url of a user's profile picture.
|
java.net.URL |
getPictureURL(java.lang.String userId,
PictureSize size)
Returns the url of a user's profile picture.
|
java.net.URL |
getSSLPictureURL()
Returns the url of the current user's profile picture over a secure connection.
|
java.net.URL |
getSSLPictureURL(PictureSize size)
Returns the url of the current user's profile picture over a secure connection.
|
java.net.URL |
getSSLPictureURL(java.lang.String userId)
Returns the url of a user's profile picture over a secure connection.
|
java.net.URL |
getSSLPictureURL(java.lang.String userId,
PictureSize size)
Returns the url of a user's profile picture over a secure connection.
|
User |
getUser(java.lang.String userId)
Returns a given user, specified by ID.
|
User |
getUser(java.lang.String userId,
Reading reading)
Returns a given user, specified by ID.
|
java.util.List<User> |
getUsers(java.lang.String... ids)
Returns the users specified by IDs.
|
User getMe() throws FacebookException
FacebookException - when Facebook service or network is unavailableUser getMe(Reading reading) throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableUser getUser(java.lang.String userId) throws FacebookException
userId - the ID of the userFacebookException - when Facebook service or network is unavailableUser getUser(java.lang.String userId, Reading reading) throws FacebookException
userId - the ID of the userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablejava.net.URL getPictureURL()
throws FacebookException
FacebookException - when Facebook service or network is unavailablejava.net.URL getPictureURL(PictureSize size) throws FacebookException
size - picture sizeFacebookException - when Facebook service or network is unavailablejava.net.URL getPictureURL(int width,
int height)
throws FacebookException
width - width of the pictureheight - height of the pictureFacebookException - when Facebook service or network is unavailablejava.net.URL getPictureURL(java.lang.String userId)
throws FacebookException
userId - the ID of a userFacebookException - when Facebook service or network is unavailablejava.net.URL getPictureURL(java.lang.String userId,
PictureSize size)
throws FacebookException
userId - the ID of a usersize - picture sizeFacebookException - when Facebook service or network is unavailablejava.net.URL getPictureURL(java.lang.String userId,
int width,
int height)
throws FacebookException
userId - the ID of a userwidth - width of the pictureheight - height of the pictureFacebookException - when Facebook service or network is unavailablejava.net.URL getSSLPictureURL()
throws FacebookException
FacebookException - when Facebook service or network is unavailablejava.net.URL getSSLPictureURL(PictureSize size) throws FacebookException
size - picture sizeFacebookException - when Facebook service or network is unavailablejava.net.URL getSSLPictureURL(java.lang.String userId)
throws FacebookException
userId - the ID of a userFacebookException - when Facebook service or network is unavailablejava.net.URL getSSLPictureURL(java.lang.String userId,
PictureSize size)
throws FacebookException
userId - the ID of a usersize - picture sizeFacebookException - when Facebook service or network is unavailablejava.util.List<User> getUsers(java.lang.String... ids) throws FacebookException
ids - the IDs of usersFacebookException