DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:facebookwall

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:facebookwall [2015-10-28 14:05] jdtplugin:facebookwall [2019-01-12 15:09] (current) – Added bugtracker LarsDW223
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: FIXME+description: This plugin allows you to get the Contents of your Facebook wall and display it in DokuWiki
 author     : Jannes Drost-Tenfelde  author     : Jannes Drost-Tenfelde 
 email      : info@drost-tenfelde.de email      : info@drost-tenfelde.de
 type       : syntax  type       : syntax 
-lastupdate : 2012-03-27 +lastupdate : 2012-09-29 
-compatible : 2012-01-252011-05-252010-11-07 +compatible : 2016-06-262015-08-102014-09-29, 2014-05-05
 depends    :  depends    : 
 conflicts  conflicts 
Line 13: Line 13:
 tags       : facebook, wall, posts, status, messages, social, network tags       : facebook, wall, posts, status, messages, social, network
  
-downloadurl: https://github.com/jdtProjects/dokuwiki/blob/master/published/plugin_facebookwall_1_2.zip +downloadurl: https://github.com/jdtProjects/dokuwiki/raw/master/published/plugin_facebookwall_1_3.zip 
-bugtracker : +bugtracker : https://github.com/jdtProjects/dokuwiki/issues
 sourcerepo : https://github.com/jdtProjects/dokuwiki/tree/master/facebookwall sourcerepo : https://github.com/jdtProjects/dokuwiki/tree/master/facebookwall
-donationurl: http://www.drost-tenfelde.de/?id=donate+donationurl: http://drost-tenfelde.de/donate 
 + 
 +screenshot_img: 
 ---- ----
  
 This pluging allows you to connect to your Facebook page and display the status messages on your Facebook wall in DokuWiki. This pluging allows you to connect to your Facebook page and display the status messages on your Facebook wall in DokuWiki.
