Recent Facebook Posts - Version 2.0.13

Version Description

Download this release

Release Info

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

Code changes from version 2.0.12 to 2.0.13

CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
  Changelog
2
  ============
3
 
 
 
 
 
 
 
4
  #### 2.0.12 - October 25, 2017
5
 
6
  Misc. textual improvements.
1
  Changelog
2
  ============
3
 
4
+ #### 2.0.13 - May 30, 2018
5
+
6
+ - Explicitly define FB Graph API version
7
+ - Update link to website for finding your Facebook page ID.
8
+
9
+
10
  #### 2.0.12 - October 25, 2017
11
 
12
  Misc. textual improvements.
includes/class-api.php CHANGED
@@ -189,7 +189,7 @@ class RFBP_API {
189
  }
190
 
191
  // Format URL
192
- $url = "https://graph.facebook.com/{$endpoint}";
193
 
194
  // Add access token to data array
195
  $data['access_token'] = "{$this->app_id}|{$this->app_secret}";
189
  }
190
 
191
  // Format URL
192
+ $url = "https://graph.facebook.com/v2.11/{$endpoint}";
193
 
194
  // Add access token to data array
195
  $data['access_token'] = "{$this->app_id}|{$this->app_secret}";
includes/views/settings_page.html.php CHANGED
@@ -55,7 +55,7 @@
55
  <th scope="row"><label for="rfb_fb_id"><?php _e('Facebook Page ID or Slug', 'recent-facebook-posts'); ?></label></th>
56
  <td>
57
  <input type="text" class="widefat" placeholder="Eg: DannyvanKootenCOM" id="rfb_fb_id" name="rfb_settings[fb_id]" value="<?php echo esc_attr( $opts['fb_id'] ); ?>" required />
58
- <p class="help"><?php printf( __( 'Use <a href="%s">this tool</a> to find the numeric ID of your Facebook page.', 'recent-facebook-posts' ), 'http://findmyfacebookid.com' ); ?></p>
59
  </td>
60
  </tr>
61
  </table>
55
  <th scope="row"><label for="rfb_fb_id"><?php _e('Facebook Page ID or Slug', 'recent-facebook-posts'); ?></label></th>
56
  <td>
57
  <input type="text" class="widefat" placeholder="Eg: DannyvanKootenCOM" id="rfb_fb_id" name="rfb_settings[fb_id]" value="<?php echo esc_attr( $opts['fb_id'] ); ?>" required />
58
+ <p class="help"><?php printf( __( 'Use <a href="%s">this tool</a> to find the numeric ID of your Facebook page.', 'recent-facebook-posts' ), 'https://findmyfbid.com/' ); ?></p>
59
  </td>
60
  </tr>
61
  </table>
languages/recent-facebook-posts-de_DE.mo CHANGED
Binary file
languages/recent-facebook-posts-es_ES.mo CHANGED
Binary file
languages/recent-facebook-posts-hu_HU.mo CHANGED
Binary file
languages/recent-facebook-posts-it_IT.mo CHANGED
Binary file
languages/recent-facebook-posts-nb_NO.mo CHANGED
Binary file
languages/recent-facebook-posts-nl_NL.mo CHANGED
Binary file
languages/recent-facebook-posts-pt_PT.mo CHANGED
Binary file
languages/recent-facebook-posts-sv_SE.mo CHANGED
Binary file
languages/recent-facebook-posts-tr_TR.mo CHANGED
Binary file
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: DvanKooten
3
  Donate link: https://dannyvankooten.com/donate/
4
  Tags: facebook, posts, fb, widget, facebook widget, facebook posts
5
  Requires at least: 4.1
6
- Tested up to: 4.8.2
7
- Stable tag: 2.0.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -30,16 +30,16 @@ Display a list of your most recent Facebook posts in your posts or pages using t
30
 
31
  **Translations**
32
 
