plugin:facebookalbum
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:facebookalbum [2015-10-28 14:23] – jdt | plugin:facebookalbum [2019-01-12 15:09] (current) – Added bugtracker LarsDW223 | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : info@drost-tenfelde.de | email : info@drost-tenfelde.de | ||
Line 11: | Line 11: | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : facebook, photo, album, picture, gallery, fb | + | tags : facebook, photo, album, picture, gallery |
- | downloadurl: | + | downloadurl: |
- | bugtracker : | + | bugtracker : https:// |
sourcerepo : https:// | sourcerepo : https:// | ||
- | donationurl: | + | donationurl: |
+ | |||
+ | screenshot_img: | ||
---- | ---- | ||
This pluging allows you to connect to your Facebook page and display the page's photo albums in DokuWiki. | This pluging allows you to connect to your Facebook page and display the page's photo albums in DokuWiki. | ||
- | This plugin uses the [[https:// | + | This plugin uses the [[https:// |
===== Installation ===== | ===== Installation ===== | ||
:!: **External requirements: | :!: **External requirements: | ||
- | * This plugin uses the [[https:// | + | * this plugin uses the [[https:// |
- | * The CURL PHP extension to be installed | + | * the CURL PHP extension to be installed |
- | * The JSON PHP extension to be installed | + | * the JSON PHP extension to be installed |
* Additionally, | * Additionally, | ||
* App ID, which identifies your Facebook App (you can have multiple Apps) | * App ID, which identifies your Facebook App (you can have multiple Apps) | ||
* App Secret, which secures your Facebook App | * App Secret, which secures your Facebook App | ||
- | Install | + | Search and install |
===== Examples/ | ===== Examples/ | ||
- | * '' | + | * Displays the photoalbum of the fanpage. The appid, secret and fanpageid must be defined in the Configuration< |
- | * '' | + | * Displays all photo albums of the fanpage< |
- | See the plugin in action [[http:// | + | See the plugin in action [[http:// |
===== Syntax ===== | ===== Syntax ===== | ||
Line 52: | Line 54: | ||
Available parameters: | Available parameters: | ||
- | ^ Key ^ Type ^ Comments | + | ^ Key |
- | | appid | string | This is the mandatory App ID of your [[https:// | + | | '' |
- | | secret | string | This is the mandatory App Secret of your [[https:// | + | | '' |
- | | fanpageid | string | This is the ID of your Facebook page. You can find this ID by going to your Facebook page. Typically, the link of your page looks like %%https:// | + | | '' |
- | | order | string | Default: | + | | '' |
- | | ignore | string | Default: | + | | '' |
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
- | ^ Key ^ Type ^ Comments | + | ^ Key |
- | | appid | string | This is the mandatory App ID of your [[https:// | + | | '' |
- | | secret | string | This is the mandatory App Secret of your [[https:// | + | | '' |
- | | fanpageid | string | This is the ID of your Facebook page. You can find this ID by going to your Facebook page. Typically, the link of your page looks like %%https:// | + | | '' |
- | | order | string | See [[#Syntax]] parameters. If the syntax parameter is not set, the configuration parameter will be used instead. | optional | all | | + | | '' |
- | | ignore | string | See [[#Syntax]] parameters. If the syntax parameter is not set, the configuration parameter will be used instead. | optional | all | | + | | '' |
- | | album_template | string | This parameter allows you to configure the representation of your facebook photo albums. You can use DokuWiki syntax and use the template tags described in [[#Display_templates]] to fill in specific album information. | **mandatory** | all | + | | '' |
- | | picture_template | string | This parameter allows you to configure the representation of your facebook pictures. You can use DokuWiki syntax and use the template tags described in [[#Display_templates]] to fill in specific album information. | **mandatory** | all | + | | '' |
===== Display templates ===== | ===== Display templates ===== | ||
- | The configuration parameters ' | + | The configuration parameters |
===== Template tags ===== | ===== Template tags ===== | ||
- | ^ Tag ^ Template | + | ^ Tag |
- | | {name} | album_template | The album name | all | | + | | '' |
- | | {url} | album_template | This holds the generated URL that opens up the pictures of the album. | all | | + | | '' |
- | | {image_url} | album_template\\ picture_template | For album_template, | + | | '' |
- | | {caption} | picture_template | This holds the caption of the picture | all | | + | | '' |
- | | {album_name} | picture_template | This holds the album name of the picture | all | | + | | '' |
- | | {image_small_url | picture_template | This is the URL of a resized version of the picture. This is generated by Facebook. | all | | + | | '' |
- | | {image_large_url} | picture_template | This is the URL of the original picture. | all | | + | | '' |
===== Development ===== | ===== Development ===== | ||
Line 89: | Line 91: | ||
=== Change Log === | === Change Log === | ||
- | * **2012-04-13** | + | * **2012-04-13** |
* Initial release | * Initial release | ||
plugin/facebookalbum.1446038598.txt.gz · Last modified: 2015-10-28 14:23 by jdt