|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageMethods
| Method Summary | |
|---|---|
Map<String,Boolean> |
block(List<String> userIds)
Blocks users from posting content to the current page. |
Map<String,Boolean> |
block(String pageId,
List<String> userIds)
Blocks users from posting content to the current page. |
String |
createMilestone(MilestoneUpdate milestoneUpdate)
Creates the milestone for the current page. |
String |
createMilestone(String pageId,
MilestoneUpdate milestoneUpdate)
Creates the milestone for the page. |
String |
createOffer(OfferUpdate offerUpdate)
Creates an offer for the current page. |
String |
createOffer(String pageId,
OfferUpdate offerUpdate)
Creates an offers for the page. |
boolean |
deleteMilestone(String milestoneId)
Deletes the milestone. |
boolean |
deleteOffer(String offerId)
Deletes the createOffer. |
boolean |
deleteTab(String tabId)
Deletes an installed profile_tab where is_permanent is not true for the current page. |
boolean |
deleteTab(String pageId,
String tabId)
Deletes an installed profile_tab where is_permanent is not true for the page. |
boolean |
displayPagePost(String postId,
boolean isHidden)
Hides/Shows the page's post that is published by a non-admin user. |
ResponseList<User> |
getBlocked()
Returns a list of users blocked from the current Page. |
ResponseList<User> |
getBlocked(Reading reading)
Returns a list of users blocked from the current Page. |
ResponseList<User> |
getBlocked(String pageId)
Returns a list of users blocked from the Page. |
ResponseList<User> |
getBlocked(String pageId,
Reading reading)
Returns a list of users blocked from the Page. |
ResponseList<Page> |
getGlobalBrandChildren(String pageId)
Returns all children pages of a specific page. |
ResponseList<Page> |
getGlobalBrandChildren(String pageId,
Reading reading)
Returns all children pages of a specific page. |
ResponseList<Tab> |
getInstalledTabs(List<String> appIds)
Returns the current Page's profile tabs if a specific app is installed. |
ResponseList<Tab> |
getInstalledTabs(List<String> appIds,
Reading reading)
Returns the current Page's profile tabs if a specific app is installed. |
ResponseList<Tab> |
getInstalledTabs(String pageId,
List<String> appIds)
Returns the Page's profile tabs if a specific app is installed. |
ResponseList<Tab> |
getInstalledTabs(String pageId,
List<String> appIds,
Reading reading)
Returns the Page's profile tabs if a specific app is installed. |
Page |
getLikedPage(String pageId)
Returns a specific page that the current user has liked. |
Page |
getLikedPage(String pageId,
Reading reading)
Returns a specific page that the current user has liked. |
Page |
getLikedPage(String userId,
String pageId)
Returns a specific page that a user has liked. |
Page |
getLikedPage(String userId,
String pageId,
Reading reading)
Returns a specific page that a user has liked. |
ResponseList<Milestone> |
getMilestones()
Returns a list of the Page's milestones. |
ResponseList<Milestone> |
getMilestones(Reading reading)
/** Returns a list of the Page's milestones. |
ResponseList<Milestone> |
getMilestones(String pageId)
Returns a list of the Page's milestones. |
ResponseList<Milestone> |
getMilestones(String pageId,
Reading reading)
Returns a list of the Page's milestones. |
Offer |
getOffer(String offerId)
Returns the offer. |
ResponseList<Offer> |
getOffers()
Returns a list of offers of the current page. |
ResponseList<Offer> |
getOffers(Reading reading)
Returns a list of offers of the current page. |
ResponseList<Offer> |
getOffers(String pageId)
Returns a list of offers of the current page. |
ResponseList<Offer> |
getOffers(String pageId,
Reading reading)
Returns a list of offers of the current page. |
Page |
getPage()
Returns the current page. |
Page |
getPage(Reading reading)
Returns the current page. |
Page |
getPage(String pageId)
Returns the page. |
Page |
getPage(String pageId,
Reading reading)
Returns the page. |
ResponseList<Admin> |
getPageAdmins()
Returns a list of the Page's Admins. |
ResponseList<Admin> |
getPageAdmins(Reading reading)
Returns a list of the Page's Admins. |
ResponseList<Admin> |
getPageAdmins(String pageId)
Returns a list of the Page's Admins. |
ResponseList<Admin> |
getPageAdmins(String pageId,
Reading reading)
Returns a list of the Page's Admins. |
ResponseList<Insight> |
getPageInsights(String pageId)
Returns the page's insights data. |
ResponseList<Insight> |
getPageInsights(String pageId,
Reading reading)
Returns the page's insights data. |
ResponseList<Like> |
getPageLikes(String pageId)
Returns likes made by the page. |
ResponseList<Like> |
getPageLikes(String pageId,
Reading reading)
Returns likes made by the page. |
URL |
getPagePictureURL()
Returns the url of a page's profile picture. |
URL |
getPagePictureURL(PictureSize size)
Returns the url of a page's profile picture. |
URL |
getPagePictureURL(String pageId)
Returns the url of a page's profile picture. |
URL |
getPagePictureURL(String pageId,
PictureSize size)
Returns the url of a page's profile picture. |
ResponseList<PageSetting> |
getPageSettings()
Returns the settings for the current page. |
ResponseList<PageSetting> |
getPageSettings(String pageId)
Returns the settings for the page. |
ResponseList<Tagged> |
getPageTagged(String pageId)
Returns the photos, videos, and posts in which the Page has been tagged. |
ResponseList<Tagged> |
getPageTagged(String pageId,
Reading reading)
Returns the photos, videos, and posts in which the Page has been tagged. |
ResponseList<Post> |
getPromotablePosts()
Returns the current Page's own posts, including unpublished and scheduled posts. |
ResponseList<Post> |
getPromotablePosts(Reading reading)
Returns the current Page's own posts, including unpublished and scheduled posts. |
ResponseList<Post> |
getPromotablePosts(String pageId)
Returns the Page's own posts, including unpublished and scheduled posts. |
ResponseList<Post> |
getPromotablePosts(String pageId,
Reading reading)
Returns the Page's own posts, including unpublished and scheduled posts. |
ResponseList<Tab> |
getTabs()
Returns the current Page's profile tabs. |
ResponseList<Tab> |
getTabs(Reading reading)
Returns the current Page's profile tabs. |
ResponseList<Tab> |
getTabs(String pageId)
Returns the Page's profile tabs. |
ResponseList<Tab> |
getTabs(String pageId,
Reading reading)
Returns the Page's profile tabs. |
boolean |
installTab(String appId)
Installs a profile_tab at the end of the current list of installed tabs for the current page. |
boolean |
installTab(String pageId,
String appId)
Installs a profile_tab at the end of the current list of installed tabs for the current page. |
String |
postBackdatingFeed(BackdatingPostUpdate backdatingPostUpdate)
Creates the post that's back-dated to the current page's wall. |
String |
postBackdatingFeed(String pageId,
BackdatingPostUpdate backdatingPostUpdate)
Creates the post that's back-dated to a page's wall. |
String |
postPagePhoto(PagePhotoUpdate pagePhotoUpdate)
Posts a photo to the current page's wall. |
String |
postPagePhoto(String pageId,
PagePhotoUpdate pagePhotoUpdate)
Posts a photo to a page's wall. |
boolean |
unblock(String userId)
Unblocks the blocked user for the current page. |
boolean |
unblock(String pageId,
String userId)
Unblocks the blocked user for the page. |
boolean |
updatePageBasicAttributes(PageUpdate pageUpdate)
Updates a Page's basic attributes. |
boolean |
updatePageBasicAttributes(String pageId,
PageUpdate pageUpdate)
Updates a Page's basic attributes. |
boolean |
updatePageCoverPhoto(PageCoverUpdate pageCoverUpdate)
Updates the profile photo for the current page. |
boolean |
updatePageCoverPhoto(String pageId,
PageCoverUpdate pageCoverUpdate)
Updates the profile photo for the current page. |
boolean |
updatePageProfilePhoto(Media source)
Updates the profile photo for the current Page. |
boolean |
updatePageProfilePhoto(String pageId,
Media source)
Updates the profile photo for a Page. |
boolean |
updatePageProfilePhoto(String pageId,
URL picture)
Updates the profile photo for a Page. |
boolean |
updatePageProfilePhoto(URL picture)
Updates the profile photo for the current Page. |
boolean |
updatePageSetting(PageSettingUpdate pageSettingUpdate)
Updates the setting for the current page. |
boolean |
updatePageSetting(String pageId,
PageSettingUpdate pageSettingUpdate)
Updates the setting for the page. |
boolean |
updateTab(String pageId,
String tabId,
TabUpdate tabUpdate)
Updates an installed profile_tab for the page. |
boolean |
updateTab(String tabId,
TabUpdate tabUpdate)
Updates an installed profile_tab for the current page. |
| Method Detail |
|---|
Page getPage()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
Page getPage(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
Page getPage(String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
Page getPage(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
URL getPagePictureURL()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
URL getPagePictureURL(PictureSize size)
throws FacebookException
size - picture size
FacebookException - when Facebook service or network is unavailable
URL getPagePictureURL(String pageId)
throws FacebookException
pageId - the ID of a page
FacebookException - when Facebook service or network is unavailable
URL getPagePictureURL(String pageId,
PictureSize size)
throws FacebookException
pageId - the ID of a pagesize - picture size
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getPromotablePosts()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getPromotablePosts(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getPromotablePosts(String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getPromotablePosts(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
boolean updatePageBasicAttributes(PageUpdate pageUpdate)
throws FacebookException
pageUpdate - the page to be updated
FacebookException - when Facebook service or network is unavailable
boolean updatePageBasicAttributes(String pageId,
PageUpdate pageUpdate)
throws FacebookException
pageId - the ID of the pagepageUpdate - the page to be updated
FacebookException - when Facebook service or network is unavailable
boolean updatePageProfilePhoto(URL picture)
throws FacebookException
picture - A URL to the photo
FacebookException - when Facebook service or network is unavailable
boolean updatePageProfilePhoto(String pageId,
URL picture)
throws FacebookException
pageId - the ID of the pagepicture - A URL to the photo
FacebookException - when Facebook service or network is unavailable
boolean updatePageProfilePhoto(Media source)
throws FacebookException
source - Photo content
FacebookException - when Facebook service or network is unavailable
boolean updatePageProfilePhoto(String pageId,
Media source)
throws FacebookException
pageId - the ID of the pagesource - Photo content
FacebookException - when Facebook service or network is unavailable
boolean updatePageCoverPhoto(PageCoverUpdate pageCoverUpdate)
throws FacebookException
pageCoverUpdate - the cover photo for the page to be updated
FacebookException - when Facebook service or network is unavailable
boolean updatePageCoverPhoto(String pageId,
PageCoverUpdate pageCoverUpdate)
throws FacebookException
pageId - the ID of the pagepageCoverUpdate - the cover photo for the page to be updated
FacebookException - when Facebook service or network is unavailable
boolean displayPagePost(String postId,
boolean isHidden)
throws FacebookException
postId - the ID of the post in the pageisHidden - whether a post is hidden
FacebookException
ResponseList<PageSetting> getPageSettings()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<PageSetting> getPageSettings(String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
boolean updatePageSetting(PageSettingUpdate pageSettingUpdate)
throws FacebookException
pageSettingUpdate - setting
FacebookException - when Facebook service or network is unavailable
boolean updatePageSetting(String pageId,
PageSettingUpdate pageSettingUpdate)
throws FacebookException
pageId - the ID of the pagepageSettingUpdate - setting
FacebookException - when Facebook service or network is unavailable
String postBackdatingFeed(BackdatingPostUpdate backdatingPostUpdate)
throws FacebookException
backdatingPostUpdate - the post to be created
FacebookException - when Facebook service or network is unavailable
String postBackdatingFeed(String pageId,
BackdatingPostUpdate backdatingPostUpdate)
throws FacebookException
pageId - the ID of a pagebackdatingPostUpdate - the post to be created
FacebookException - when Facebook service or network is unavailable
String postPagePhoto(PagePhotoUpdate pagePhotoUpdate)
throws FacebookException
pagePhotoUpdate - photo content, targeting and more
FacebookException - when Facebook service or network is unavailable
String postPagePhoto(String pageId,
PagePhotoUpdate pagePhotoUpdate)
throws FacebookException
pageId - the ID of a pagepagePhotoUpdate - photo content, targeting and more
FacebookException - when Facebook service or network is unavailable
ResponseList<Page> getGlobalBrandChildren(String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException
ResponseList<Page> getGlobalBrandChildren(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
ResponseList<Insight> getPageInsights(String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException
ResponseList<Insight> getPageInsights(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
ResponseList<Tagged> getPageTagged(String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException
ResponseList<Tagged> getPageTagged(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
ResponseList<Milestone> getMilestones()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Milestone> getMilestones(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Milestone> getMilestones(String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<Milestone> getMilestones(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
String createMilestone(MilestoneUpdate milestoneUpdate)
throws FacebookException
milestoneUpdate - a milestone to be created
FacebookException - when Facebook service or network is unavailable
String createMilestone(String pageId,
MilestoneUpdate milestoneUpdate)
throws FacebookException
pageId - the ID of the pagemilestoneUpdate - a milestone to be created
FacebookException - when Facebook service or network is unavailable
boolean deleteMilestone(String milestoneId)
throws FacebookException
milestoneId - the ID of a milestone
FacebookException - when Facebook service or network is unavailable
ResponseList<Admin> getPageAdmins()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Admin> getPageAdmins(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Admin> getPageAdmins(String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<Admin> getPageAdmins(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Tab> getTabs()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Tab> getTabs(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Tab> getTabs(String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<Tab> getTabs(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Tab> getInstalledTabs(List<String> appIds)
throws FacebookException
appIds - the IDs of app
FacebookException - when Facebook service or network is unavailable
ResponseList<Tab> getInstalledTabs(List<String> appIds,
Reading reading)
throws FacebookException
appIds - the IDs of appreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Tab> getInstalledTabs(String pageId,
List<String> appIds)
throws FacebookException
pageId - the ID of the pageappIds - the IDs of app
FacebookException - when Facebook service or network is unavailable
ResponseList<Tab> getInstalledTabs(String pageId,
List<String> appIds,
Reading reading)
throws FacebookException
pageId - the ID of the pageappIds - the IDs of appreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
boolean installTab(String appId)
throws FacebookException
appId - the ID of the application for which to install the tab
FacebookException
boolean installTab(String pageId,
String appId)
throws FacebookException
pageId - the ID of the pageappId - the ID of the application for which to install the tab
FacebookException
boolean updateTab(String tabId,
TabUpdate tabUpdate)
throws FacebookException
tabId - the ID of the tabtabUpdate - tab to be updated
FacebookException
boolean updateTab(String pageId,
String tabId,
TabUpdate tabUpdate)
throws FacebookException
pageId - the ID of the pagetabId - the ID of the tabtabUpdate - tab to be updated
FacebookException
boolean deleteTab(String tabId)
throws FacebookException
tabId - the ID of the tab
FacebookException
boolean deleteTab(String pageId,
String tabId)
throws FacebookException
pageId - the ID of the pagetabId - the ID of the tab
FacebookException
ResponseList<User> getBlocked()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<User> getBlocked(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<User> getBlocked(String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<User> getBlocked(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
Map<String,Boolean> block(List<String> userIds)
throws FacebookException
userIds - user IDs you wish to block
FacebookException - when Facebook service or network is unavailable
Map<String,Boolean> block(String pageId,
List<String> userIds)
throws FacebookException
pageId - the ID of the pageuserIds - user IDs you wish to block
FacebookException - when Facebook service or network is unavailable
boolean unblock(String userId)
throws FacebookException
userId - the IDs of the user
FacebookException - when Facebook service or network is unavailable
boolean unblock(String pageId,
String userId)
throws FacebookException
pageId - the ID of the pageuserId - the IDs of the user
FacebookException - when Facebook service or network is unavailable
ResponseList<Offer> getOffers()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Offer> getOffers(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Offer> getOffers(String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<Offer> getOffers(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of the pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
String createOffer(OfferUpdate offerUpdate)
throws FacebookException
offerUpdate - a createOffer to be created
FacebookException - when Facebook service or network is unavailable
String createOffer(String pageId,
OfferUpdate offerUpdate)
throws FacebookException
pageId - the ID of the pageofferUpdate - a createOffer to be created
FacebookException - when Facebook service or network is unavailable
boolean deleteOffer(String offerId)
throws FacebookException
offerId - the ID of the createOffer
FacebookException
Offer getOffer(String offerId)
throws FacebookException
offerId - the ID of the offer
FacebookException - when Facebook service or network is unavailable
Page getLikedPage(String pageId)
throws FacebookException
pageId - the ID of a page
FacebookException - when Facebook service or network is unavailable
Page getLikedPage(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of a pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
Page getLikedPage(String userId,
String pageId)
throws FacebookException
userId - the ID of a userpageId - the ID of a page
FacebookException - when Facebook service or network is unavailable
Page getLikedPage(String userId,
String pageId,
Reading reading)
throws FacebookException
userId - the ID of a userpageId - the ID of a pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Like> getPageLikes(String pageId)
throws FacebookException
pageId - the ID of a page
FacebookException - when Facebook service or network is unavailable
ResponseList<Like> getPageLikes(String pageId,
Reading reading)
throws FacebookException
pageId - the ID of a pagereading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||