33
- English (en_US) - [Danny van Kooten](https://dannyvankooten.com/)<br />
34
- Dutch (nl_NL) - [Danny van Kooten](https://dannyvankooten.com/)<br />
35
- Spanish (es_ES) - [Hermann Bravo](http://hbravo.com/)
36
- Swedish (sv_SE) - [Robin Wellström](http://robinwellstrom.se/)
37
- German (de_DE) - [Henrik Heller ](http://www.gmx.net/)
38
- Italian (it_IT) - [Daniele Chianucci](http://frozen.me/)
39
- Turkish (tr_TR) - Halukcan Pehlivanoğlu
40
- Hungarian (hu_HU) - Daniel Kocsis
41
- Polish (pl_PL) - Sofiah Davenport
42
- Norwegian (no_NO) - Joakim O. Saunes
43
 
44
  If you have [created your own language pack](http://codex.wordpress.org/Translating_WordPress), you can send me the language files so that I can bundle it into the Recent Facebook Posts plugin. [You can download the latest POT file here](http://plugins.svn.wordpress.org/recent-facebook-posts/trunk/languages/recent-facebook-posts.pot).
45
 
@@ -158,6 +158,12 @@ add_filter('rfbp_cache_time', 'my_rfbp_cache_time');
158
  == Changelog ==
159
 
160
 
 
 
 
 
 
 
161
  #### 2.0.12 - October 25, 2017
162
 
163
  Misc. textual improvements.
3
  Donate link: https://dannyvankooten.com/donate/
4
  Tags: facebook, posts, fb, widget, facebook widget, facebook posts
5
  Requires at least: 4.1
6
+ Tested up to: 4.9.6
7
+ Stable tag: 2.0.13
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
30
 
31
  **Translations**
32
 
33
+ - English (en_US) - [Danny van Kooten](https://dannyvankooten.com/)
34
+ - Dutch (nl_NL) - [Danny van Kooten](https://dannyvankooten.com/)
35
+ - Spanish (es_ES) - [Hermann Bravo](http://hbravo.com/)
36
+ - Swedish (sv_SE) - [Robin Wellström](http://robinwellstrom.se/)
37
+ - German (de_DE) - [Henrik Heller ](http://www.gmx.net/)
38
+ - Italian (it_IT) - [Daniele Chianucci](http://frozen.me/)
39
+ - Turkish (tr_TR) - Halukcan Pehlivanoğlu
40
+ - Hungarian (hu_HU) - Daniel Kocsis
41
+ - Polish (pl_PL) - Sofiah Davenport
42
+ - Norwegian (no_NO) - Joakim O. Saunes
43
 
44
  If you have [created your own language pack](http://codex.wordpress.org/Translating_WordPress), you can send me the language files so that I can bundle it into the Recent Facebook Posts plugin. [You can download the latest POT file here](http://plugins.svn.wordpress.org/recent-facebook-posts/trunk/languages/recent-facebook-posts.pot).
45
 
158
  == Changelog ==
159
 
160
 
161
+ #### 2.0.13 - May 30, 2018
162
+
163
+ - Explicitly define FB Graph API version
164
+ - Update link to website for finding your Facebook page ID.
165
+
166
+
167
  #### 2.0.12 - October 25, 2017
168
 
169
  Misc. textual improvements.
recent-facebook-posts.php CHANGED
@@ -3,7 +3,7 @@
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.12
7
  Author: Danny van Kooten
8
  Author URI: https://dannyvankooten.com/
9
  Text Domain: recent-facebook-posts
@@ -11,7 +11,7 @@ Domain Path: /languages/
11
  License: GPL3 or later
12
 
13
  Recent Facebook Posts Plugin
14
- Copyright (C) 2012-2017, Danny van Kooten, support@dannyvankooten.com
15
 
16
  This program is free software: you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
@@ -32,7 +32,7 @@ if( ! defined( 'ABSPATH' ) ) {
32
  }
33
 
34
  // Plugin Constants
35
- define( 'RFBP_VERSION', '2.0.12' );
36
  define( 'RFBP_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
37
 
38
  /**
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.13
7
  Author: Danny van Kooten
8
  Author URI: https://dannyvankooten.com/
9
  Text Domain: recent-facebook-posts
11
  License: GPL3 or later
12
 
13
  Recent Facebook Posts Plugin
14
+ Copyright (C) 2012-2018, Danny van Kooten, support@dannyvankooten.com
15
 
16
  This program is free software: you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
32
  }
33
 
34
  // Plugin Constants
35
+ define( 'RFBP_VERSION', '2.0.13' );
36
  define( 'RFBP_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
37
 
38
  /**