plugin:facebookevents
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:facebookevents [2014-03-20 14:04] – Aleksandr | plugin:facebookevents [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 | ||
type : syntax | type : syntax | ||
- | lastupdate : 2012-03-26 | + | lastupdate : 2016-09-29 |
- | compatible : 2012-01-25, 2011-05-25, 2010-11-07 | + | compatible : 2016-06-26, 2015-08-10, 2014-09-29, 2014-05-05 |
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
tags : facebook, events, calendar | tags : facebook, events, calendar | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : | + | bugtracker : https:// |
- | sourcerepo : | + | sourcerepo : https:// |
- | donationurl: | + | donationurl: |
+ | |||
+ | screenshot_img: | ||
---- | ---- | ||
This pluging allows you to connect to your Facebook page and display the page's events in DokuWiki. | This pluging allows you to connect to your Facebook page and display the page's events in DokuWiki. | ||
- | This plugin uses the [[https:// | + | |
+ | The latest Version has been updated to use Facebook' | ||
===== Installation ===== | ===== Installation ===== | ||
- | :!: **External requirements: | + | |
- | * This plugin uses the [[https:// | + | |
- | * The CURL PHP extension to be installed | + | |
- | * The JSON PHP extension to be installed | + | |
- | * 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 all status messages on the facebook wall< |
- | * '' | + | * Displays |
- | * '' | + | * Displays the 3 events after today< |
- | + | ||
- | See the plugin in action [[http:// | + | |
+ | See the plugin in action [[http:// | ||
===== Syntax ===== | ===== Syntax ===== | ||
Line 55: | Line 54: | ||
^ Key ^ Type ^ Comments | ^ Key ^ Type ^ Comments | ||
- | | appid | string | This is the mandatory App ID of your [[https:// | + | | appid | string | This is the mandatory App ID of your Facebook App | **mandatory** | all | |
- | | secret | string | This is the mandatory App Secret of your [[https:// | + | | secret | string | This is the mandatory App Secret of your Facebook App | **mandatory** | all | |
| 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:// | | 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:// | ||
| showAs | string | Default: **default**. Allows you to use alternate display of the wall posts using configuration parameters. You can add more templates by editing the default.php and metadata.php files in the conf/ directory. | optional | all | | | showAs | string | Default: **default**. Allows you to use alternate display of the wall posts using configuration parameters. You can add more templates by editing the default.php and metadata.php files in the conf/ directory. | optional | all | | ||
Line 62: | Line 61: | ||
| to | date | This indicates the date to which the wall posts should be displayed. Newer wall posts are disregarded. Format is DD/MM/YYYY. The value ' | | to | date | This indicates the date to which the wall posts should be displayed. Newer wall posts are disregarded. Format is DD/MM/YYYY. The value ' | ||
| numberOfEntries | number | Indicates the maximum number of entries to display. | optional | all | | | numberOfEntries | number | Indicates the maximum number of entries to display. | optional | all | | ||
- | | sort | string | Default: **DESC**. Allows you to sort by the date of the wall post. Valid values are ' | + | | sort | string | Default: **DESC**\\ Allows you to sort by the date of the wall post. Valid values are ''ASC'' and ''DESC''. | optional | all | |
- | | showEndTimes | onoff | Default: **on**. Allows you to display end times of the event. | optional | all | | + | | showEndTimes | onoff | Default: **on**\\ Allows you to display end times of the event. | optional | all | |
- | | limit | number | Default: **0**. Allows you to limit the maximum number of characters displayed for the message. | optional | + | | limit | number | Default: **0**\\ Allows you to limit the maximum number of characters displayed for the message. | optional | Version 1.1 or newer | |
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
Line 71: | Line 70: | ||
| dformat | | dformat | ||
| tformat | | tformat | ||
- | | default | string | Default template for displaying wall posts. | required | all | | + | | default |
Line 109: | Line 108: | ||
^ Tag ^ Comments | ^ Tag ^ Comments | ||
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
===== Development ===== | ===== Development ===== | ||
Line 133: | Line 132: | ||
=== Change Log === | === Change Log === | ||
- | * **2012-03-26** [[http:// | + | * **2016-09-29** Version 1.2 released. |
+ | * Updated to use Facebook Graph API 2.7 instead of the Facebook PHP SDK. | ||
+ | * **2012-03-26** | ||
* Fixed timezone problem, where the times would sometimes not be displayed properly. | * Fixed timezone problem, where the times would sometimes not be displayed properly. | ||
* Added ' | * Added ' | ||
- | * Added template tags {startdatetime}, | + | * Added template tags {startdatetime}, |
- | * **2012-02-14** | + | * **2012-02-14** Version 1.0 released. |
* Initial release | * Initial release | ||
Line 158: | Line 159: | ||
==== How to create a Facebook App ==== | ==== How to create a Facebook App ==== | ||
I was wondering where I might find information on what is needed for creating the Facebook App for this plug-in. | I was wondering where I might find information on what is needed for creating the Facebook App for this plug-in. | ||
- | |||
- | Error I'm receiving: | ||
- | |||
- | (Note: Redacted the < | ||
- | |||
- | Fatal error: Uncaught Exception: 602: < | ||
- | |||
- | --- // | ||
==== Not just Pages? ==== | ==== Not just Pages? ==== | ||
Line 173: | Line 166: | ||
--- [[user> | --- [[user> | ||
- | ==== External Requirements ==== | ||
- | |||
- | It appears that the current version of the plugin comes with the Facebook PHP SDK; does the documentation under " | ||
- | |||
- | --- [[user> | ||
- | |||
- | ==== No dates/times ==== | ||
- | |||
- | I've just installed this, and it appears to be getting the event currently on my page fine, but for some reason has nothing in any of the date/time entries. The only one that has any output is {datetime}, which produces a single " | ||
- | |||
- | --- [[user> | ||
- | |||
- | figured out, it must be a php version problem (maybe 5.3+). I fixed it with some tweaks in " | ||
- | | ||
- | with some kind of | ||
- | | ||
- | |||
- | Note: it must not be %d but d only for the date-fields (and so on) | ||
- | --- MKrischer // |
plugin/facebookevents.1395320651.txt.gz · Last modified: 2014-03-20 14:04 by Aleksandr