s9e Media Sites

s9e Media Sites 2.15.0

No permission to download
There hasn't been any changes related to Facebook in the last few months. If you see this error message it means your browser or your computer is blocking Facebook. Either an adblocker or some kind of privacy extension. Firefox, Opera, and a few other browsers have those built in.
I just checked my phone and it happens in chrome and safari also and another user on Android reported it. Is there a post with a Facebook embed that's working?
 
Embedded Facebook posts work fine on my Firefox 88 with tracking prevention disabled but there's an issue on a vanilla Chrome 92. No JavaScript errors but Facebook's own reporting indicates they're having some kind of issue. That's with their default embed code, so I assume that a large chunk of the population is affected and I'm surprised it even got published in the first place. I'll keep an eye on it but as far as I can tell that's something they'll have to fix on their end.
Code:
Error: Module FB has not been defined
    at j (https://connect.facebook.net/en_US/sdk.js?hash=3e744d8e8a7515f1edec88675af949e9&ua=modern_es6:24:295)
    at k (https://connect.facebook.net/en_US/sdk.js?hash=3e744d8e8a7515f1edec88675af949e9&ua=modern_es6:24:977)
    at Object.<anonymous> (https://connect.facebook.net/en_US/sdk.js?hash=3e744d8e8a7515f1edec88675af949e9&ua=modern_es6:47:61)
    at j (https://connect.facebook.net/en_US/sdk.js?hash=3e744d8e8a7515f1edec88675af949e9&ua=modern_es6:24:793)
    at k (https://connect.facebook.net/en_US/sdk.js?hash=3e744d8e8a7515f1edec88675af949e9&ua=modern_es6:24:977)
    at Object.n [as __d] (https://connect.facebook.net/en_US/sdk.js?hash=3e744d8e8a7515f1edec88675af949e9&ua=modern_es6:24:1294)
    at Object.<anonymous> (https://connect.facebook.net/en_US/sdk.js?hash=3e744d8e8a7515f1edec88675af949e9&ua=modern_es6:47:1)
    at https://connect.facebook.net/en_US/sdk.js?hash=3e744d8e8a7515f1edec88675af949e9&ua=modern_es6:186:452
    at https://connect.facebook.net/en_US/sdk.js?hash=3e744d8e8a7515f1edec88675af949e9&ua=modern_es6:186:46

I don't know why it works on my Firefox. The only difference I see is that Firefox doesn't have the Google FLOC / cohort thing.
 
There is an issue with Facebook post post-embed throwing an error : Cannot load Facebook SDK. Disable any ad blocker or tracking protection and try again.
 
@JoshyPHP, thanks for this great add-on.

Probably, rel="nofollow" should be added to the links in the pop-up window.

This could prevent possible Google link juice flow to sites if XenForo guest posting / writing before registering is enabled.

For example, from:

HTML:
<a href="https://abcnews.go.com/" target="_blank">ABC News</a>

to:

HTML:
<a href="https://abcnews.go.com/" target="_blank" rel="nofollow">ABC News</a>
 
Last edited:
Hey @JoshyPHP I don't know if this is a problem with the addon or my forum but my Facebook embeds look like this:

iZkNl1N.png
 
It's probably a JavaScript error. If you send me the URL (on your site) that displays that video, I'll take a look at it.

Thanks for taking a look (y)
 
Based on your image I thought a JavaScript error prevented the embed from being dimensioned properly but as it turns out, that's not the case. That post is meant to look that way by Facebook.

If you want to embed the video alone without its accompanying post, you can post the video's canonical URL https://www.facebook.com/watch/?v=1168696423603340 but the standalone player too shows black bars on the sides. I think Facebook's player tries to use the same aspect ratio as a mobile screen even when it's viewed in a desktop browser. I'll check out Facebook's docs later in case there's a new setting to control that behaviour but I don't expect much.
 
Based on your image I thought a JavaScript error prevented the embed from being dimensioned properly but as it turns out, that's not the case. That post is meant to look that way by Facebook.

If you want to embed the video alone without its accompanying post, you can post the video's canonical URL https://www.facebook.com/watch/?v=1168696423603340 but the standalone player too shows black bars on the sides. I think Facebook's player tries to use the same aspect ratio as a mobile screen even when it's viewed in a desktop browser. I'll check out Facebook's docs later in case there's a new setting to control that behaviour but I don't expect much.
Thanks for taking a look, The Facebook embedding worked fine before I updated to XF2.2 the other day.

The canonical video will work fine for me though, what is the easiest way to get the canonical URL from a video in a Facebook post?
 
I don't know, I got this one by clicking the "Share" button in the top right. Apparently, the comment bubble at the bottom provides a similar URL too.
 
Based on your image I thought a JavaScript error prevented the embed from being dimensioned properly but as it turns out, that's not the case. That post is meant to look that way by Facebook.

If you want to embed the video alone without its accompanying post, you can post the video's canonical URL https://www.facebook.com/watch/?v=1168696423603340 but the standalone player too shows black bars on the sides. I think Facebook's player tries to use the same aspect ratio as a mobile screen even when it's viewed in a desktop browser. I'll check out Facebook's docs later in case there's a new setting to control that behaviour but I don't expect much.
Any joy with this?
 
Emdedding from vk.com works only for video, not for posts.
Most posts from this social looks like https://vk.com/wall-61700645_22120 and share code for this post looks like:
Code:
<div id="vk_post_-61700645_22120"></div>
<script type="text/javascript" src="https://vk.com/js/api/openapi.js?169"></script>
<script type="text/javascript">
  (function() {
    VK.Widgets.Post("vk_post_-61700645_22120", -61700645, 22120, 'o6EyZZtXyv6_0Nh-klqI3CjkCA');
  }());
</script>
 
Top Bottom