Unfurling TikTok with the OpenGraph.io API

Justin Furniss

March 18, 2021

1 min read

Blue Yarn Unraveling

OpenGraph.io now fully supports previewing TikTok links. Leave the scraping to our service, which scrapes the link you provide and returns a simple JSON response to display on your application.

Tiktok screenshot preview.

Using Opengraph to preview a TikTok link is super easy. Make a request to our API and provide any TikTok link, in the example we have a link from Saturday Night Live’s account.

URL: https://www.tiktok.com/@nbcsnl/video/6908788226417249542?sender_device=pc&sender_web_id=6935392555064575493&is_from_webapp=v3&is_copy_url=0

Our API will respond with the following JSON for you to utilize in your app:

Tiktok OpenGraph.io screen shot.

Displaying this content (along with any other link you find on the Internet) is also simple using our customizable OpenGraph.io React component.  The resulting output is shown below:

Tiktok OpenGraph.io React Component Preview.

If you don't already have an account, create a free account to test it out and join the thousands of people that leave the scraping to us! Our simple API provides clear documentation to and amazing support. Thanks for checking us out!

Back to the Blog