← Back to team overview

mahara-contributors team mailing list archive

[Bug 1194853] Re: OpenGraph (Facebook preview) tags for the images shown on a Page

 

** Changed in: mahara
    Milestone: 15.10.0 => 16.04.0

** Changed in: mahara
   Importance: Medium => Wishlist

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1194853

Title:
  OpenGraph (Facebook preview) tags for the images shown on a Page

Status in Mahara:
  Triaged

Bug description:
  While trying to share my own delightful endless loop of a kākā at a
  feeding station with a Facebook friend, I realized that Mahara doesn't
  provide the OpenGraph tags necessary for Facebook to show the images
  on a Page in its preview.

  So, we should add those.

  The most important page to do this on is the main Page display,
  /view/view.php . It would also make sense to do it on
  /artefact/view.php (for image artefacts), and possibly on the Profile
  page, and any other pages that can be publicly accessible which I may
  have forgotten (perhaps the Site home page for logged-out users?)

  Probably the cleanest way to do this is to add a function to the
  artefact API (and/or the block API?), which asks each one whether it
  wants to post any OpenGraph tags. It would also make sense for the
  Images to use their "preview" image (the one you see on
  artefact/view.php) rather than the image itself.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1194853/+subscriptions


References