-This plugin uses the [[https://github.com/facebook/php-sdk/|Facebook PHP SDK]], [[http://php.net/|PHP]] and [[https://developers.facebook.com/docs/reference/fql/|FQL]]+ 
 +This plugin uses Facebook Graph API v2.7
  
 ===== Installation ===== ===== Installation =====
  
 :!: **External requirements:** This plugin requires the following additional components that must be installed separately: :!: **External requirements:** This plugin requires the following additional components that must be installed separately:
-  * This plugin uses the [[https://github.com/facebook/php-sdk/|Facebook PHP SDK]], which requires +  * This plugin uses the Facebook Graph API v2.7, which requires 
-    * 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, you must create a [[http://www.facebook.com/login.php|Facebook App]], which allows you to connect to Facebook using+  * Additionally, you must create a [[https://developers.facebook.com/apps/|Facebook App]], which allows you to connect to Facebook using
     * 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 the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Examples/Usage ===== ===== Examples/Usage =====
  
-  * ''%%{{facebookwall>appid=123456&secret=123456&fanpageid=123456}}%%'' ((Displays all status messages on the facebook wall)) +  * Displays all status messages on the facebook wall<code>{{facebookwall>appid=123456&secret=123456&fanpageid=123456}}</code> 
-  * ''%%{{facebookwall>appid=123456&secret=123456&fanpageid=123456&numberOfEntries=3&sort=DESC}}%%'' ((Displays the 3 newest status messages on the facebook wall))+  * Displays the 3 newest status messages on the facebook wall<code>{{facebookwall>appid=123456&secret=123456&fanpageid=123456&numberOfEntries=3&sort=DESC}}</code>
  
-See the plugin in action [[http://www.drost-tenfelde.de/?id=dokuwiki:plugins:facebookwall:demo|here]]. The sample page shows all the styles available with the plugin.+See the plugin in action [[http://www.drost-tenfelde.de/?id=dokuwiki:plugins:facebookwall:demo|here]] FIXME. The sample page shows all the styles available with the plugin.
  
  
Line 49: Line 52:
 ^ value  | the parameter value to set | optional | ^ value  | the parameter value to set | optional |
  
-Multiple key=value parameters can be set using the & as a seperator.+Multiple ''key=value'' parameters can be set using the ''&'' as a seperator.
  
 Available parameters: Available parameters:
  
 ^ Key  ^ Type  ^ Comments  ^ Requirement  ^  Version  ^ ^ Key  ^ Type  ^ Comments  ^ Requirement  ^  Version  ^
-| appid | string | This is the mandatory App ID of your [[https://developers.facebook.com/apps/|Facebook App]] | **mandatory** | all | +| 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://developers.facebook.com/apps/|Facebook App]] | **mandatory** | all |+| 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://www.facebook.com/#!/pages/<page name>/<page ID>%%. Copy the page ID from the URL and use it in the syntax. | **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://www.facebook.com/#!/pages/<page name>/<page ID>%%. Copy the page ID from the URL and use it in the syntax. | **mandatory** | 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 |+| 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 |
 | from | date | This indicates the date from which the wall posts should be displayed. Older wall posts are disregarded. Format is DD/MM/YYYY. The value 'today' is also valid. | optional | all | | from | date | This indicates the date from which the wall posts should be displayed. Older wall posts are disregarded. Format is DD/MM/YYYY. The value 'today' is also valid. | optional | all |
 | 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 'today' is also valid. | optional | all | | 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 'today' is also valid. | optional | all |
 | 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 'ASC' and 'DESC'. | optional | all | +| sort | string | Default: **DESC**\\ Allows you to sort by the date of the wall post. Valid values are ''ASC'' and ''DESC''. | optional | all | 
-| limit | number | Default: **0**Allows you to limit the maximum number of characters displayed for the message. | optional | [[http://www.drost-tenfelde.de/lib/exe/fetch.php?media=dokuwiki:plugin_facebookwall_1_0.zip|Version 1.1]]    +| limit | number | Default: **0**\\ Allows you to limit the maximum number of characters displayed for the message. | optional | Version 1.1 | 
- +
  
 ===== Configuration and Settings ===== ===== Configuration and Settings =====
Line 102: Line 105:
 Once the configuration parameter has been added, you can use it in the plugin syntax: Once the configuration parameter has been added, you can use it in the plugin syntax:
  
-''%%{{facebookwall>appid=123456&secret=123456&fanpageid=123456&showAs=unsortedlist}}%%''+  {{facebookwall>appid=123456&secret=123456&fanpageid=123456&showAs=unsortedlist}}
  
 ===== Template tags ===== ===== Template tags =====
Line 109: Line 112:
  
 ^ Tag  ^ Comments  ^ Version  | ^ Tag  ^ Comments  ^ Version  |
-| ''{date}'' | The date of the wall post. The date format can be configured in the conf/default.php file. | all | +| ''%%{date}%%'' | The date of the wall post. The date format can be configured in the ''conf/default.php'' file. | all | 
-| ''{time}'' | The time of the wall post. The time format can be configured in the conf/default.php file. | all | +| ''%%{time}%%'' | The time of the wall post. The time format can be configured in the ''conf/default.php'' file. | all | 
-| ''{datetime}'' | The date and time of the wall post. This functions as ''{date} {time}'' | all | +| ''%%{datetime}%%'' | The date and time of the wall post. This functions as ''%%{date} {time}%%'' | all | 
-| ''{message}'' | This contains the content of the Facebook wall post. | all | +| ''%%{message}%%'' | This contains the content of the Facebook wall post. | all | 
-| ''{url}'' | The unformated URL of the wall post. You can use this in your template to make your own links to the post. | all | +| ''%%{url}%%'' | The unformated URL of the wall post. You can use this in your template to make your own links to the post. | all | 
-| ''{more}'' | This is a fomated link to the wall post, using the language files to output a ''[[{url}|Read more...]]'' link. | all | +| ''%%{more}%%'' | This is a fomated link to the wall post, using the language files to output a ''%%[[{url}|Read more...]]%%'' link. | all | 
-| ''{attachment}'' | Displays link, photo and video attachments. | [[http://www.drost-tenfelde.de/lib/exe/fetch.php?media=dokuwiki:plugin_facebookwall_1_2.zip|Version 1.2]] |+| ''{attachment}'' | Displays link, photo and video attachments. | [[https://github.com/jdtProjects/dokuwiki/blob/master/published/plugin_facebookwall_1_2.zip|Version 1.2]] |
  
 ===== Development ===== ===== Development =====
Line 121: Line 124:
 === Change Log === === Change Log ===
  
-  * **2012-03-27** [[http://www.drost-tenfelde.de/lib/exe/fetch.php?media=dokuwiki:plugin_facebookwall_1_2.zip|Version 1.2]]+  * **2016-09-29** Version 1.3 released 
 +    * Updated to use Facebook Graph API 2.7 instead of the Facebook PHP SDK. 
 +  * **2012-03-27** Version 1.2 released
     * Added {attachment} tag, which displays link, photo or video attachments.     * Added {attachment} tag, which displays link, photo or video attachments.
-  * **2012-03-26** [[http://www.drost-tenfelde.de/lib/exe/fetch.php?media=dokuwiki:plugin_facebookwall_1_1.zip|Version 1.1]]+  * **2012-03-26** Version 1.1 released
     * Minor bugfixes     * Minor bugfixes
-    * Added 'limit' parameter that allows you to set the maximum number of characters displayed for {message}. +    * Added ''limit'' parameter that allows you to set the maximum number of characters displayed for ''%%{message}%%''
-  * **2012-02-14** [[http://www.drost-tenfelde.de/lib/exe/fetch.php?media=dokuwiki:plugin_facebookwall_1_0.zip|Version 1.0]]+  * **2012-02-14** Version 1.0 released
     * Initial release     * Initial release
  
Line 135: Line 140:
  
 ===== FAQ ===== ===== FAQ =====
- 
- 
-===== Discussion ===== 
- 
-Think plugin doesn't work with latest version of DW. It doesn't show any of my wall posts. 
  
 Thank you for your contributions! Thank you for your contributions!
plugin/facebookwall.1446037540.txt.gz · Last modified: 2015-10-28 14:05 by jdt

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki