How to embed Tik Tok or Instagram posts (not feed)

Working on a project for Social media management agency and I wanted to embed several posts both from Tik Tok and Instagram showcasing their work from different clients.

I am well familiar with https://elfsight.com/, but there you can embed only feeds. Technically I could do a single post per widget, but that would get pricey since we wanted to showcase multiple different accounts.

The native embed options from Tik Tok and Instagram are literal nightmare. With weird white space and borders etc. I know I could “fake the feed” as well, but that is not super great for client. Any ideas??? I am really getting fed up with this.

Have you tried using Webflow’s video element?
It uses Embedly as the underlying infrastructure, which can handle sources other than video, e.g. a Twitter tweet.

I believe it supports both Tiktok and Instagram URLs but the trick will be getting exactly the right supported URL, you may have to do some experimenting and research.

haven’t though about it, I will try to play with it and see, but isn’t it going to be exact same issue since the embed is iframe?

The embed will always be an iframe, because the player UX and content are being delivered from another server, and under their control.

In general you can manipulate some aspects of the outer iframe element itself with custom CSS and even JS, but not the contents when they’re coming from another site.

I mean I don’t need much. Instagram actually has bit of CSS written in the embed itself, but I tried to tweak it with code and to no avail.

There is so many issues with that, and I also found out even if we would purchase elfsight it won’t cover our use case.

Embedding TikTok or Instagram posts can be a bit tricky sometimes, especially when you want to customize them with CSS. I’ve had similar experiences where tweaking the code didn’t quite work out as expected. It seems like there are limitations, even with third-party solutions like elfsight. Maybe exploring different social media services for embedding could offer some new options to explore!