Class BaseOEmbed

java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.oembed.BaseOEmbed
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OEmbedPage, OEmbedPost, OEmbedVideo

public abstract class BaseOEmbed extends AbstractFacebookType
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getHtml

      public String getHtml()
      The HTML used to display the page.
    • setHtml

      public void setHtml(String html)
      The HTML used to display the page.
    • getHeight

      public Long getHeight()
      The height in pixels required to display the HTML.
    • setHeight

      public void setHeight(Long height)
      The height in pixels required to display the HTML.
    • getWidth

      public Long getWidth()
      The width in pixels required to display the HTML.
    • setWidth

      public void setWidth(Long width)
      The width in pixels required to display the HTML.
    • getProviderName

      Name of the provider (Facebook)
    • setProviderName

      public void setProviderName(String providerName)
      Name of the provider (Facebook)
    • getProviderUrl

      URL of the provider (Facebook)
    • setProviderUrl

      public void setProviderUrl(String providerUrl)
      URL of the provider (Facebook)
    • getType

      public String getType()
      The oEmbed resource type. See https://oembed.com/.
    • setType

      public void setType(String type)
      The oEmbed resource type. See https://oembed.com/.
    • getVersion

      public String getVersion()
      Always 1.0. See https://oembed.com/
    • setVersion

      public void setVersion(String version)
      Always 1.0. See https://oembed.com/