|
Spring Social Facebook | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.facebook.api.Page
public class Page
Model class representing a Facebook page. A Facebook page could represent any number of things, including businesses, government agencies, people, organizations, etc. A page may even represent a place that a user may check into using Facebook Places, if the page has location data. The data available for a page will vary depending on the category it belongs to and what data the page administrator has entered.
Constructor Summary | |
---|---|
Page(java.lang.String id,
java.lang.String name,
java.lang.String link,
java.lang.String category)
|
Method Summary | |
---|---|
boolean |
canPost()
Indicates whether or not the authenticated user can post on this page. |
java.lang.String |
getAbout()
|
java.lang.String |
getAffiliation()
|
java.lang.String |
getCategory()
|
int |
getCheckins()
|
java.lang.String |
getCompanyOverview()
|
CoverPhoto |
getCover()
|
java.lang.String |
getDescription()
|
int |
getFanCount()
Deprecated. The fan_count property is no longer returned from Facebook's Graph API and so this will always be zero. This property will be removed in Spring Social Facebook 1.1.0. |
java.util.Map<java.lang.String,java.lang.String> |
getHours()
|
java.lang.String |
getId()
|
int |
getLikes()
|
java.lang.String |
getLink()
|
Location |
getLocation()
|
java.lang.String |
getName()
|
java.lang.String |
getPhone()
|
java.lang.String |
getPicture()
Deprecated. This method will be replaced in Spring 1.1.0 with a new version that returns an object with more details about the picture. |
int |
getTalkingAboutCount()
|
java.lang.String |
getWebsite()
|
boolean |
hasAddedApp()
|
boolean |
isCommunityPage()
|
boolean |
isPublished()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Page(java.lang.String id, java.lang.String name, java.lang.String link, java.lang.String category)
Method Detail |
---|
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getLink()
public java.lang.String getCategory()
public java.lang.String getDescription()
public java.lang.String getAbout()
public Location getLocation()
public java.lang.String getWebsite()
@Deprecated public java.lang.String getPicture()
public CoverPhoto getCover()
public java.lang.String getPhone()
public java.lang.String getAffiliation()
public java.lang.String getCompanyOverview()
@Deprecated public int getFanCount()
public int getLikes()
public int getTalkingAboutCount()
public int getCheckins()
public boolean canPost()
public boolean isPublished()
public boolean isCommunityPage()
public boolean hasAddedApp()
public java.util.Map<java.lang.String,java.lang.String> getHours()
|
Spring Social Facebook | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |