Version 7 (modified by olha, 14 years ago) (diff) |
---|
How to embed content from Facebook to Plone
Use collective.embedly package to easily embed content (photos and videos) from Facebook to your Plone 4 site.
Embedly service provides such URl patterns for adding content, so this can be any photo or video, stored on Facebook, that you might ad to Plone.
http://www.facebook.com/photo.php* http://www.facebook.com/video/video.php* http://www.facebook.com/v/*
To embed facebook content to Plone:
- Go to your site HTML Filtering panel (/@@filter-controlpanel) and remove object tag from the list of Nasty Tags and add it to the list of Custom Tags
- Go to the object's edit form, select some text and choose Embedly link style for it
- 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.
- 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
- Save this page. Now when rendered, there will be "preview" from embed.ly service inserted instead of the linked text. The first one is a photo, the second one - is video from Facebook.:
Attachments (5)
- facebook.jpg (141.1 KB) - added by olha 14 years ago.
- facebook-add.png (61.3 KB) - added by olha 14 years ago.
- style.png (140.2 KB) - added by naomin 12 years ago.
- embed-facebook.png (18.5 KB) - added by sorenabell 10 years ago.
-
embed-facebook1.png
(29.1 KB) -
added by sorenabell 10 years ago.
embed-facebook.png
Download all attachments as: .zip