I’d already installed the plugin before. I just did rebuild my Discourse and It’s working now Many thanks @vinothkannans
How to edit for expand auto … don’t want user click by manual .
and why some text on my embed are Chinese ??
The plugin had that functionality in ‘0.1’ version. But facebook embeds are dynamic in height. So it had the below known issue with rendering on posts in 0.1. Only to fix the issue I did facebook embeds expandable. Also that’s the reason for facebook and twitter embeds are not available in Discourse core.
Facebook embedding will adjust post height dynamically when it loaded.
If you like to see 0.1 version of code you can find here
in plugin Facebook oEmbed calls are happening from server side. Either your server have or Facebook thinks chinese as your server’s default locale. Anyway I will try to look at the problem when I have time.
This link doesn’t work:
Good news! Now Discourse Onebox gem itself supporting Facebook oneboxes. But there is no differences between photo, video and page oneboxes. If it is possible I will make PR to Onebox repo.
I can place
<iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2Fseen.everything%2Fvideos%2F1221002978004237%2F&show_text=0&width=400" width="400" height="400" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe>
and work or not
It won’t work like that. You may refer this topic for iframes support.
Is this plugin still supported? I’ve installed it, but doesn’t seem to be working?
When I post a facebook link it still shows a very ugly looking summary and not like your example.
Since official onebox gem itself supporting the Facebook embed now I am not going work on this plugin anymore. If I really want to do I will make PR to the original onebox repo.
So they are the ones that choose to make the Onebox look the way it does now? Why would they do that? It looks terrible. Are there any hacks to get it to look how you originally created it?
Either you can change our onebox gem or fix this plugin by creating new PR.