Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-4015

Investigate: Not able to embed Facebook pages or groups

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Should have Should have
    • None
    • 4
    • Block: Social Media, Gutenberg

      Currently is not possible to embed a facebook page in the P4 social media block nor in the Gutenberg native FB embed block. When testing with a page like " https://www.facebook.com/thieverycorporation/" only the URL is posted

      -------------- Description of old ticket -----------------------

      Problem

      This is a follow up from PLANET-3977.

      We use a hardcoded iframe for embedding Facebook pages. We use 500px height in these iframes, which is fine in most cases, but can leave a big empty space when the content is short (eg. event tab with no future events).

      Solution

      Due to Cross-Origin security settings (on Facebook's side) we can't detect content height and adjust the iframe. Facebook provides a more standard way of embedding pages, which auto-adapts to content. The caveat is that it requires a Facebook script.

       

       

      Tasks

      • Investigate if there is a workaround to embed groups in P4 pages/posts

            Unassigned Unassigned
            nroussos Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: