Object

Instagram

The component for adding an Instagram post.

Properties

role
string
(Required)

Always instagram for this component.

URL
uri
(Required)

The URL of the Instagram post you want to embed.

anchor

An object that defines vertical alignment with another component.

animation
*

An object that defines an animation to be applied to the component.

The none value is used for conditional design elements. Adding it here has no effect.

behavior
*

An object that defines behavior for a component, like Parallax or Springy.

The none value is used for conditional design elements. Adding it here has no effect.

conditional
*

An instance or array of component properties that can be applied conditionally, and the conditions that cause them to be applied.

hidden
boolean

A Boolean value that determines whether the component is hidden.

identifier
string

An optional unique identifier for this component. If used, this identifier must be unique across the entire document. You will need an identifier for your component if you want to anchor other components to it.

layout
*

An inline ComponentLayout object that contains layout information, or a string reference to a ComponentLayout object that is defined at the top level of the document.

If layout is not defined, size and position will be based on various factors, such as the device type, the length of the content, and the role of this component.

style
*

An inline ComponentStyle object that defines the appearance of this component, or a string reference to a ComponentStyle object that is defined at the top level of the document.

The none value is used for conditional design elements. Adding it here has no effect.

Discussion

Use the instagram object to include an Instagram post by specifying a URL for the post.

Example

{ "components": [ { "role": "title", "text": "iTunes" }, { "role": "body", "text": "iTunes is the best way to organize and enjoy the music, movies, and TV shows you already have — and shop for the ones you want." }, { "role": "heading2", "text": "Instagram" }, { "role": "instagram", "URL": "https://www.instagram.com/p/BpiRTBYlkY5/" } ]}

Relationships

Inherits From

See Also

Social Media

object FacebookPost

The component for adding a Facebook post.

object Tweet

The component for adding a Tweet that was posted to Twitter.