Embedding Facebook iFrame into posts - Posted (1722 Views)
Average Member
Webbo
Posts: 982
982
Is it possible to create a button that when clicked allows a user to embed Facebook video iframe code and display it?
A typical embed code is:
Code:
<iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2Funiladmag%2Fvideos%2F2260410123982034%2F&show_text=0&width=560" width="560" height="315" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe>
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Advanced Member
Carefree
Posts: 4224
4224
Yes, but it's dangerous to allow. A malicious site could easily be embedded which would then infect every user who viewed it.
Posted
Average Member
Webbo
Posts: 982
982
Ah okay, I'll give it a miss then, thanks smile
Posted
Average Member
Maxime
Posts: 521
521
It is possible to install the mod you find on

http://www.snitzbitz.com/mods/details.asp?Version=All&mid=302
Cordially,
Maxime

Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
Originally posted by Maxime
It is possible to install the mod you find on

http://www.snitzbitz.com/mods/details.asp?Version=All&mid=302
That's going the other direction - sharing from the forum to Facebook.
It sounds like Webbo's looking for something like the video MOD that would allow embedding a Facebook video in a post in a manner similar to one of the MODs that allows you to embed a YouTube video.
Depending on how it's done, it might not be as bad a security risk. Don't hear what I'm not saying - that also doesn't mean it isn't without risk.
Posted
Senior Member
bobby131313
Posts: 1163
1163
Iframes are dangerous no matter what. As soon as one spammer realizes they are allowed you'll be overrun with spam and cookie stuffers.
 
You Must enter a message