Facebook Video Support in Onebox?

I know the concept of facebook integration into Obox has been brought up before, but the world of video hosting has changed a little since that discussion, so I wanted to raise this very specific question:

With Facebook Video becoming a heavy hitter in the content hosting world, is there any way we can get facebook video support in Obox?

The counter points to facebook integration in the past discussions were

  • Most content is behind a login wall - this isn’t actually true anymore. (For example: Dima Koslowski - THE "ZOMBIE APOCALYPSE TRUCK" -> Dima...)

  • Too many types of content (i.e. pages, posts, pictures, video): While I ultimately think all types should probably be supported, the only thing I actually care about here is the video hosting.

Is this easily feasible?


Wow, I can’t believe this. I just wanted to post here asking if Facebook video embeds can be supported by Discourse and I see your topic exactly at the same time. What a coincidence!

I would like this feature too.

1 Like

Still true. I pressed “embed video” link and I got a login wall. There’s no standard video URL here to work with on that page.

I also like how this video is completely ripped off from Mythbusters and reposted with zero attribution, and an overlay from this “Dima Koslowski” person. :middle_finger:


I also like how this video is completely ripped off from Mythbusters and reposted with zero attribution, and an overlay from this “Dima Koslowski” person. :middle_finger:

Ug. The irony here is even greater - While writing that post, I was having a discussion about how bad Facebook video content is getting for piracy/freebooting, and was using that link as an example. The link I meant to paste into this post was from Tasty(Buzzfeed), which brings in over 2 billion views each month on it’s facebook exclusive content.

The ironic part is that this is a perfect example of why the embedded video link would be so useful, as I would have caught that I pasted the wrong link.

The stats coming out from the media world right now show the exclusive content developers on Facebook (like Buzzfeed, Unilad, the LAD Bible) are surpassing youtube numbers and blowing broadcast channels away. Of course, these are all fuzzy apples and bananas stats, but to me it’s worth raising the importance of media integration, as opposed to dismissing it outright.

Still true. I pressed “embed video” link and I got a login wall. There’s no standard video URL here to work with on that page.

@codinghorror So, given the above importance of media integration from FB, i want to poke a little further for clarity (and please forgive my naivety). If I understand you correctly, even though I’m able to view the video without logging in, the act of integrating into the Obox for previewing requires access to the embed code, which Facebook doesn’t allow unsecured access to. Is that correct? Are there any other ways around this?

Thanks for your patience and support.

1 Like

Technically this is doable same as we do the amazon oneboxes, amazon provide zero help with embedding in this department.

  • As Facebook muck around with HTML we would need to keep updating the onebox
  • It is unclear if we are even permitted to onebox this stuff

If Facebook are keen to have this type of content onebox-able, why don’t they make it easy? Is there a Facebook dev forum somewhere you could ask for advice and Facebook’s position on this?


Facebook does provide embed code for publicly share content. Including videos, images and posts.

For example, the post @keith1 shared has this embed code for the video.

<iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2Fdima.koslowski%2Fvideos%2Fvb.557079631068239%2F879922095450656%2F%3Ftype%3D3&show_text=0&width=560" width="560" height="315" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe>

and this code for the post itself.

<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fdima.koslowski%2Fvideos%2F879922095450656%2F&width=500" width="500" height="616" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>

Duplicate of this topic:

1 Like

It’s not quite a duplicate- that post was targeting all potential Facebook embeds, and meandered across a few too many subjects and solutions that don’t work. I was trying to start a more targeted discussion with this post.

What is the status of this topic? Facebook provides an URL for sharing that is publicly available, example:


@codinghorror - works for me.

Yes, I know the jank is horrible and I’m using embedly cards… :slight_smile:


Ok I’m confused… How is that supposed to work, I just paste my URL on its own line? It just displays the URL in the post :-/

Edit. Ok I see I don’t have Onebox installed. I was looking for “Obox” because of this thread title!

Is there an easy doc on how to install onebox?

Good point, updated the topic title.

You mean for your own Ruby application? If yes, see: https://github.com/discourse/onebox#usage

1 Like

No I meant for Discourse. Does it come out of the box?

I feel very embarrassed, I’m usually pretty good with these stuff but I have no clue what I’m supposed to do :smiley: I installed a stock Discourse running in a container, and I would like people to be able to embed facebook videos, all I see is the link to the video when I paste it on a new post.

All right, I found the Onebox section, do I need to add domains here? I added https://www.facebook.com/ but doesn’t get any embedded videos still

Anyone? I feel like I’m missing something obvious :-/

There is no support to embebeding Facebook video atm.

You can read sam and Jeff positions above.


Yeah I saw the answers and I thought it was old as I don’t see any login wall when going on an embed video location, there is, though, an overlay that presents the video Terry White - Lightroom Mobile for iOS 2.4 Update - RAW Support! | Facebook