Installed the module and it works fine for at least Twitter and Instagram.
But the Facebook tag is not generating the proper content.
For example:
[facebook]https://www.facebook.com/username/posts/postnumber[/facebook]
gets translated into:
<div class="fb-post" data-href="https://www.facebook.com/username/posts/postnumber"></div>
without any detailed content within the div.
As mentioned above, the other shortcodes are working fine.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | facebook_shortcode_not-2817547-4.patch | 1.11 KB | liampower |
Comments
Comment #2
Carlos Miranda Levy commentedComment #3
liampower commentedHi Carlos,
Thank you for creating this issue. I am aware of Facebook embeds not currently working. The reason for this is the Facebook JS is currently not included as I've not had time to look in to the best way of importing it yet, in 7 this was done through hook_page_build.
The Javascript needed is:
Comment #4
liampower commentedIt would appear Facebook added support for oEmbed so I have made a patch to update to using this instead.
Comment #5
liampower commentedI'm going to commit patch #4 and so I can release 8.x-1.0-beta1
Comment #7
liampower commentedReleased. Patch to be ported to the Drupal 7 version as it is a nicer implementation.
Comment #9
liampower commentedBackported to 7.x