Package com.restfb.types
Class FacebookType
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Application.ApplicationContext
,AppRequest
,Checkin
,Comment
,Conversation
,CopyrightReferenceContainer
,CoverPhoto
,ExtendedCredit
,FundingSourceDetails
,IgComment
,IgContainer
,IgMediaChild
,LiveVideo
,Location
,Message
,Message.Attachment
,Message.StoryMention
,Message.StoryReply
,Milestone
,MusicVideoCopyright
,NamedFacebookType
,Note
,Notification
,OpenGraphRating
,PageAdminNote
,PageCallToAction
,PageLifeEvent
,PageRating
,Payment
,PlaceTag
,Post
,PostCallToAction
,Review
,RTBDynamicPost
,SavedMessageResponse
,SearchPlace.PagesPlatformComponentFlowServiceConfig
,StoryAttachment
,StoryAttachment.Image
,StoryAttachment.Media
,StoryAttachment.Target
,TdMedia
,TdReply
,TestUser
,Thread
,Translation
,Url
,Url.OGObject
,UserIDForApp
,UserIDForPage
,VideoCopyright
,VideoList
,VideoPoll
,VideoPoll.VideoPollOption
,WhatsAppBusinessAccountToNumberCurrentStatus
,WhatsAppNameVerificationRequest
Base class which encapsulates behavior and properties common to most
Graph API types.
- Since:
- 1.5
- Author:
- Mark Allen
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents Facebook Object metadata, available by including themetadata=1
URL parameter in an API request. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
This object's unique Facebook ID.getType()
void
This object's unique Facebook ID.void
setMetadata
(FacebookType.Metadata metadata) This object's metadata, available by including themetadata=1
URL parameter in an API request.void
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
FacebookType
public FacebookType()
-
-
Method Details
-
getId
This object's unique Facebook ID.- Returns:
- This object's unique Facebook ID.
-
setId
This object's unique Facebook ID. -
getMetadata
- Returns:
- This object's metadata, available by including the
metadata=1
URL parameter in an API request.
-
setMetadata
This object's metadata, available by including themetadata=1
URL parameter in an API request. -
getType
-
setType
-