-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any chance we can get this fixed ? #9
Comments
@KJThaDon It’s been quite a while and Facebook has changed a ton so it have require starting from scratch, however, I might not be opposed to trying. What’s your use case right now? |
I am looking to have a permanent embed on a website front page. If there is a live stream going from a specific FB page, display it, if not maybe display an offline image or past broadcasts below it. The most important thing right now for me is to be able to have it pull the feed without having to change the embed code every new stream. I appreciate the response! Been a headache trying to find a way to do this, when I feel like it should be a default embed option from FB. Thank you |
It doesn’t display any offline message, however, the following seems to display currently live video for the page and the most recently live otherwise. <!-- For https://www.facebook.com/Fb.gameover.here/ -->
<iframe
src="https://www.facebook.com/plugins/video.php?href=https://www.facebook.com/Fb.gameover.here/live"
frameborder="0"
scrolling="no"
allowfullscreen="true"
height="1000px"
width="100%"
>
</iframe> Here’s a demo you can try out Looks like it’s not documented by facebook but I found it here: |
wow, I can't tell you how hard I've looked for a simple code like that lol Thank you, I can work with this! |
However, for some reason when testing it with other pages doesn't seem to be working. Just tried a handful and I am just getting. "Video Unavailable |
Can you provide the code sample or page you're trying to use? |
Example: Live right now
Default Facebook embed code (working fine on same stream) |
It looks like it breaks when the URL redirects for a not-logged-in device.
You may be able to fix this for your particular Facebook Page if you can figure out how |
Ok, I think I may see why now. It looks like the page I posted vs the one you did, does not have the "live" tab showing (when accessed from a non logged in browser) in their Facebook page settings. https://www.facebook.com/TheTrueHitman/ In my case, this shouldn't be an issue since I can edit the page I am looking to embed. If anyone needs to know where to show the live tab, you can do so here https://www.facebook.com/YOURPAGENAME/settings/?tab=edit_page I'll have to test it for sure once we are live again, but thank you for the help! |
I may be able to write a script that can solve this automatically. If I do, I'll update this repo with the script and a method for using it. |
I appreciate that very much! |
Any chance we can get this fixed ?
The text was updated successfully, but these errors were encountered: