Version Description
- Changed: Use built-in access tokens if user's token has expired rate limit
Download this release
Release Info
| Developer | webdorado |
| Plugin | |
| Version | 1.0.36 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.35 to 1.0.36
- facebook-feed-wd.php +2 -2
- framework/WDFacebookFeed.php +10 -11
- readme.txt +30 -2
facebook-feed-wd.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Plugin Name: WD Facebook Feed
|
| 5 |
* Plugin URI: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
|
| 6 |
* Description:WD Facebook Feed is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
|
| 7 |
-
* Version: 1.0.
|
| 8 |
* Author: WebDorado
|
| 9 |
* Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
| 10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
|
@@ -1014,7 +1014,7 @@ if ( !function_exists('wd_bps_install_notice_status') ) {
|
|
| 1014 |
|
| 1015 |
function ffwd_version() {
|
| 1016 |
|
| 1017 |
-
$version = '1.0.
|
| 1018 |
|
| 1019 |
if ( get_option( 'ffwd_version' ) === false ) {
|
| 1020 |
add_option( 'ffwd_version', $version );
|
| 4 |
* Plugin Name: WD Facebook Feed
|
| 5 |
* Plugin URI: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
|
| 6 |
* Description:WD Facebook Feed is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
|
| 7 |
+
* Version: 1.0.36
|
| 8 |
* Author: WebDorado
|
| 9 |
* Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
| 10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
| 1014 |
|
| 1015 |
function ffwd_version() {
|
| 1016 |
|
| 1017 |
+
$version = '1.0.36';
|
| 1018 |
|
| 1019 |
if ( get_option( 'ffwd_version' ) === false ) {
|
| 1020 |
add_option( 'ffwd_version', $version );
|
framework/WDFacebookFeed.php
CHANGED
|
@@ -1720,19 +1720,18 @@ $ffwd_info_options[$ffwd_option_db] =((isset($_POST[$ffwd_option_db])) ? esc_htm
|
|
| 1720 |
if (($key = array_search(self::$access_token, self::$access_tokens)) !== false) {
|
| 1721 |
unset(self::$access_tokens[$key]);
|
| 1722 |
self::$access_token = null;
|
|
|
|
|
|
|
|
|
|
| 1723 |
|
| 1724 |
-
|
| 1725 |
-
|
| 1726 |
-
|
| 1727 |
-
|
| 1728 |
-
$queryParams = array();
|
| 1729 |
-
parse_str($parts['query'], $queryParams);
|
| 1730 |
-
$queryParams["access_token"] = self::$access_token;
|
| 1731 |
|
| 1732 |
-
|
| 1733 |
-
|
| 1734 |
-
|
| 1735 |
-
}
|
| 1736 |
}
|
| 1737 |
}
|
| 1738 |
return $facebook_graph_results;
|
| 1720 |
if (($key = array_search(self::$access_token, self::$access_tokens)) !== false) {
|
| 1721 |
unset(self::$access_tokens[$key]);
|
| 1722 |
self::$access_token = null;
|
| 1723 |
+
}
|
| 1724 |
+
$rand_key = array_rand(self::$access_tokens);
|
| 1725 |
+
self::$access_token = self::$access_tokens[$rand_key];
|
| 1726 |
|
| 1727 |
+
$parts = parse_url($uri);
|
| 1728 |
+
$queryParams = array();
|
| 1729 |
+
parse_str($parts['query'], $queryParams);
|
| 1730 |
+
$queryParams["access_token"] = self::$access_token;
|
|
|
|
|
|
|
|
|
|
| 1731 |
|
| 1732 |
+
$queryString = http_build_query($queryParams);
|
| 1733 |
+
$url = "https://graph.facebook.com".$parts['path'] . '?' . $queryString;
|
| 1734 |
+
return self::decap_do_curl($url);
|
|
|
|
| 1735 |
}
|
| 1736 |
}
|
| 1737 |
return $facebook_graph_results;
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Tags: customizable facebook feed, facebook, facebook events, facebook feed, face
|
|
| 4 |
Requires at least: 3.4
|
| 5 |
Requires PHP: 5.2
|
| 6 |
Tested up to: 4.9
|
| 7 |
-
Stable tag: 1.0.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -100,6 +100,9 @@ The plugin uses Facebook API to get public data from Facebook. All the received
|
|
| 100 |
|
| 101 |
== Changelog ==
|
| 102 |
|
|
|
|
|
|
|
|
|
|
| 103 |
= 1.0.35 =
|
| 104 |
* Fixed: Crash on front end when API returns error
|
| 105 |
* Improved: Use another access token if API request limit of current token is exceeded
|
|
@@ -371,4 +374,29 @@ The feed might not be working correctly because the page you are trying to displ
|
|
| 371 |
|
| 372 |
Unfortunately, this cannot be controlled by Facebook Feed WD, since Facebook API does not provide data about pages with restrictions.
|
| 373 |
|
| 374 |
-
Therefore, please make sure to remove the restrictions, and try again.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
Requires at least: 3.4
|
| 5 |
Requires PHP: 5.2
|
| 6 |
Tested up to: 4.9
|
| 7 |
+
Stable tag: 1.0.36
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 100 |
|
| 101 |
== Changelog ==
|
| 102 |
|
| 103 |
+
= 1.0.36 =
|
| 104 |
+
* Changed: Use built-in access tokens if user's token has expired rate limit
|
| 105 |
+
|
| 106 |
= 1.0.35 =
|
| 107 |
* Fixed: Crash on front end when API returns error
|
| 108 |
* Improved: Use another access token if API request limit of current token is exceeded
|
| 374 |
|
| 375 |
Unfortunately, this cannot be controlled by Facebook Feed WD, since Facebook API does not provide data about pages with restrictions.
|
| 376 |
|
| 377 |
+
Therefore, please make sure to remove the restrictions, and try again.
|
| 378 |
+
|
| 379 |
+
|
| 380 |
+
= Can I have Facebook group or personal profile social feed? =
|
| 381 |
+
|
| 382 |
+
Unfortunately, group and profile social feed feature is not available in Facebook Feed WD WordPress plugin anymore.
|
| 383 |
+
|
| 384 |
+
Facebook API [has been changed](https://developers.facebook.com/blog/post/2018/04/04/facebook-api-platform-product-changes/) on **April 4th, 2018,** and now it does not allow bringing posts from public groups.
|
| 385 |
+
|
| 386 |
+
Additionally, according to Facebook's [privacy policy](https://www.facebook.com/legal/FB_Work_Privacy), unfortunately, it is not possible to create a social feed of a personal profile. Facebook API provides data about public Facebook pages only.
|
| 387 |
+
|
| 388 |
+
You can find more information about this [here](https://newsroom.fb.com/news/2018/04/restricting-data-access/).
|
| 389 |
+
|
| 390 |
+
We are sorry for any inconvenience these changes may have caused.
|
| 391 |
+
|
| 392 |
+
= How can I fix the error concerning application request limit? =
|
| 393 |
+
|
| 394 |
+
This error has occurred due to sudden changes in Facebook API. By installing **1.0.35** or higher version of Facebook Feed WD social feed plugin, you can eliminate the error on your WordPress site.
|
| 395 |
+
|
| 396 |
+
In case installing the update fails to resolve the issue, please contact our team at support@web-dorado.com.
|
| 397 |
+
|
| 398 |
+
= Can I include a likebox with my social feed? =
|
| 399 |
+
|
| 400 |
+
If you wish to allow your visitors to like your page from your WordPress site, you can place **Facebook Page Plugin.** It is also commonly called likebox.
|
| 401 |
+
|
| 402 |
+
To enable it, open WordPress administrative panel of your website, then edit your Facebook feed. Scroll down to find **Show Page Plugin** option. Enabling this setting will place the likebox of your Facebook page and showcase it with your WordPress facebook feed.
|
