com.restfb.types
Class Page

java.lang.Object
  extended by com.restfb.types.FacebookType
      extended by com.restfb.types.NamedFacebookType
          extended by com.restfb.types.CategorizedFacebookType
              extended by com.restfb.types.Page
All Implemented Interfaces:
Serializable

public class Page
extends CategorizedFacebookType

Represents the Page Graph API type.

Since:
1.5
Author:
Mark Allen
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
 
Constructor Summary
Page()
           
 
Method Summary
 String getAccessToken()
          The access token specific to this page.
 Integer getCheckins()
          The total number of users who have checked in to the Page.
 String getCompanyOverview()
          Overview of the page's company.
 String getDescription()
          A description of this page.
 Long getFanCount()
          Deprecated. In favor of getLikes().
 String getFounded()
          When the page was founded.
 Boolean getIsCommunityPage()
          Is this a community page?
 Long getLikes()
          The number of likes the page has.
 String getLink()
          The page's link.
 Location getLocation()
          The location of the place this page represents.
 String getMission()
          The page's mission.
 String getPhone()
          The phone number (not always normalized for country code) for the Page.
 String getPicture()
          The page's picture.
 String getProducts()
          The page's products.
 String getUsername()
          The page's username.
 
Methods inherited from class com.restfb.types.CategorizedFacebookType
getCategory
 
Methods inherited from class com.restfb.types.NamedFacebookType
getName
 
Methods inherited from class com.restfb.types.FacebookType
equals, getId, getMetadata, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Page

public Page()
Method Detail

getPicture

public String getPicture()
The page's picture.

Returns:
The page's picture.

getLink

public String getLink()
The page's link.

Returns:
The page's link.

getUsername

public String getUsername()
The page's username.

Returns:
The page's username.

getFounded

public String getFounded()
When the page was founded.

Returns:
When the page was founded.

getCompanyOverview

public String getCompanyOverview()
Overview of the page's company.

Returns:
Overview of the page's company.

getMission

public String getMission()
The page's mission.

Returns:
The page's mission.

getProducts

public String getProducts()
The page's products.

Returns:
The page's products.

getFanCount

public Long getFanCount()
Deprecated. In favor of getLikes().

The number of fans the page has.

Returns:
The number of fans the page has.

getLikes

public Long getLikes()
The number of likes the page has.

Returns:
The number of likes the page has.
Since:
1.6.5

getIsCommunityPage

public Boolean getIsCommunityPage()
Is this a community page?

Returns:
Is this a community page?

getDescription

public String getDescription()
A description of this page.

Returns:
A description of this page.

getCheckins

public Integer getCheckins()
The total number of users who have checked in to the Page.

Returns:
The total number of users who have checked in to the Page.

getPhone

public String getPhone()
The phone number (not always normalized for country code) for the Page.

Returns:
The phone number (not always normalized for country code) for the Page.

getAccessToken

public String getAccessToken()
The access token specific to this page.

This value will only be available for pages if the application accessing this page has been given manage_page permissions.

Returns:
The access token specific to this page.
Since:
1.6.5

getLocation

public Location getLocation()
The location of the place this page represents.

Returns:
The location of the place this page represents.


RestFB 1.6.8. Copyright © 2010-2011 Mark Allen. All Rights Reserved.