Having trouble displaying embedded facebook news feed

Hi all,

I’m trying to set up a Facebook feed for one of my screens using Facebook’s official ‘Page Plugin’. I have created an embedded region within a layout for the code that Facebook supplies. After setting all this up the feed appeared to be working as I could see it within my preview console: (http://i.imgur.com/7gmL6lh.jpg).

However I scheduled the layout to find that the feed doesn’t run: (http://i.imgur.com/XDVsCle.jpg) and only the text ‘BBC News’ is being displayed.

I have already edited the registry so that Xibo uses IE 11 to run content so not really sure where to go from here.

Any advise would be great.

Thanks,
Sam

Is this on 64 bit Windows? If so, did you definitely make the registry change in the correct location?

Hi @alex

Nope 32 bit, I have twitter feeds working that only ran after changing the registry so I’m pretty sure I did it correctly :confused:

Sam

In the Player library should be some html files, one of which will be the embedded HTML region. Does it work if you open it in Internet Explorer on the Player?

I’m not quite sure if this is what you’re asking for but here’s a screenshot after I navigated to the player library and tried to open the html file within internet explorer: http://i.imgur.com/PsWHCPm.jpg

Sorry if I’ve interpreted this wrong.

No that looks correct - so you see the same output in Internet Explorer as in Xibo.

So it seems the Facebook embed code doesn’t work in IE as you expect it to. So either their code is buggy, or there’s some bad interaction going on.

You might get something from IE’s built in script debugging to point you in the right direction. Alternatively, I’m guessing Facebook’s embed code is just an iframe?

If so, try taking the URL of the iframe and use the Xibo Webpage media type instead with that URL in Native Mode opening.

Thanks for your suggestions.

IE’s debugger tool wasn’t complaining about anything - weird.

Facebook’s embed code uses div statements (which unfortunately means your last suggestion wouldn’t work) - this is how I have it setup within my layout: http://i.imgur.com/EFjTKp8.jpg

Maybe this part is wrong?

Just seems strange that the feed works in the layout console and when I preview the layout but not in the player :confounded:

Thanks again

In that case it could be something like IE security settings not allowing the page (hosted locally) to run active content? There’s a setting for that in IE.

Just to update this topic, I’ve got the exact same problem.
The thing is : when I open the html file from the library in Firefox, it shows exactly the same as in IE (an hypertext link instead of the whole Like Box plugin)
So, I asusme it shouldn’t be an issue from IE but more with this HTML file, no ?

The OP never replied, but my guess is it’s cross site scripting protections preventing the code from running on a locally hosted webpage. IE has settings to get around that so that’s where I’d be looking.

per risolvere il problema sul player di xibo bisogna aggiungere un piccolo script per riconoscere Javascript SDK quindi nella sezione script aggiungere il seguente codice:

<div id="fb-root"></div> <script async defer crossorigin="anonymous" src="https://connect.facebook.net/it_IT/sdk.js#xfbml=1&version=v3.3">