Recent Facebook Posts - Version 2.0.4

Version Description

  • February 19, 2015 =

Fixes

  • Issue where settings page would just load an empty screen. (Issue #6)

Improvements

  • Updated all links to use HTTPS protocol.
Download this release

Release Info

Developer DvanKooten
Plugin Icon wp plugin Recent Facebook Posts
Version 2.0.4
Comparing to
See all releases

Code changes from version 2.0.3 to 2.0.4

README.md CHANGED
@@ -22,7 +22,7 @@ If you find an issue, [let us know here](https://github.com/dannyvankooten/wordp
22
  Support
23
  -------
24
  This is a developer's portal for the Recent Facebook Posts plugin and should not be used for support. Please visit the
25
- [plugin support forums on WordPress.org](http://wordpress.org/support/plugin/recent-facebook-posts).
26
 
27
  Contributions
28
  -------------
@@ -31,4 +31,4 @@ Anyone is welcome to contribute to the plugin. There are various ways you can co
31
  * [Raise an issue](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/issues) on GitHub.
32
  * Send us a Pull Request with your bug fixes and/or new features.
33
  * Provide feedback and [suggestions on enhancements](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/issues?direction=desc&labels=Enhancement&page=1&sort=created&state=open).
34
- * Translate the plugin into your language. You can [download the latest .pot file here](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/blob/master/languages/recent-facebook-posts.pot).
22
  Support
23
  -------
24
  This is a developer's portal for the Recent Facebook Posts plugin and should not be used for support. Please visit the
25
+ [plugin support forums on WordPress.org](https://wordpress.org/support/plugin/recent-facebook-posts).
26
 
27
  Contributions
28
  -------------
31
  * [Raise an issue](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/issues) on GitHub.
32
  * Send us a Pull Request with your bug fixes and/or new features.
33
  * Provide feedback and [suggestions on enhancements](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/issues?direction=desc&labels=Enhancement&page=1&sort=created&state=open).
34
+ * Translate the plugin into your language. You can [download the latest .pot file here](https://raw.githubusercontent.com/dannyvankooten/wordpress-recent-facebook-posts/master/languages/recent-facebook-posts.pot).
includes/class-admin.php CHANGED
@@ -6,10 +6,17 @@ if( ! defined( 'RFBP_VERSION' ) ) {
6
 
7
  class RFBP_Admin {
8
 
 
 
 
9
  private $cache_cleared = false;
10
 
 
 
 
11
  public function __construct() {
12
 
 
13
  add_action( 'admin_init', array( $this, 'register_settings' ) );
14
  add_action( 'admin_menu', array( $this, 'build_menu' ) );
15
 
@@ -21,7 +28,6 @@ class RFBP_Admin {
21
  add_action( 'admin_enqueue_scripts', array( $this, 'load_css' ) );
22
  }
23
 
24
- add_action( 'init', array( $this, 'on_init' ) );
25
  }
26
 
27
  public function on_init() {
@@ -50,7 +56,7 @@ class RFBP_Admin {
50
 
51
  // Only run if code is newer than stored DB version
52
  $db_version = get_option( 'rfbp_version', 0 );
53
- if( version_compare( RFBP_VERSION, $db_version, '>=' ) ) {
54
  return;
55
  }
56
 
@@ -160,13 +166,18 @@ class RFBP_Admin {
160
  * @return array The new array containing all the settings links
161
  */
162
  public function add_settings_link( $links ) {
163
- $settings_link = '<a href="options-general.php?page=rfbp">'. __('Settings', 'recent-facebook-posts') . '</a>';
164
  array_unshift( $links, $settings_link );
165
  return $links;
166
  }
167
 
168
  /**
169
  * Ping the Facebook API for a quick test
 
 
 
 
 
170
  */
171
  public function test_facebook_api( $app_id = '', $app_secret = '', $page_id = '' )
172
  {
@@ -193,5 +204,7 @@ class RFBP_Admin {
193
  } else {
194
  add_settings_error('rfbp', 'rfbp-api-error', __('The following error was encountered when testing your configuration.', 'recent-facebook-posts' ) . '<br /><br />' . $api->get_error_message() );
195
  }
 
 
196
  }
197
  }
6
 
7
  class RFBP_Admin {
8
 
9
+ /**
10
+ * @var bool
11
+ */
12
  private $cache_cleared = false;
13
 
14
+ /**
15
+ * Constructor
16
+ */
17
  public function __construct() {
18
 
19
+ add_action( 'init', array( $this, 'on_init' ) );
20
  add_action( 'admin_init', array( $this, 'register_settings' ) );
21
  add_action( 'admin_menu', array( $this, 'build_menu' ) );
22
 
28
  add_action( 'admin_enqueue_scripts', array( $this, 'load_css' ) );
29
  }
30
 
 
31
  }
32
 
33
  public function on_init() {
56
 
57
  // Only run if code is newer than stored DB version
58
  $db_version = get_option( 'rfbp_version', 0 );
59
+ if( version_compare( $db_version, RFBP_VERSION, '>=' ) ) {
60
  return;
61
  }
62
 
166
  * @return array The new array containing all the settings links
167
  */
168
  public function add_settings_link( $links ) {
169
+ $settings_link = '<a href="options-general.php?page=rfbp">'. __( 'Settings', 'recent-facebook-posts' ) . '</a>';
170
  array_unshift( $links, $settings_link );
171
  return $links;
172
  }
173
 
174
  /**
175
  * Ping the Facebook API for a quick test
176
+ *
177
+ * @param string $app_id
178
+ * @param string $app_secret
179
+ * @param string $page_id
180
+ * @return bool
181
  */
182
  public function test_facebook_api( $app_id = '', $app_secret = '', $page_id = '' )
183
  {
204
  } else {
205
  add_settings_error('rfbp', 'rfbp-api-error', __('The following error was encountered when testing your configuration.', 'recent-facebook-posts' ) . '<br /><br />' . $api->get_error_message() );
206
  }
207
+
208
+ return $ping;
209
  }
210
  }
includes/class-api.php CHANGED
@@ -138,7 +138,7 @@ class RFBP_API {
138
  }
139
 
140
  $post['timestamp'] = strtotime( $p->created_time );
141
- $post['url'] = "http://www.facebook.com/". $this->fb_id . "/posts/" . $idArray[1];
142
 
143
  // add to posts array
144
  $posts[] = $post;
138
  }
139
 
140
  $post['timestamp'] = strtotime( $p->created_time );
141
+ $post['url'] = "https://www.facebook.com/". $this->fb_id . "/posts/" . $idArray[1];
142
 
143
  // add to posts array
144
  $posts[] = $post;
includes/class-public.php CHANGED
@@ -110,7 +110,7 @@ class RFBP_Public {
110
 
111
  ob_start();
112
  ?>
113
- <!-- Recent Facebook Posts v<?php echo RFBP_VERSION; ?> - http://wordpress.org/plugins/recent-facebook-posts/ -->
114
  <div class="recent-facebook-posts rfbp rfbp-container rfbp-<?php echo $atts['origin']; ?>">
115
  <?php
116
 
@@ -209,7 +209,7 @@ class RFBP_Public {
209
  } ?>
210
 
211
  <?php if ( $atts['show_page_link'] ) { ?>
212
- <p class="rfbp-page-link-wrap"><a class="rfbp-page-link" href="<?php echo esc_url( 'http://www.facebook.com/' . $opts['fb_id'] . '/' ); ?>" rel="external nofollow" target="<?php echo esc_attr( $link_target ); ?>"><?php echo esc_html( $opts['page_link_text'] ); ?></a></p>
213
  <?php } ?>
214
 
215
  </div>
110
 
111
  ob_start();
112
  ?>
113
+ <!-- Recent Facebook Posts v<?php echo RFBP_VERSION; ?> - https://wordpress.org/plugins/recent-facebook-posts/ -->
114
  <div class="recent-facebook-posts rfbp rfbp-container rfbp-<?php echo $atts['origin']; ?>">
115
  <?php
116
 
209
  } ?>
210
 
211
  <?php if ( $atts['show_page_link'] ) { ?>
212
+ <p class="rfbp-page-link-wrap"><a class="rfbp-page-link" href="<?php echo esc_url( 'https://www.facebook.com/' . $opts['fb_id'] . '/' ); ?>" rel="external nofollow" target="<?php echo esc_attr( $link_target ); ?>"><?php echo esc_html( $opts['page_link_text'] ); ?></a></p>
213
  <?php } ?>
214
 
215
  </div>
includes/class-widget.php CHANGED
@@ -92,12 +92,12 @@ class RFBP_Widget extends WP_Widget {
92
 
93
  $instance = array_merge( $this->defaults, $instance );
94
 
95
- // allow developer to filter the widget title
96
- $title = apply_filters( 'widget_title', $instance['title'] );
97
-
98
  // allow developers to filter ALL widget options
99
  $instance = apply_filters( 'rfbp_widget_options', $instance );
100
 
 
 
 
101
  echo $args['before_widget'];
102
 
103
  if ( ! empty( $title ) ) {
92
 
93
  $instance = array_merge( $this->defaults, $instance );
94
 
 
 
 
95
  // allow developers to filter ALL widget options
96
  $instance = apply_filters( 'rfbp_widget_options', $instance );
97
 
98
+ // allow developer to filter the widget title
99
+ $title = apply_filters( 'widget_title', $instance['title'] );
100
+
101
  echo $args['before_widget'];
102
 
103
  if ( ! empty( $title ) ) {
includes/functions/global.php CHANGED
@@ -10,9 +10,10 @@ if( ! defined( 'RFBP_VERSION' ) ) {
10
  * @return array
11
  */
12
  function rfbp_get_settings() {
13
- static $settings;
14
 
15
- if ( ! $settings ) {
 
 
16
 
17
  $defaults = array(
18
  'app_id' => '',
@@ -28,12 +29,6 @@ function rfbp_get_settings() {
28
 
29
  // get user options
30
  $options = get_option( 'rfb_settings', array() );
31
-
32
- // options did not exist yet, add option to database
33
- if ( ! is_array( $options ) || count( $options ) === 0 ) {
34
- add_option( 'rfb_settings', $defaults );
35
- }
36
-
37
  $settings = array_merge( $defaults, $options );
38
  }
39
 
10
  * @return array
11
  */
12
  function rfbp_get_settings() {
 
13
 
14
+ static $settings = null;
15
+
16
+ if ( is_null( $settings ) ) {
17
 
18
  $defaults = array(
19
  'app_id' => '',
29
 
30
  // get user options
31
  $options = get_option( 'rfb_settings', array() );
 
 
 
 
 
 
32
  $settings = array_merge( $defaults, $options );
33
  }
34
 
includes/views/settings_page.html.php CHANGED
@@ -27,7 +27,7 @@
27
  <?php _e('Please fill in the Facebook Settings fields after creating your application.', 'recent-facebook-posts'); ?>
28
  </p>
29
  <p>
30
- <?php printf(__('Not sure how to proceed? Please take a close look at the <a href="%s">installation instructions</a>.', 'recent-facebook-posts'), 'http://wordpress.org/plugins/recent-facebook-posts/installation/' ); ?>
31
  </p>
32
  </div>
33
  <?php } ?>
@@ -155,17 +155,17 @@
155
 
156
  <p><?php _e( 'Some other ways to support this plugin', 'recent-facebook-posts' ); ?></p>
157
  <ul class="ul-square">
158
- <li><a href="http://wordpress.org/support/view/plugin-reviews/recent-facebook-posts?rate=5#postform" target="_blank"><?php printf( __( 'Leave a %s review on WordPress.org', 'recent-facebook-posts' ), '&#9733;&#9733;&#9733;&#9733;&#9733;' ); ?></a></li>
159
- <li><a href="http://dannyvankooten.com/wordpress-plugins/recent-facebook-posts/" target="_blank"><?php _e( 'Write about the plugin from your blog.', 'recent-facebook-posts' ); ?></a></li>
160
- <li><a href="http://twitter.com/?status=I%20show%20recent%20facebook%20posts%20on%20my%20%23WordPress%20site%20using%20Recent%20Facebook%20Posts%20by%20%40DannyvanKooten%20-%20love%20it!%20http%3A%2F%2Fwordpress.org%2Fplugins%2Frecent-facebook-posts%2F" target="_blank"><?php _e( 'Tweet about Recent Facebook Posts', 'recent-facebook-posts' ); ?></a></li>
161
- <li><a href="http://wordpress.org/plugins/recent-facebook-posts/#compatibility"><?php _e( 'Vote "works" on the WordPress.org plugin page', 'recent-facebook-posts' ); ?></a></li>
162
  </ul>
163
  </div>
164
 
165
  <div class="rfbp-box">
166
  <h3 class="rfbp-title"><?php _e( 'Looking for support?', 'recent-facebook-posts' ); ?></h3>
167
- <p><?php printf( __( 'Please use the <a href="%s">plugin support forums</a> on WordPress.org.', 'recent-facebook-posts' ), 'http://wordpress.org/support/plugin/recent-facebook-posts' ); ?></p>
168
- <p><?php printf( __( 'Take a close look at the <a href="%s">installation instructions</a> for help configuring the plugin and registering your own Facebook application, which is required to get this plugin to work.', 'recent-facebook-posts' ), 'http://wordpress.org/plugins/recent-facebook-posts/installation/' ); ?></p>
169
  </div>
170
 
171
  <div class="rfbp-box">
27
  <?php _e('Please fill in the Facebook Settings fields after creating your application.', 'recent-facebook-posts'); ?>
28
  </p>
29
  <p>
30
+ <?php printf(__('Not sure how to proceed? Please take a close look at the <a href="%s">installation instructions</a>.', 'recent-facebook-posts'), 'https://wordpress.org/plugins/recent-facebook-posts/installation/' ); ?>
31
  </p>
32
  </div>
33
  <?php } ?>
155
 
156
  <p><?php _e( 'Some other ways to support this plugin', 'recent-facebook-posts' ); ?></p>
157
  <ul class="ul-square">
158
+ <li><a href="https://wordpress.org/support/view/plugin-reviews/recent-facebook-posts?rate=5#postform" target="_blank"><?php printf( __( 'Leave a %s review on WordPress.org', 'recent-facebook-posts' ), '&#9733;&#9733;&#9733;&#9733;&#9733;' ); ?></a></li>
159
+ <li><a href="https://dannyvankooten.com/wordpress-plugins/recent-facebook-posts/" target="_blank"><?php _e( 'Write about the plugin from your blog.', 'recent-facebook-posts' ); ?></a></li>
160
+ <li><a href="https://twitter.com/?status=I%20show%20recent%20facebook%20posts%20on%20my%20%23WordPress%20site%20using%20Recent%20Facebook%20Posts%20by%20%40DannyvanKooten%20-%20love%20it!%20http%3A%2F%2Fwordpress.org%2Fplugins%2Frecent-facebook-posts%2F" target="_blank"><?php _e( 'Tweet about Recent Facebook Posts', 'recent-facebook-posts' ); ?></a></li>
161
+ <li><a href="https://wordpress.org/plugins/recent-facebook-posts/#compatibility"><?php _e( 'Vote "works" on the WordPress.org plugin page', 'recent-facebook-posts' ); ?></a></li>
162
  </ul>
163
  </div>
164
 
165
  <div class="rfbp-box">
166
  <h3 class="rfbp-title"><?php _e( 'Looking for support?', 'recent-facebook-posts' ); ?></h3>
167
+ <p><?php printf( __( 'Please use the <a href="%s">plugin support forums</a> on WordPress.org.', 'recent-facebook-posts' ), 'https://wordpress.org/support/plugin/recent-facebook-posts' ); ?></p>
168
+ <p><?php printf( __( 'Take a close look at the <a href="%s">installation instructions</a> for help configuring the plugin and registering your own Facebook application, which is required to get this plugin to work.', 'recent-facebook-posts' ), 'https://wordpress.org/plugins/recent-facebook-posts/installation/' ); ?></p>
169
  </div>
170
 
171
  <div class="rfbp-box">
languages/recent-facebook-posts.pot CHANGED
@@ -1,15 +1,15 @@
1
- # Copyright (C) 2014 Danny van Kooten
2
  # This file is distributed under the GPL3 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Recent Facebook Posts 2.0.3\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/recent-facebook-posts\n"
8
- "POT-Creation-Date: 2014-09-22 11:26:55+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: Danny van Kooten <hi@dannyvankooten.com>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "X-Generator: grunt-wp-i18n 0.4.4\n"
@@ -25,19 +25,19 @@ msgstr ""
25
  "X-Poedit-SearchPath-0: .\n"
26
  "X-Textdomain-Support: yes\n"
27
 
28
- #: includes/class-admin.php:150
29
  msgid "<strong>Cache cleared!</strong> You succesfully cleared the cache."
30
  msgstr ""
31
 
32
- #: includes/class-admin.php:163
33
  msgid "Settings"
34
  msgstr ""
35
 
36
- #: includes/class-admin.php:192
37
  msgid "Your configuration seems to be okay and working. Nice work!."
38
  msgstr ""
39
 
40
- #: includes/class-admin.php:194
41
  msgid "The following error was encountered when testing your configuration."
42
  msgstr ""
43
 
@@ -113,7 +113,7 @@ msgstr ""
113
  msgid "Show link previews?"
114
  msgstr ""
115
 
116
- #: includes/functions/global.php:22 includes/views/settings_page.html.php:69
117
  msgid "Find us on Facebook"
118
  msgstr ""
119
 
@@ -342,7 +342,7 @@ msgid "Other Useful plugins"
342
  msgstr ""
343
 
344
  #. Plugin URI of the plugin/theme
345
- msgid "http://dannyvankooten.com/wordpress-plugins/recent-facebook-posts/"
346
  msgstr ""
347
 
348
  #. Description of the plugin/theme
@@ -354,5 +354,5 @@ msgid "Danny van Kooten"
354
  msgstr ""
355
 
356
  #. Author URI of the plugin/theme
357
- msgid "http://dannyvankooten.com/"
358
  msgstr ""
1
+ # Copyright (C) 2015 Danny van Kooten
2
  # This file is distributed under the GPL3 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Recent Facebook Posts 2.0.4\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/recent-facebook-posts\n"
8
+ "POT-Creation-Date: 2015-02-19 05:46:22+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: Danny van Kooten <hi@dannyvankooten.com>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "X-Generator: grunt-wp-i18n 0.4.4\n"
25
  "X-Poedit-SearchPath-0: .\n"
26
  "X-Textdomain-Support: yes\n"
27
 
28
+ #: includes/class-admin.php:156
29
  msgid "<strong>Cache cleared!</strong> You succesfully cleared the cache."
30
  msgstr ""
31
 
32
+ #: includes/class-admin.php:169
33
  msgid "Settings"
34
  msgstr ""
35
 
36
+ #: includes/class-admin.php:203
37
  msgid "Your configuration seems to be okay and working. Nice work!."
38
  msgstr ""
39
 
40
+ #: includes/class-admin.php:205
41
  msgid "The following error was encountered when testing your configuration."
42
  msgstr ""
43
 
113
  msgid "Show link previews?"
114
  msgstr ""
115
 
116
+ #: includes/functions/global.php:23 includes/views/settings_page.html.php:69
117
  msgid "Find us on Facebook"
118
  msgstr ""
119
 
342
  msgstr ""
343
 
344
  #. Plugin URI of the plugin/theme
345
+ msgid "https://dannyvankooten.com/donate/"
346
  msgstr ""
347
 
348
  #. Description of the plugin/theme
354
  msgstr ""
355
 
356
  #. Author URI of the plugin/theme
357
+ msgid "https://dannyvankooten.com/"
358
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://dannyvankooten.com/donate/
4
  Tags: facebook,posts,fanpage,recent posts,fb,like box alternative,widget,facebook widget,widgets,facebook updates,like button,fb posts
5
  Requires at least: 3.5
6
  Tested up to: 4.1.1
7
- Stable tag: 2.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -41,14 +41,14 @@ If you have [created your own language pack](http://codex.wordpress.org/Translat
41
  **Other Links**
42
 
43
  * [Contribute to the Recent Facebook Posts plugin on GitHub](https://github.com/dannyvankooten/wordpress-recent-facebook-posts)
44
- * Using MailChimp to send out email newsletters? You should [try MailChimp for WordPress](http://wordpress.org/plugins/mailchimp-for-wp/).
45
- * Check out more [WordPress plugins](http://dannyvankooten.com/wordpress-plugins/) by the same author
46
- * Follow [@DannyvanKooten](http://twitter.com/DannyvanKooten) on Twitter.
47
 
48
  == Installation ==
49
 
50
  = Installing the plugin =
51
- 1. [Download the latest version of the plugin](http://downloads.wordpress.org/plugin/recent-facebook-posts.zip)
52
  1. Upload the contents of the downloaded .zip-file to your WordPress plugin directory
53
  1. Activate the plugin through the 'Plugins' menu in WordPress
54
 
@@ -66,18 +66,18 @@ This plugin requires a Facebook application to fetch posts from Facebook.
66
  1. Add `[recent_facebook_posts]` to the page where you would like to show a list of recent Facebook posts or use the widget.
67
 
68
  = Extra notes =
69
- * Take a look at the [screenshots](http://wordpress.org/extend/plugins/recent-facebook-posts/screenshots/), they will tell you which values from Facebook you need.
70
  * The plugin works with personal profiles, but only to a certain extend. I am not actively supporting personal profiles because of many privacy settings related issues.
71
 
72
- Ran into an error? Have a look at the [FAQ](http://wordpress.org/plugins/recent-facebook-posts/faq/) for solutions to common problems or [open an issue on GitHub](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/issues).
73
 
74
  == Frequently Asked Questions ==
75
 
76
  = What does Recent Facebook Posts do? =
77
- With this plugin you can show a list of the most recent Facebook posts of a public page. You can display these posts in pages, posts and widget areas by using a shortcode or widget. Have a look at my [own WordPress website](http://dannyvankooten.com/) for an example, I have a widget with my latest Facebook update in my footer.
78
 
79
  = How to configure this plugin? =
80
- You need to create a Facebook application for this plugin to work. Have a **close** look at the [installation instructions](http://wordpress.org/plugins/recent-facebook-posts/installation/).
81
 
82
  = No posts are showing.. =
83
  The plugin is only able to fetch posts from **public** pages with posts which are publicly available. Check your page its privacy settings and make sure you are using a page instead of a personal profile or group.
@@ -152,6 +152,16 @@ add_filter('rfbp_cache_time', 'my_rfbp_cache_time');
152
 
153
  == Changelog ==
154
 
 
 
 
 
 
 
 
 
 
 
155
  = 2.0.3 - September 22, 2014 =
156
 
157
  **Improvements**
4
  Tags: facebook,posts,fanpage,recent posts,fb,like box alternative,widget,facebook widget,widgets,facebook updates,like button,fb posts
5
  Requires at least: 3.5
6
  Tested up to: 4.1.1
7
+ Stable tag: 2.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
41
  **Other Links**
42
 
43
  * [Contribute to the Recent Facebook Posts plugin on GitHub](https://github.com/dannyvankooten/wordpress-recent-facebook-posts)
44
+ * Using MailChimp to send out email newsletters? You should [try MailChimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/).
45
+ * Check out more [WordPress plugins](https://dannyvankooten.com/wordpress-plugins/) by the same author
46
+ * Follow [@DannyvanKooten](https://twitter.com/DannyvanKooten) on Twitter.
47
 
48
  == Installation ==
49
 
50
  = Installing the plugin =
51
+ 1. [Download the latest version of the plugin](https://downloads.wordpress.org/plugin/recent-facebook-posts.zip)
52
  1. Upload the contents of the downloaded .zip-file to your WordPress plugin directory
53
  1. Activate the plugin through the 'Plugins' menu in WordPress
54
 
66
  1. Add `[recent_facebook_posts]` to the page where you would like to show a list of recent Facebook posts or use the widget.
67
 
68
  = Extra notes =
69
+ * Take a look at the [screenshots](https://wordpress.org/extend/plugins/recent-facebook-posts/screenshots/), they will tell you which values from Facebook you need.
70
  * The plugin works with personal profiles, but only to a certain extend. I am not actively supporting personal profiles because of many privacy settings related issues.
71
 
72
+ Ran into an error? Have a look at the [FAQ](https://wordpress.org/plugins/recent-facebook-posts/faq/) for solutions to common problems or [open an issue on GitHub](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/issues).
73
 
74
  == Frequently Asked Questions ==
75
 
76
  = What does Recent Facebook Posts do? =
77
+ With this plugin you can show a list of the most recent Facebook posts of a public page. You can display these posts in pages, posts and widget areas by using a shortcode or widget. Have a look at my [own WordPress website](https://dannyvankooten.com/) for an example, I have a widget with my latest Facebook update in my footer.
78
 
79
  = How to configure this plugin? =
80
+ You need to create a Facebook application for this plugin to work. Have a **close** look at the [installation instructions](https://wordpress.org/plugins/recent-facebook-posts/installation/).
81
 
82
  = No posts are showing.. =
83
  The plugin is only able to fetch posts from **public** pages with posts which are publicly available. Check your page its privacy settings and make sure you are using a page instead of a personal profile or group.
152
 
153
  == Changelog ==
154
 
155
+ = 2.0.4 - February 19, 2015 =
156
+
157
+ **Fixes**
158
+
159
+ - Issue where settings page would just load an empty screen. ([Issue #6](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/issues/6))
160
+
161
+ **Improvements**
162
+
163
+ - Updated all links to use HTTPS protocol.
164
+
165
  = 2.0.3 - September 22, 2014 =
166
 
167
  **Improvements**
recent-facebook-posts.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /*
3
  Plugin Name: Recent Facebook Posts
4
- Plugin URI: http://dannyvankooten.com/wordpress-plugins/recent-facebook-posts/
5
  Description: Lists most recent posts from a public Facebook page.
6
- Version: 2.0.3
7
  Author: Danny van Kooten
8
- Author URI: http://dannyvankooten.com/
9
  Text Domain: recent-facebook-posts
10
  Domain Path: /languages/
11
  License: GPL3 or later
@@ -32,7 +32,7 @@ if( ! defined( 'ABSPATH' ) ) {
32
  }
33
 
34
  // Plugin Constants
35
- define( 'RFBP_VERSION', '2.0.3' );
36
  define( 'RFBP_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
37
 
38
  /**
1
  <?php
2
  /*
3
  Plugin Name: Recent Facebook Posts
4
+ Plugin URI: https://dannyvankooten.com/donate/
5
  Description: Lists most recent posts from a public Facebook page.
6
+ Version: 2.0.4
7
  Author: Danny van Kooten
8
+ Author URI: https://dannyvankooten.com/
9
  Text Domain: recent-facebook-posts
10
  Domain Path: /languages/
11
  License: GPL3 or later
32
  }
33
 
34
  // Plugin Constants
35
+ define( 'RFBP_VERSION', '2.0.4' );
36
  define( 'RFBP_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
37
 
38
  /**