|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PageMethods
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Boolean> |
block(java.util.List<java.lang.String> userIds)
Blocks users from posting content to the current page. |
java.util.Map<java.lang.String,java.lang.Boolean> |
block(java.lang.String pageId,
java.util.List<java.lang.String> userIds)
Blocks users from posting content to the current page. |
java.lang.String |
createMilestone(MilestoneUpdate milestoneUpdate)
Creates the milestone for the current page. |
java.lang.String |
createMilestone(java.lang.String pageId,
MilestoneUpdate milestoneUpdate)
Creates the milestone for the page. |
java.lang.String |
createOffer(OfferUpdate offerUpdate)
Creates an offer for the current page. |
java.lang.String |
createOffer(java.lang.String pageId,
OfferUpdate offerUpdate)
Creates an offers for the page. |
boolean |
deleteMilestone(java.lang.String milestoneId)
Deletes the milestone. |
boolean |
deleteOffer(java.lang.String offerId)
Deletes the createOffer. |
boolean |
deleteTab(java.lang.String tabId)
Deletes an installed profile_tab where is_permanent is not true for the current page. |
boolean |
deleteTab(java.lang.String pageId,
java.lang.String tabId)
Deletes an installed profile_tab where is_permanent is not true for the page. |
boolean |
displayPagePost(java.lang.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(java.lang.String pageId)
Returns a list of users blocked from the Page. |
ResponseList<User> |
getBlocked(java.lang.String pageId,
Reading reading)
Returns a list of users blocked from the Page. |
ResponseList<Page> |
getGlobalBrandChildren(java.lang.String pageId)
Returns all children pages of a specific page. |
ResponseList<Page> |
getGlobalBrandChildren(java.lang.String pageId,
Reading reading)
Returns all children pages of a specific page. |
ResponseList<Tab> |
getInstalledTabs(java.util.List<java.lang.String> appIds)
Returns the current Page's profile tabs if a specific app is installed. |
ResponseList<Tab> |
getInstalledTabs(java.util.List<java.lang.String> appIds,
Reading reading)
Returns the current Page's profile tabs if a specific app is installed. |
ResponseList<Tab> |
getInstalledTabs(java.lang.String pageId,
java.util.List<java.lang.String> appIds)
Returns the Page's profile tabs if a specific app is installed. |
ResponseList<Tab> |
getInstalledTabs(java.lang.String pageId,
java.util.List<java.lang.String> appIds,
Reading reading)
Returns the Page's profile tabs if a specific app is installed. |
Page |
getLikedPage(java.lang.String pageId)
Returns a specific page that the current user has liked. |
Page |
getLikedPage(java.lang.String pageId,
Reading reading)
Returns a specific page that the current user has liked. |
Page |
getLikedPage(java.lang.String userId,
java.lang.String pageId)
Returns a specific page that a user has liked. |
Page |
getLikedPage(java.lang.String userId,
java.lang.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(java.lang.String pageId)
Returns a list of the Page's milestones. |
ResponseList<Milestone> |
getMilestones(java.lang.String pageId,
Reading reading)
Returns a list of the Page's milestones. |
Offer |
getOffer(java.lang.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(java.lang.String pageId)
Returns a list of offers of the current page. |
ResponseList<Offer> |
getOffers(java.lang.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(java.lang.String pageId)
Returns the page. |
Page |
getPage(java.lang.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(java.lang.String pageId)
Returns a list of the Page's Admins. |
ResponseList<Admin> |
getPageAdmins(java.lang.String pageId,
Reading reading)
Returns a list of the Page's Admins. |
ResponseList<Insight> |
getPageInsights(java.lang.String pageId)
Returns the page's insights data. |
ResponseList<Insight> |
getPageInsights(java.lang.String pageId,
Reading reading)
Returns the page's insights data. |
java.net.URL |
getPagePictureURL()
Returns the url of a page's profile picture. |
java.net.URL |
getPagePictureURL(PictureSize size)
Returns the url of a page's profile picture. |
java.net.URL |
getPagePictureURL(java.lang.String pageId)
Returns the url of a page's profile picture. |
java.net.URL |
getPagePictureURL(java.lang.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(java.lang.String pageId)
Returns the settings for the page. |
ResponseList<Tagged> |
getPageTagged(java.lang.String pageId)
Returns the photos, videos, and posts in which the Page has been tagged. |
ResponseList<Tagged> |
getPageTagged(java.lang.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(java.lang.String pageId)
Returns the Page's own posts, including unpublished and scheduled posts. |
ResponseList<Post> |
getPromotablePosts(java.lang.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(java.lang.String pageId)
Returns the Page's profile tabs. |
ResponseList<Tab> |
getTabs(java.lang.String pageId,
Reading reading)
Returns the Page's profile tabs. |
boolean |
installTab(java.lang.String appId)
Installs a profile_tab at the end of the current list of installed tabs for the current page. |
boolean |
installTab(java.lang.String pageId,
java.lang.String appId)
Installs a profile_tab at the end of the current list of installed tabs for the current page. |
java.lang.String |
postBackdatingFeed(BackdatingPostUpdate backdatingPostUpdate)
Creates the post that's back-dated to the current page's wall. |
java.lang.String |
postBackdatingFeed(java.lang.String pageId,
BackdatingPostUpdate backdatingPostUpdate)
Creates the post that's back-dated to a page's wall. |
java.lang.String |
postPagePhoto(PagePhotoUpdate pagePhotoUpdate)
Posts a photo to the current page's wall. |
java.lang.String |
postPagePhoto(java.lang.String pageId,
PagePhotoUpdate pagePhotoUpdate)
Posts a photo to a page's wall. |
boolean |
unblock(java.lang.String userId)
Unblocks the blocked user for the current page. |
boolean |
unblock(java.lang.String pageId,
java.lang.String userId)
Unblocks the blocked user for the page. |
boolean |
updatePageBasicAttributes(PageUpdate pageUpdate)
Updates a Page's basic attributes. |
boolean |
updatePageBasicAttributes(java.lang.String pageId,
PageUpdate pageUpdate)
Updates a Page's basic attributes. |
boolean |
updatePageCoverPhoto(PageCoverUpdate pageCoverUpdate)
Updates the profile photo for the current page. |
boolean |
updatePageCoverPhoto(java.lang.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(java.lang.String pageId,
Media source)
Updates the profile photo for a Page. |
boolean |
updatePageProfilePhoto(java.lang.String pageId,
java.net.URL picture)
Updates the profile photo for a Page. |
boolean |
updatePageProfilePhoto(java.net.URL picture)
Updates the profile photo for the current Page. |
boolean |
updatePageSetting(PageSettingUpdate pageSettingUpdate)
Updates the setting for the current page. |
boolean |
updatePageSetting(java.lang.String pageId,
PageSettingUpdate pageSettingUpdate)
Updates the setting for the page. |
boolean |
updateTab(java.lang.String pageId,
java.lang.String tabId,
TabUpdate tabUpdate)
Updates an installed profile_tab for the page. |
boolean |
updateTab(java.lang.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(java.lang.String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
Page getPage(java.lang.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
java.net.URL getPagePictureURL()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
java.net.URL getPagePictureURL(PictureSize size)
throws FacebookException
size - picture size
FacebookException - when Facebook service or network is unavailable
java.net.URL getPagePictureURL(java.lang.String pageId)
throws FacebookException
pageId - the ID of a page
FacebookException - when Facebook service or network is unavailable
java.net.URL getPagePictureURL(java.lang.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(java.lang.String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getPromotablePosts(java.lang.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(java.lang.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(java.net.URL picture)
throws FacebookException
picture - A URL to the photo
FacebookException - when Facebook service or network is unavailable
boolean updatePageProfilePhoto(java.lang.String pageId,
java.net.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.String pageId,
PageSettingUpdate pageSettingUpdate)
throws FacebookException
pageId - the ID of the pagepageSettingUpdate - setting
FacebookException - when Facebook service or network is unavailable
java.lang.String postBackdatingFeed(BackdatingPostUpdate backdatingPostUpdate)
throws FacebookException
backdatingPostUpdate - the post to be created
FacebookException - when Facebook service or network is unavailable
java.lang.String postBackdatingFeed(java.lang.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
java.lang.String postPagePhoto(PagePhotoUpdate pagePhotoUpdate)
throws FacebookException
pagePhotoUpdate - photo content, targeting and more
FacebookException - when Facebook service or network is unavailable
java.lang.String postPagePhoto(java.lang.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(java.lang.String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException
ResponseList<Page> getGlobalBrandChildren(java.lang.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(java.lang.String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException
ResponseList<Insight> getPageInsights(java.lang.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(java.lang.String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException
ResponseList<Tagged> getPageTagged(java.lang.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(java.lang.String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<Milestone> getMilestones(java.lang.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
java.lang.String createMilestone(MilestoneUpdate milestoneUpdate)
throws FacebookException
milestoneUpdate - a milestone to be created
FacebookException - when Facebook service or network is unavailable
java.lang.String createMilestone(java.lang.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(java.lang.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(java.lang.String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<Admin> getPageAdmins(java.lang.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(java.lang.String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<Tab> getTabs(java.lang.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(java.util.List<java.lang.String> appIds)
throws FacebookException
appIds - the IDs of app
FacebookException - when Facebook service or network is unavailable
ResponseList<Tab> getInstalledTabs(java.util.List<java.lang.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(java.lang.String pageId,
java.util.List<java.lang.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(java.lang.String pageId,
java.util.List<java.lang.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(java.lang.String appId)
throws FacebookException
appId - the ID of the application for which to install the tab
FacebookException
boolean installTab(java.lang.String pageId,
java.lang.String appId)
throws FacebookException
pageId - the ID of the pageappId - the ID of the application for which to install the tab
FacebookException
boolean updateTab(java.lang.String tabId,
TabUpdate tabUpdate)
throws FacebookException
tabId - the ID of the tabtabUpdate - tab to be updated
FacebookException
boolean updateTab(java.lang.String pageId,
java.lang.String tabId,
TabUpdate tabUpdate)
throws FacebookException
pageId - the ID of the pagetabId - the ID of the tabtabUpdate - tab to be updated
FacebookException
boolean deleteTab(java.lang.String tabId)
throws FacebookException
tabId - the ID of the tab
FacebookException
boolean deleteTab(java.lang.String pageId,
java.lang.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(java.lang.String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<User> getBlocked(java.lang.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
java.util.Map<java.lang.String,java.lang.Boolean> block(java.util.List<java.lang.String> userIds)
throws FacebookException
userIds - user IDs you wish to block
FacebookException - when Facebook service or network is unavailable
java.util.Map<java.lang.String,java.lang.Boolean> block(java.lang.String pageId,
java.util.List<java.lang.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(java.lang.String userId)
throws FacebookException
userId - the IDs of the user
FacebookException - when Facebook service or network is unavailable
boolean unblock(java.lang.String pageId,
java.lang.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(java.lang.String pageId)
throws FacebookException
pageId - the ID of the page
FacebookException - when Facebook service or network is unavailable
ResponseList<Offer> getOffers(java.lang.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
java.lang.String createOffer(OfferUpdate offerUpdate)
throws FacebookException
offerUpdate - a createOffer to be created
FacebookException - when Facebook service or network is unavailable
java.lang.String createOffer(java.lang.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(java.lang.String offerId)
throws FacebookException
offerId - the ID of the createOffer
FacebookException
Offer getOffer(java.lang.String offerId)
throws FacebookException
offerId - the ID of the offer
FacebookException - when Facebook service or network is unavailable
Page getLikedPage(java.lang.String pageId)
throws FacebookException
pageId - the ID of a page
FacebookException - when Facebook service or network is unavailable
Page getLikedPage(java.lang.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(java.lang.String userId,
java.lang.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(java.lang.String userId,
java.lang.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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||