---
title: TikTok
framework: applenewsformat
role: symbol
role_heading: Object
path: applenewsformat/tiktok
---

# TikTok

The component for adding a TikTok post.

## Declaration

```data
object TikTok
```

## Properties

role: Always tiktok for this component. URL: The URL of the TikTok post you want to embed. Apple News supports the following URL format for TikTok: https://www.tiktok.com/{userId}/video/{videoId} anchor: An object that defines vertical alignment with another component. animation: An object that defines an animation you apply to the component. Use the none value for conditional design elements. Adding it here has no effect. behavior: An object that defines behavior for a component, like Parallax or Springy. Use the none value for conditional design elements. Adding it here has no effect. conditional: An instance or array of component properties that you can apply conditionally, and the conditions that cause Apple News Format to apply them. hidden: A Boolean value that determines whether the component is hidden. identifier: An optional unique identifier for this component. If you use identifier, it must be unique across the entire document. You 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 you define at the top level of the document. If you don’t define layout, size and position are 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 you define at the top level of the document. Use the none value for conditional design elements. Adding it here has no effect.

## Discussion

Discussion Use the tiktok object to include a TikTok post by specifying a URL for the post. note: You can use the TiktTok object in ANF version 1.7 and later. {   "components": [     {       "role": "tiktok",       "URL": "https://www.tiktok.com/@applemusic/video/6564018881122276367"     }   ] } .

## Relationships

### Inherits From

- [Component](applenewsformat/component.md)

## See Also

### Social Media

- [Instagram](applenewsformat/instagram.md)
- [FacebookPost](applenewsformat/facebookpost.md)
- [Tweet](applenewsformat/tweet.md)
