# Facebook Video Support in Onebox?

**URL:** https://meta.discourse.org/t/facebook-video-support-in-onebox/42972
**Category:** Feature
**Created:** [4월 22, 2016, 6:18오전 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972 "2016-04-22T06:18:36Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![keith1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keith1/32/178982_2.png) [@keith1](https://meta.discourse.org/u/keith1)
#### Post date: [4월 22, 2016, 6:18오전 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/1 "2016-04-22T06:18:36Z")

</div>

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: [74K views · 185K shares | THE "ZOMBIE APOCALYPSE TRUCK" -\> Dima Koslowski | Dima Koslowski](https://www.facebook.com/dima.koslowski/videos/879922095450656/))

- _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?

---

<div class="post-metadata">

### Author: ![envieme](https://avatars.discourse-cdn.com/v4/letter/e/da6949/32.png) [@envieme](https://meta.discourse.org/u/envieme)
#### Post date: [4월 22, 2016, 6:32오전 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/2 "2016-04-22T06:32:21Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [4월 22, 2016, 9:50오전 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/3 "2016-04-22T09:50:38Z")

</div>

> [@keith1](#):
>
> Most content is behind a login wall - this isn’t actually true anymore

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. 🖕

---

<div class="post-metadata">

### Author: ![keith1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keith1/32/178982_2.png) [@keith1](https://meta.discourse.org/u/keith1)
#### Post date: [4월 22, 2016, 6:16오후 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/4 "2016-04-22T18:16:52Z")

</div>

> 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. 🖕

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.

> **[371K views · 77 reactions | Broccoli Tots

FULL RECIPE: http://bzfd.it/21B0NEx...](https://www.facebook.com/video.php?v=1728672854052023)**
>
> Broccoli Tots
> 
> FULL RECIPE: http://bzfd.it/21B0NEx

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.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [4월 26, 2016, 5:05오전 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/5 "2016-04-26T05:05:31Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![envieme](https://avatars.discourse-cdn.com/v4/letter/e/da6949/32.png) [@envieme](https://meta.discourse.org/u/envieme)
#### Post date: [4월 26, 2016, 2:21오후 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/6 "2016-04-26T14:21:22Z")

</div>

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>`

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [4월 26, 2016, 3:03오후 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/7 "2016-04-26T15:03:37Z")

</div>

Duplicate of this topic:  
[https://meta.discourse.org/t/facebook-onebox/8261](https://meta.discourse.org/t/facebook-onebox/8261)

---

<div class="post-metadata">

### Author: ![keith1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keith1/32/178982_2.png) [@keith1](https://meta.discourse.org/u/keith1)
#### Post date: [4월 26, 2016, 4:04오후 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/8 "2016-04-26T16:04:39Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ybizeul](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ybizeul/32/121648_2.png) [@ybizeul](https://meta.discourse.org/u/ybizeul)
#### Post date: [7월 13, 2016, 11:14오후 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/9 "2016-07-13T23:14:32Z")

</div>

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

`https://www.facebook.com/terrywhitefans/videos/10153763060507532/`

---

<div class="post-metadata">

### Author: ![shri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shri/32/197750_2.png) [@shri](https://meta.discourse.org/u/shri)
#### Post date: [7월 14, 2016, 12:44오전 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/10 "2016-07-14T00:44:14Z")

</div>

@codinghorror - works for me.

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

[https://newsfora.com/t/onebox-disabled-through-app-sed/19/9?u=editor](https://newsfora.com/t/onebox-disabled-through-app-sed/19/9?u=editor)

---

<div class="post-metadata">

### Author: ![ybizeul](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ybizeul/32/121648_2.png) [@ybizeul](https://meta.discourse.org/u/ybizeul)
#### Post date: [7월 14, 2016, 3:53오전 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/11 "2016-07-14T03:53:20Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [7월 14, 2016, 4:08오전 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/12 "2016-07-14T04:08:01Z")

</div>

> [@ybizeul](#):
>
> I was looking for “Obox” because of this thread title!

Good point, updated the topic title.

> [@ybizeul](#):
>
> Is there an easy doc on how to install onebox?

You mean for your own Ruby application? If yes, see: [GitHub - discourse/onebox: (DEPRECATED) A gem for turning URLs into website previews · GitHub](https://github.com/discourse/onebox#usage)

---

<div class="post-metadata">

### Author: ![ybizeul](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ybizeul/32/121648_2.png) [@ybizeul](https://meta.discourse.org/u/ybizeul)
#### Post date: [7월 14, 2016, 10:32오전 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/13 "2016-07-14T10:32:29Z")

</div>

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 😃 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.

---

<div class="post-metadata">

### Author: ![ybizeul](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ybizeul/32/121648_2.png) [@ybizeul](https://meta.discourse.org/u/ybizeul)
#### Post date: [7월 14, 2016, 10:40오전 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/14 "2016-07-14T10:40:15Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ybizeul](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ybizeul/32/121648_2.png) [@ybizeul](https://meta.discourse.org/u/ybizeul)
#### Post date: [7월 18, 2016, 12:28오후 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/15 "2016-07-18T12:28:21Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [7월 18, 2016, 1:35오후 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/16 "2016-07-18T13:35:04Z")

</div>

There is no support to embebeding Facebook video atm.

You can read sam and Jeff positions above.

---

<div class="post-metadata">

### Author: ![ybizeul](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ybizeul/32/121648_2.png) [@ybizeul](https://meta.discourse.org/u/ybizeul)
#### Post date: [7월 18, 2016, 10:02오후 UTC](https://meta.discourse.org/t/facebook-video-support-in-onebox/42972/17 "2016-07-18T22:02:20Z")

</div>

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 [1.7K views · 66 reactions | Now You CAN Import RAW Files into #Lightroom Mobile on #iOS ! See this, NEW Local Adjustments and other NEW features in today's update. | Terry White](https://www.facebook.com/terrywhitefans/videos/10153763060507532/)
