javascript 如何将 facebook 群组(非常规页面)嵌入到 wordpress 的 iframe 中?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/32480215/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to embed a facebook group (Not a regular page) into iframe on wordpress?
提问by Jonathon Quick
Okay there are similar questions on here about embedding a facebook pages which is easily done through the use of facebook's official plugin
好的,这里有关于嵌入 facebook 页面的类似问题,这可以通过使用facebook 的官方插件轻松完成
However, when you put the URL of a group instead of a page it comes up with an error saying it's an invalid URL.
但是,当您放置一个组的 URL 而不是页面时,它会出现一个错误,指出它是一个无效的 URL。
I basically wanna do the same thing as this plugin but instead of a page I want to be able to share groups on my site and maybe events as well. Hopefully facebook will add this functionality into their plugin but until then I need some help from you guys :)
我基本上想做与这个插件相同的事情,但我希望能够在我的网站上共享群组以及事件,而不是页面。希望 facebook 会将此功能添加到他们的插件中,但在那之前我需要你们的帮助:)
I'm sure it must be possible
我确定这一定是可能的
回答by Vayelle
There's a couple of great plugins for this. One is called "Feed Them Social", and it does everything you're asking for. There's a free and paid version, and they support FB groups. You can search for it in the "Add Plugin" option page in Wordpress.
有几个很棒的插件可以做到这一点。一种叫做“ Feed Them Social”,它可以满足您的所有要求。有免费和付费版本,它们支持 FB 组。您可以在 Wordpress 的“添加插件”选项页面中搜索它。
Option two is the one I have installed in one of my sites, called "Custom Facebook Feed", by Smash Balloon. Again, you can search for it on the "Add Plugin" page of your site. This one is free and works great, and it even displays your group's header and FB faces!
选项二是我在我的网站之一中安装的选项,由 Smash Balloon称为“自定义 Facebook Feed”。同样,您可以在您网站的“添加插件”页面上搜索它。这个是免费的,效果很好,它甚至可以显示您小组的标题和 FB 面孔!