public interface NoteMethods
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
commentNote(java.lang.String noteId,
java.lang.String message)
Comments on the note.
|
java.lang.String |
createNote(java.lang.String subject,
java.lang.String message)
Creates the current user's/page's note.
|
java.lang.String |
createNote(java.lang.String id,
java.lang.String subject,
java.lang.String message)
Creates the note on behalf of a user/page.
|
Note |
getNote(java.lang.String noteId)
Returns a note.
|
Note |
getNote(java.lang.String noteId,
Reading reading)
Returns a note.
|
ResponseList<Comment> |
getNoteComments(java.lang.String noteId)
Returns all of the comments on a note.
|
ResponseList<Comment> |
getNoteComments(java.lang.String noteId,
Reading reading)
Returns all of the comments on a note.
|
ResponseList<Like> |
getNoteLikes(java.lang.String noteId)
Returns the likes made on a note.
|
ResponseList<Like> |
getNoteLikes(java.lang.String noteId,
Reading reading)
Returns the likes made on a note.
|
ResponseList<Note> |
getNotes()
Returns the current user's/page's notes.
|
ResponseList<Note> |
getNotes(Reading reading)
Returns the current user's/page's notes.
|
ResponseList<Note> |
getNotes(java.lang.String id)
Returns a user's/page's notes.
|
ResponseList<Note> |
getNotes(java.lang.String id,
Reading reading)
Returns a user's/page's notes.
|
boolean |
likeNote(java.lang.String noteId)
Likes the note.
|
boolean |
unlikeNote(java.lang.String noteId)
Unlikes the note.
|
ResponseList<Note> getNotes() throws FacebookException
FacebookException - when Facebook service or network is unavailableResponseList<Note> getNotes(Reading reading) throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Note> getNotes(java.lang.String id) throws FacebookException
id - the ID of a user/pageFacebookException - when Facebook service or network is unavailableResponseList<Note> getNotes(java.lang.String id, Reading reading) throws FacebookException
id - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablejava.lang.String createNote(java.lang.String subject,
java.lang.String message)
throws FacebookException
subject - the subject of the notemessage - note contentFacebookException - when Facebook service or network is unavailablejava.lang.String createNote(java.lang.String id,
java.lang.String subject,
java.lang.String message)
throws FacebookException
id - the ID of a user/pagesubject - the subject of the notemessage - note contentFacebookException - when Facebook service or network is unavailableNote getNote(java.lang.String noteId) throws FacebookException
noteId - the ID of the noteFacebookException - when Facebook service or network is unavailableNote getNote(java.lang.String noteId, Reading reading) throws FacebookException
noteId - the ID of the notereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Comment> getNoteComments(java.lang.String noteId) throws FacebookException
noteId - the ID of a noteFacebookException - when Facebook service or network is unavailableResponseList<Comment> getNoteComments(java.lang.String noteId, Reading reading) throws FacebookException
noteId - the ID of a notereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablejava.lang.String commentNote(java.lang.String noteId,
java.lang.String message)
throws FacebookException
noteId - the ID of the notemessage - comment textFacebookException - when Facebook service or network is unavailableResponseList<Like> getNoteLikes(java.lang.String noteId) throws FacebookException
noteId - the ID of a noteFacebookException - when Facebook service or network is unavailableResponseList<Like> getNoteLikes(java.lang.String noteId, Reading reading) throws FacebookException
noteId - the ID of a notereading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableboolean likeNote(java.lang.String noteId)
throws FacebookException
noteId - the ID of the noteFacebookException - when Facebook service or network is unavailableboolean unlikeNote(java.lang.String noteId)
throws FacebookException
noteId - the ID of the noteFacebookException - when Facebook service or network is unavailable