Class FacebookType

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Application.ApplicationContext, AppRequest, Checkin, Comment, Conversation, CopyrightReferenceContainer, CoverPhoto, FundingSourceDetails, IgComment, IgMediaChild, InstagramUser, LiveVideo, Location, Message, Message.Attachment, Milestone, MusicVideoCopyright, NamedFacebookType, Note, Notification, OpenGraphRating, PageAdminNote, PageCallToAction, PageLifeEvent, PageRating, Payment, PlaceTag, Post, PostCallToAction, Review, SavedMessageResponse, SearchPlace.PagesPlatformComponentFlowServiceConfig, StoryAttachment, StoryAttachment.Image, StoryAttachment.Media, StoryAttachment.Target, TestUser, Thread, Translation, Url, Url.OGObject, UserIDForApp, UserIDForPage, VideoCopyright, VideoList, VideoPoll, VideoPoll.VideoPollOption, WhatsAppBusinessAccountToNumberCurrentStatus, WhatsAppNameVerificationRequest, WorkExperience

public class FacebookType
extends AbstractFacebookType
Base class which encapsulates behavior and properties common to most Graph API types.
Since:
1.5
Author:
Mark Allen
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      This object's unique Facebook ID.
      Returns:
      This object's unique Facebook ID.
    • setId

      public void setId​(String id)
      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

      public void setMetadata​(FacebookType.Metadata metadata)
      This object's metadata, available by including the metadata=1 URL parameter in an API request.
    • getType

      public String getType()
    • setType

      public void setType​(String type)