wiki:collective.embedly/facebook

Version 4 (modified by olha, 13 years ago) (diff)

--

How to embed content from Facebook to Plone

Facebook helps you connect and share with the people in your life. url patterns:

Use collective.embedly package to easily embed photos and videos from Facebook to your Plone 4 site. For this:

  1. Go to your site HTML Filtering panel (/@@filter-controlpanel) and remove embed and object tags from the list of Nasty Tags and add them to the list of Custom Tags
  1. Go to the object's edit form, select some text and choose Embedly link style for it

  1. The text should now look like linked. TinyMCE makes the whole passage linked, so keep in mind that the whole passage will later be substituted with embedded media.
  1. Select this text again and go to Insert link to insert the URL to the desired object on Facebook, e.g. http://www.facebook.com/photo.php?fbid=452214767286

In the same way let's add a link for some other paragraph to a video on Facebook, e.g. http://www.facebook.com/video/video.php?v=1598555857571

  1. Save this page. Now when rendered, there will be "preview" from embed.ly service inserted instead of the linked text:

Attachments (5)

Download all attachments as: .zip