WP Facebook Auto Publish - Version 2.3.2

Version Description

= Facebook Auto Publish 1.0.1 = If you had issues with default image used for auto publishing, you may apply this upgrade.

= Facebook Auto Publish 1.0 = First official launch.

Download this release

Release Info

Developer f1logic
Plugin Icon 128x128 WP Facebook Auto Publish
Version 2.3.2
Comparing to
See all releases

Code changes from version 2.3.1 to 2.3.2

admin/authorization.php CHANGED
@@ -34,7 +34,7 @@ if(isset($_POST['fb_auth']))
34
 
35
  $dialog_url = "https://www.facebook.com/".XYZ_FBAP_FB_API_VERSION."/dialog/oauth?client_id="
36
  . $app_id . "&redirect_uri=" . $my_url . "&state="
37
- . $xyz_fbap_session_state . "&scope=email,public_profile,publish_pages,manage_pages";
38
 
39
  header("Location: " . $dialog_url);
40
  }
34
 
35
  $dialog_url = "https://www.facebook.com/".XYZ_FBAP_FB_API_VERSION."/dialog/oauth?client_id="
36
  . $app_id . "&redirect_uri=" . $my_url . "&state="
37
+ . $xyz_fbap_session_state . "&scope=email,public_profile,pages_read_engagement,pages_manage_posts";
38
 
39
  header("Location: " . $dialog_url);
40
  }
admin/metabox.php CHANGED
@@ -108,6 +108,8 @@ jQuery(document).ready(function() {
108
  displaycheck_fbap();
109
  var xyz_fbap_post_permission=jQuery("input[name='xyz_fbap_post_permission']:checked").val();
110
  XyzFbapToggleRadio(xyz_fbap_post_permission,'xyz_fbap_post_permission');
 
 
111
  jQuery('#category-all').bind("DOMSubtreeModified",function(){
112
  fbap_get_categorylist(1);
113
  });
@@ -124,6 +126,7 @@ jQuery(document).ready(function() {
124
  jQuery(document).on('change', 'input[type="checkbox"]', function() {
125
  fbap_get_categorylist(2);
126
  });
 
127
  });
128
 
129
  function fbap_get_categorylist(val)
108
  displaycheck_fbap();
109
  var xyz_fbap_post_permission=jQuery("input[name='xyz_fbap_post_permission']:checked").val();
110
  XyzFbapToggleRadio(xyz_fbap_post_permission,'xyz_fbap_post_permission');
111
+ var wp_version='<?php echo XYZ_WP_FBAP_WP_VERSION; ?>';
112
+ if (wp_version <= '5.3') {
113
  jQuery('#category-all').bind("DOMSubtreeModified",function(){
114
  fbap_get_categorylist(1);
115
  });
126
  jQuery(document).on('change', 'input[type="checkbox"]', function() {
127
  fbap_get_categorylist(2);
128
  });
129
+ }
130
  });
131
 
132
  function fbap_get_categorylist(val)
admin/publish.php CHANGED
@@ -371,7 +371,7 @@ function xyz_fbap_link_publish($post_ID) {
371
  if (isset($timeline_album) && isset($timeline_album["id"])) $page_id = $timeline_album["id"];
372
  if($album_fount==0)
373
  {
374
- $attachment = array('name' => "Timeline Photos"
375
  );
376
  $attachment['access_token']=$acces_token;
377
  try{
@@ -384,8 +384,8 @@ function xyz_fbap_link_publish($post_ID) {
384
  {
385
  $fb_publish_status[$page_id."/albums"]=$e->getMessage();
386
 
387
- }
388
-
389
  }
390
  }
391
  else
@@ -415,6 +415,7 @@ function xyz_fbap_link_publish($post_ID) {
415
  if (isset($app_album) && isset($app_album["id"])) $page_id = $app_album["id"];
416
  if($album_fount==0)
417
  {
 
418
  $attachment = array('name' => $app_name,
419
  );
420
  $attachment['access_token']=$acces_token;
@@ -428,7 +429,9 @@ function xyz_fbap_link_publish($post_ID) {
428
  {
429
  $fb_publish_status[$page_id."/albums"]=$e->getMessage();
430
  }
 
431
 
 
432
  }
433
  }
434
  }
371
  if (isset($timeline_album) && isset($timeline_album["id"])) $page_id = $timeline_album["id"];
372
  if($album_fount==0)
373
  {
374
+ /*$attachment = array('name' => "Timeline Photos"
375
  );
376
  $attachment['access_token']=$acces_token;
377
  try{
384
  {
385
  $fb_publish_status[$page_id."/albums"]=$e->getMessage();
386
 
387
+ }*/
388
+ $fb_publish_status[$page_id."/albums"]='<span style=\"color:red\">Invalid album name<span>';
389
  }
390
  }
391
  else
415
  if (isset($app_album) && isset($app_album["id"])) $page_id = $app_album["id"];
416
  if($album_fount==0)
417
  {
418
+ /*
419
  $attachment = array('name' => $app_name,
420
  );
421
  $attachment['access_token']=$acces_token;
429
  {
430
  $fb_publish_status[$page_id."/albums"]=$e->getMessage();
431
  }
432
+ */
433
 
434
+ $fb_publish_status[$page_id."/albums"]='<span style=\"color:red\">Invalid album name<span>';
435
  }
436
  }
437
  }
admin/settings.php CHANGED
@@ -308,7 +308,7 @@ function dethide_fbap(id)
308
 
309
  <tr valign="top">
310
  <td width="50%">Application name
311
- <br/><span style="color: #0073aa;">[This is for tracking purpose as well as creating Facebook app album]</span>
312
  </td>
313
  <td><input id="xyz_fbap_application_name"
314
  name="xyz_fbap_application_name" type="text"
@@ -320,9 +320,18 @@ function dethide_fbap(id)
320
  </td>
321
  <td>
322
  <input type="radio" name="xyz_fbap_app_sel_mode" id="xyz_fbap_app_sel_mode_reviewd" value="0" <?php if(get_option('xyz_fbap_app_sel_mode')==0) echo 'checked';?>>
323
- <span style="color: #a7a7a7;font-weight: bold;">Own App ( requires app submission and Facebook review )</span><br>
324
- <a href="http://help.xyzscripts.com/docs/social-media-auto-publish/faq/how-can-i-create-facebook-application/" target="_blank" style="padding-left: 30px;">How can I create a Facebook Application?</a><br/>
325
- <br/><input type="radio" name="xyz_fbap_app_sel_mode" id="xyz_fbap_app_sel_mode_xyzapp" value="1" <?php if(get_option('xyz_fbap_app_sel_mode')==1) echo 'checked';?>>
 
 
 
 
 
 
 
 
 
326
  <span style="color: #000000;font-size: 13px;background-color: #f7a676;font-weight: 500;padding: 3px 5px;"><i class="fa fa-star-o" aria-hidden="true" style="margin-right:5px;"></i>SMAPsolution.com's App ( ready to publish )<i class="fa fa-star-o" aria-hidden="true" style="margin-right:5px;"></i></span><br> <span style="padding-left: 25px;">Starts from 10 USD per year</span><br>
327
  <?php if(get_option('xyz_fbap_smapsoln_userid')==0)
328
  {?>
@@ -339,8 +348,7 @@ function dethide_fbap(id)
339
  <td width="50%"> </td>
340
  <td width="50%">
341
  <span id='ajax-save-xyzscript_acc' style="display:none;"><img class="img" title="Saving details" src="<?php echo plugins_url('../images/ajax-loader.gif',__FILE__);?>" style="width:65px;height:70px; "></span>
342
- <span id="connect_to_xyzscripts"style="background-color: #1A87B9;color: white; padding: 4px 5px;
343
- text-align: center; text-decoration: none; display: inline-block;border-radius: 4px;">
344
  <a href="javascript:fbap_popup_connect_to_xyzscripts();void(0);" style="color:white !important;">Connect your xyzscripts account</a>
345
  </span>
346
  </td>
@@ -367,6 +375,7 @@ function dethide_fbap(id)
367
 
368
  <tr valign="top">
369
  <td>Posting method
 
370
  </td>
371
  <td>
372
  <select id="xyz_fbap_po_method" name="xyz_fbap_po_method">
@@ -712,12 +721,11 @@ function dethide_fbap(id)
712
  'class' => 'postform',
713
  'depth' => 0,
714
  'tab_index' => 0,
715
- 'taxonomy' => 'category',
716
- 'hide_if_empty' => false );
717
 
718
  if(count(get_categories($args))>0)
719
  {
720
- $fbap_categories=get_categories();
721
  foreach ($fbap_categories as $fbap_cat)
722
  {
723
  $cat_id[]=$fbap_cat->cat_ID;
308
 
309
  <tr valign="top">
310
  <td width="50%">Application name
311
+ <br/><span style="color: #0073aa;">[This is for tracking purpose]</span>
312
  </td>
313
  <td><input id="xyz_fbap_application_name"
314
  name="xyz_fbap_application_name" type="text"
320
  </td>
321
  <td>
322
  <input type="radio" name="xyz_fbap_app_sel_mode" id="xyz_fbap_app_sel_mode_reviewd" value="0" <?php if(get_option('xyz_fbap_app_sel_mode')==0) echo 'checked';?>>
323
+ <span style="color: #a7a7a7;font-weight: bold;">Own App ( requires app submission and Facebook review -<a href="http://help.xyzscripts.com/docs/social-media-auto-publish/faq/how-can-i-create-facebook-application/" style="color: #a7a7a7;text-decoration: underline; " target="_blank" >Help</a>)</span>
324
+ <br/>
325
+ <div class="xyz_fbap_facebook_settings" style="display: none;" onmouseover="detdisplay_fbap('xyz_fbap_app_review')" onmouseout="dethide_fbap('xyz_fbap_app_review')"><span style="padding-left: 25px;color: #0073aa;">App approval service available for 50 USD
326
+ </span><br/>
327
+ <div id="xyz_fbap_app_review" class="fbap_informationdiv" style="display: none;width: 400px;">
328
+ <b>Expected time frame:</b><br/>30 days<br/>
329
+ <b>Required details:</b><br/>1. WordPress login<br/>
330
+ 2. Admin access to Facebook developer app for review submission (temporary).<br/>
331
+ For more details contact <a href="https://xyzscripts.com/support/" target="_blank" >Support Desk</a> .
332
+ </div>
333
+ </div><br/>
334
+ <input type="radio" name="xyz_fbap_app_sel_mode" id="xyz_fbap_app_sel_mode_xyzapp" value="1" <?php if(get_option('xyz_fbap_app_sel_mode')==1) echo 'checked';?>>
335
  <span style="color: #000000;font-size: 13px;background-color: #f7a676;font-weight: 500;padding: 3px 5px;"><i class="fa fa-star-o" aria-hidden="true" style="margin-right:5px;"></i>SMAPsolution.com's App ( ready to publish )<i class="fa fa-star-o" aria-hidden="true" style="margin-right:5px;"></i></span><br> <span style="padding-left: 25px;">Starts from 10 USD per year</span><br>
336
  <?php if(get_option('xyz_fbap_smapsoln_userid')==0)
337
  {?>
348
  <td width="50%"> </td>
349
  <td width="50%">
350
  <span id='ajax-save-xyzscript_acc' style="display:none;"><img class="img" title="Saving details" src="<?php echo plugins_url('../images/ajax-loader.gif',__FILE__);?>" style="width:65px;height:70px; "></span>
351
+ <span id="connect_to_xyzscripts"style="background-color: #1A87B9;color: white; padding: 4px 5px;text-align: center; text-decoration: none; display: inline-block;border-radius: 4px;">
 
352
  <a href="javascript:fbap_popup_connect_to_xyzscripts();void(0);" style="color:white !important;">Connect your xyzscripts account</a>
353
  </span>
354
  </td>
375
 
376
  <tr valign="top">
377
  <td>Posting method
378
+ <br/><span style="color: #0073aa;">[Create app album(with <b>Application name</b>) in the Facebook pages,<br/>if you are using the posting method <b>Upload image to app album</b>]</span>
379
  </td>
380
  <td>
381
  <select id="xyz_fbap_po_method" name="xyz_fbap_po_method">
721
  'class' => 'postform',
722
  'depth' => 0,
723
  'tab_index' => 0,
724
+ 'taxonomy' => 'category' );
 
725
 
726
  if(count(get_categories($args))>0)
727
  {
728
+ $fbap_categories=get_categories($args);
729
  foreach ($fbap_categories as $fbap_cat)
730
  {
731
  $cat_id[]=$fbap_cat->cat_ID;
css/style.css CHANGED
@@ -295,7 +295,7 @@ a.xyz_fbap_link:hover{text-decoration:underline;}
295
  .xyz_fbap_link{text-decoration:none;font-weight: bold;margin-left:8px;}
296
 
297
  .xyz_fbap_widefat_table input[type="text"], .xyz_fbap_widefat_table input[type="password"], .xyz_fbap_widefat_table input[type="email"], .xyz_fbap_widefat_table input[type="number"], .xyz_fbap_widefat_table input[type="search"], .xyz_fbap_widefat_table input[type="tel"], .xyz_fbap_widefat_table input[type="url"], .xyz_fbap_widefat_table select {
298
- width: 200px;padding: 5px !important;height: 2.35em !important;
299
  }
300
  .xyz_fbap_widefat_table textarea
301
  {
@@ -318,7 +318,7 @@ width: 100%;
318
  }
319
 
320
  .xyz_fbap_meta_acclist_table select ,.xyz_fbap_meta_acclist_table textarea{
321
- width: 200px;padding: 5px !important;height: 2.35em !important;
322
  }
323
 
324
  a {
295
  .xyz_fbap_link{text-decoration:none;font-weight: bold;margin-left:8px;}
296
 
297
  .xyz_fbap_widefat_table input[type="text"], .xyz_fbap_widefat_table input[type="password"], .xyz_fbap_widefat_table input[type="email"], .xyz_fbap_widefat_table input[type="number"], .xyz_fbap_widefat_table input[type="search"], .xyz_fbap_widefat_table input[type="tel"], .xyz_fbap_widefat_table input[type="url"], .xyz_fbap_widefat_table select {
298
+ width: 200px;padding:3px !important;height: 2.35em !important;
299
  }
300
  .xyz_fbap_widefat_table textarea
301
  {
318
  }
319
 
320
  .xyz_fbap_meta_acclist_table select ,.xyz_fbap_meta_acclist_table textarea{
321
+ width: 200px;padding: 3px !important;height: 2.35em !important;
322
  }
323
 
324
  a {
facebook-auto-publish.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP2Social Auto Publish
4
  Plugin URI: https://xyzscripts.com/wordpress-plugins/facebook-auto-publish/
5
  Description: Publish posts automatically from your blog to Facebook social media. You can publish your posts to Facebook as simple text message, text message with image or as attached link to your blog. The plugin supports filtering posts by custom post-types and categories.
6
- Version: 2.3.1
7
  Author: xyzscripts.com
8
  Author URI: https://xyzscripts.com/
9
  License: GPLv2 or later
@@ -32,12 +32,15 @@ if ( !function_exists( 'add_action' ) ) {
32
 
33
  //error_reporting(E_ALL);
34
  define('XYZ_FBAP_PLUGIN_FILE',__FILE__);
35
- define('XYZ_FBAP_FB_API_VERSION','v3.0');
36
  if (!defined('XYZ_SMAP_SOLUTION_AUTH_URL'))
37
  define('XYZ_SMAP_SOLUTION_AUTH_URL','https://authorize.smapsolutions.com/');
38
  if (!defined('XYZ_SMAP_SOLUTION_PUBLISH_URL'))
39
  define('XYZ_SMAP_SOLUTION_PUBLISH_URL','https://free-publish.smapsolutions.com/');
40
 
 
 
 
41
  global $wpdb;
42
  if(isset($_POST) && isset($_POST['fb_auth'] ) ||(isset($_GET['page']) && ($_GET['page']=='facebook-auto-publish-suggest-feature'))|| (isset($_GET['page']) && ($_GET['page']=='facebook-auto-publish-settings')) || (isset($_GET['page']) && ($_GET['page']=='facebook-auto-publish-manage-authorizations')))
43
  {
3
  Plugin Name: WP2Social Auto Publish
4
  Plugin URI: https://xyzscripts.com/wordpress-plugins/facebook-auto-publish/
5
  Description: Publish posts automatically from your blog to Facebook social media. You can publish your posts to Facebook as simple text message, text message with image or as attached link to your blog. The plugin supports filtering posts by custom post-types and categories.
6
+ Version: 2.3.2
7
  Author: xyzscripts.com
8
  Author URI: https://xyzscripts.com/
9
  License: GPLv2 or later
32
 
33
  //error_reporting(E_ALL);
34
  define('XYZ_FBAP_PLUGIN_FILE',__FILE__);
35
+ define('XYZ_FBAP_FB_API_VERSION','v7.0');
36
  if (!defined('XYZ_SMAP_SOLUTION_AUTH_URL'))
37
  define('XYZ_SMAP_SOLUTION_AUTH_URL','https://authorize.smapsolutions.com/');
38
  if (!defined('XYZ_SMAP_SOLUTION_PUBLISH_URL'))
39
  define('XYZ_SMAP_SOLUTION_PUBLISH_URL','https://free-publish.smapsolutions.com/');
40
 
41
+ include_once(ABSPATH.'wp-includes/version.php');
42
+ global $wp_version;
43
+ define('XYZ_WP_FBAP_WP_VERSION',$wp_version);
44
  global $wpdb;
45
  if(isset($_POST) && isset($_POST['fb_auth'] ) ||(isset($_GET['page']) && ($_GET['page']=='facebook-auto-publish-suggest-feature'))|| (isset($_GET['page']) && ($_GET['page']=='facebook-auto-publish-settings')) || (isset($_GET['page']) && ($_GET['page']=='facebook-auto-publish-manage-authorizations')))
46
  {
readme.txt CHANGED
@@ -1,290 +1,294 @@
1
- === WP2Social Auto Publish ===
2
- Contributors: f1logic
3
- Donate link: https://xyzscripts.com/donate/
4
- Tags: facebook, facebook auto publish,wp2fb auto publish,wp2social,wp2social auto publish,wp facebook auto publish,publish post to facebook, add link to facebook, facebook publishing, post to facebook, post to fb, social media auto publish, social media publishing, social network auto publish, social media, social network
5
- Requires at least: 3.0
6
- Tested up to: 5.3.2
7
- Stable tag: 2.3.1
8
- License: GPLv2 or later
9
-
10
- Publish posts automatically to Facebook page.
11
-
12
- == Description ==
13
-
14
- A quick look into WP2Social Auto Publish :
15
-
16
- ★ Publish message to Facebook with image
17
- ★ Attach post or share link to Facebook
18
- ★ Filter items to be published based on categories
19
- ★ Filter items to be published based on custom post types
20
- ★ Enable or disable wordpress page publishing
21
- ★ Customizable message formats for Facebook
22
-
23
-
24
- = WP2Social Auto Publish Features in Detail =
25
-
26
- The WP2Social Auto Publish lets you publish posts automatically from your blog to Facebook. You can publish your posts to Facebook as simple text message, text message with image or as attached link to your blog. The plugin supports filtering posts based on custom post-types as well as categories.
27
-
28
- The prominent features of the WP2Social Auto Publish plugin are highlighted below.
29
-
30
- = Supported Mechanisms =
31
-
32
- The various mechanisms of posting to Facebook are listed below.
33
-
34
- Simple text message
35
- Text message with image
36
- Share a link to your blog post
37
- Attach your blog post
38
- Post to specific pages on Facebook
39
-
40
- = Filter Settings =
41
-
42
- The plugin offers multiple kinds of filters for contents to be published automatically.
43
-
44
- Enable or disable publishing of wordpress pages
45
- Filter posts to be published based on categories
46
- Filtering based on custom post types
47
-
48
- = Message Format Settings =
49
-
50
- The supported post elements which can be published are given below.
51
-
52
- Post title
53
- Post description
54
- Post excerpt
55
- Permalink
56
- Blog title
57
- User nicename
58
- Post ID
59
- Post publish date
60
- User display name
61
-
62
-
63
- = About =
64
-
65
- WP2Social Auto Publish is developed and maintained by [XYZScripts](https://xyzscripts.com/ "xyzscripts.com"). For any support, you may [contact us](https://xyzscripts.com/support/ "XYZScripts Support").
66
-
67
- ★ [WP2Social Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP2Social Auto Publish User Guide")
68
- ★ [WP2Social Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2Social Auto Publish FAQ")
69
-
70
- == Installation ==
71
-
72
- ★ [WP2Social Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP2Social Auto Publish User Guide")
73
- ★ [WP2Social Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2Social Auto Publish FAQ")
74
-
75
- 1. Extract `facebook-auto-publish.zip` to your `/wp-content/plugins/` directory.
76
- 2. In the admin panel under plugins activate WP2Social Auto Publish.
77
- 3. You can configure the settings from WP2Social Auto Publish menu. (Make sure to Authorize Facebook application after saving the settings.)
78
- 4. Once these are done, posts should get automatically published based on your filter settings.
79
-
80
- If you need any further help, you may contact our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").
81
-
82
- == Frequently Asked Questions ==
83
-
84
- ★ [WP2Social Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP2Social Auto Publish User Guide")
85
- ★ [WP2Social Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2Social Auto Publish FAQ")
86
-
87
- = 1. The WP2Social Auto Publish is not working properly. =
88
-
89
- Please check the wordpress version you are using. Make sure it meets the minimum version recommended by us. Make sure all files of the `wp2social auto publish` plugin are uploaded to the folder `wp-content/plugins/`
90
-
91
-
92
- = 2. Can I post to Facebook pages instead of profile ? =
93
-
94
- Yes, you can select the pages to which you need to publish after authorizing Facebook application.
95
-
96
-
97
- = 3. How do I restrict auto publish to certain categories ? =
98
-
99
- Yes, you can specify the categories which need to be auto published from settings page.
100
-
101
-
102
- = 4. Why do I have to create applications in Facebook ? =
103
-
104
- When you create your own applications, it ensures that the posts to Facebook are not shared with any message like "shared via xxx"
105
-
106
-
107
- = 5. Which all data fields can I send to Facebook ? =
108
-
109
- You may use post title, content, excerpt, permalink, site title and user nicename for auto publishing.
110
-
111
-
112
- = 6. Why do I see SSL related errors in logs ? =
113
-
114
- SSL peer verification may not be functioning in your server. Please turn off SSL peer verification in settings of plugin and try again.
115
-
116
-
117
- = More questions ? =
118
-
119
- [Drop a mail](https://xyzscripts.com/support/ "XYZScripts Support") and we shall get back to you with the answers.
120
-
121
-
122
- == Screenshots ==
123
-
124
- 1. This is the Facebook configuration section.
125
- 2. This is the general settings section.
126
- 3. Publishing options while creating a post.
127
- 4. Auto publish logs.
128
-
129
- == Changelog ==
130
-
131
- = WP2Social Auto Publish 2.3.1 =
132
- * Added option to clear facebook cache
133
-
134
- = WP2Social Auto Publish 2.3 =
135
- * Support for free trial of SMAPSOLUTION's api
136
- * Added option to upgrade SMAPSOLUTION's subscription package
137
- * Option to enable enforcing og meta tags in auto publish
138
- * Option to remove inactive facebook authorizations
139
-
140
- = WP2Social Auto Publish 2.2.1 =
141
- * Plugin name changed to WP2Social Auto Publish
142
-
143
- = WP2FB Auto Publish 2.2 =
144
- * Plugin name changed to WP2FB Auto Publish, as per Facebook guidelines
145
- * Fixed bug in specific category selection on edit posts
146
- * Option to reuse last used auto publish settings on edit posts
147
-
148
- = WP Facebook Auto Publish 2.1 =
149
- * Added page for managing authorizations of smapsolutions app
150
- * Compatibility with gutenberg editor
151
- * Option to view social media posts from auto publish logs
152
- * Settings menu reorganized
153
- * Compatibility with PHP 7.2
154
-
155
- = WP Facebook Auto Publish 2.0.1 =
156
- * Fix for settings page auto refresh
157
-
158
- = WP Facebook Auto Publish 2.0 =
159
- * Removed unwanted facebook permissions
160
- * Added Facebook authorization and publishing using SMAPSolutions.com
161
- * Increased logs count from 5 to 10
162
-
163
- = WP Facebook Auto Publish 1.4.9 =
164
- * Removed Facebook deprecated permission 'publish_actions'
165
- * Applied wordpress time format in {POST_PUBLISH_DATE}
166
-
167
- = WP Facebook Auto Publish 1.4.8 =
168
- * Plugin name changed to WP Facebook Auto Publish, as per wordpress guidelines
169
-
170
- = Facebook Auto Publish 1.4.7 =
171
- * Fixed facebook authorisation issue
172
- * Minor bug fixes
173
- * UI updated
174
-
175
- = Facebook Auto Publish 1.4.6 =
176
- * Added USER_DISPLAY_NAME in message formats
177
- * Minor security issues fixed
178
-
179
- = Facebook Auto Publish 1.4.5 =
180
- * Compatibility with facebook API V 2.11 added
181
- * Minor bug fixes
182
-
183
- = Facebook Auto Publish 1.4.4 =
184
- * Removed Caption from {POST_CONTENT}
185
- * Fixed Facebook image selection issue for 'Share a link to your blog post' and 'Attach your blog post'
186
- * Fixed ssl peer verification in wp_remote_get/wp_remote_post calls
187
-
188
- = Facebook Auto Publish 1.4.3 =
189
- * Added POST_ID and POST_PUBLISH_DATE in message formats
190
-
191
- = Facebook Auto Publish 1.4.2 =
192
- * Fixed facebook boost unavailable issue
193
- * Nonce added
194
- * Prevented direct access to plugin files
195
- * Data validation updated
196
- * App album related issue fixed
197
-
198
- = Facebook Auto Publish 1.4.1 =
199
- * utf-8 decoding issue fixed
200
- * Visual composer compatiblity issue fixed
201
- * Minor bugs fixed
202
-
203
- = Facebook Auto Publish 1.4 =
204
- * Facebook api updated(requires PHP version 5.4 or higher)
205
-
206
- = Facebook Auto Publish 1.3.1 =
207
- * Fixed custom post types autopublish issue
208
- * Fixed duplicate autopublish issue
209
-
210
- = Facebook Auto Publish 1.3 =
211
- * Added option to enable/disable utf-8 decoding before publishing
212
- * Removed unwanted configuration related to 'future_to_publish' hook
213
- * Removed unwanted setting "Facebook user id"
214
- * Postid added in autopublish logs
215
- * Updated auto publish mechanism using transition_post_status hook
216
- * Open graph meta tags will be prefered for facebook attachments
217
-
218
- = Facebook Auto Publish 1.2.4 =
219
- * Added option to enable/disable "future_to_publish" hook for handling auto publish of scheduled posts
220
- * Added options to enable/disable "the_content", "the_excerpt", "the_title" filters on content to be auto-published
221
- * Resolved issue in fetching facebook pages in settings page (in case of more than 100 pages)
222
- * Inline edit of posts will work according to the value set for "Default selection of auto publish while editing posts/pages"
223
- * Latest five auto publish logs are maintained
224
-
225
- = Facebook Auto Publish 1.2.3 =
226
- * Fixed category display issue
227
- * Removed outdated facebook scopes from authorization
228
-
229
- = Facebook Auto Publish 1.2.2 =
230
- * Bug fix for duplicate publishing of scheduled posts
231
-
232
- = Facebook Auto Publish 1.2.1 =
233
- * Fixed auto publish related bug in post edit
234
- * Fixed message format bug in auto publish
235
- * Updated Facebook authorization
236
-
237
- = Facebook Auto Publish 1.2 =
238
- * Option to configure auto publish settings while editing posts/pages
239
- * General setting to enable/disable post publishing
240
- * Added auto publish for scheduled post
241
- * Fixed issue related to \" in auto publish
242
-
243
- = Facebook Auto Publish 1.1.2 =
244
- * Fixed auto-publish of scheduled post
245
-
246
- = Facebook Auto Publish 1.1.1 =
247
- * Added compatibility with wordpress 3.9.1
248
- * Facebook API V 2.0 compatibility added
249
- * Compatibility with bitly plugin
250
-
251
- = Facebook Auto Publish 1.1 =
252
- * View logs for last published post
253
- * Option to enable/disable SSL peer verification
254
- * Option to reauthorize the application
255
-
256
- = Facebook Auto Publish 1.0.2 =
257
- * Bug fixed for &amp;nbsp; in post
258
-
259
- = Facebook Auto Publish 1.0.1 =
260
- * Default image fetch logic for auto publish updated.
261
- * Thumbnail image logic updated.
262
-
263
- = Facebook Auto Publish 1.0 =
264
- * First official launch.
265
-
266
- == Upgrade Notice ==
267
-
268
- = Facebook Auto Publish 1.0.1 =
269
- If you had issues with default image used for auto publishing, you may apply this upgrade.
270
-
271
- = Facebook Auto Publish 1.0 =
272
- First official launch.
273
-
274
- == More Information ==
275
-
276
- [WP2Social Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/ "WP2Social Auto Publish User Guide")
277
- ★ [WP2Social Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2Social Auto Publish FAQ")
278
-
279
- = Troubleshooting =
280
-
281
- Please read the FAQ first if you are having problems.
282
-
283
- = Requirements =
284
-
285
- WordPress 3.0+
286
- PHP 5.4+
287
-
288
- = Feedback =
289
-
290
- We would like to receive your feedback and suggestions about WP2Social Auto Publish plugin. You may submit them at our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").
 
 
 
 
1
+ === WP2Social Auto Publish ===
2
+ Contributors: f1logic
3
+ Donate link: https://xyzscripts.com/donate/
4
+ Tags: facebook, facebook auto publish,wp2fb auto publish,wp2social,wp2social auto publish,wp facebook auto publish,publish post to facebook, add link to facebook, facebook publishing, post to facebook, post to fb, social media auto publish, social media publishing, social network auto publish, social media, social network
5
+ Requires at least: 3.0
6
+ Tested up to: 5.4.1
7
+ Stable tag: 2.3.2
8
+ License: GPLv2 or later
9
+
10
+ Publish posts automatically to Facebook page.
11
+
12
+ == Description ==
13
+
14
+ A quick look into WP2Social Auto Publish :
15
+
16
+ ★ Publish message to Facebook with image
17
+ ★ Attach post or share link to Facebook
18
+ ★ Filter items to be published based on categories
19
+ ★ Filter items to be published based on custom post types
20
+ ★ Enable or disable wordpress page publishing
21
+ ★ Customizable message formats for Facebook
22
+
23
+
24
+ = WP2Social Auto Publish Features in Detail =
25
+
26
+ The WP2Social Auto Publish lets you publish posts automatically from your blog to Facebook. You can publish your posts to Facebook as simple text message, text message with image or as attached link to your blog. The plugin supports filtering posts based on custom post-types as well as categories.
27
+
28
+ The prominent features of the WP2Social Auto Publish plugin are highlighted below.
29
+
30
+ = Supported Mechanisms =
31
+
32
+ The various mechanisms of posting to Facebook are listed below.
33
+
34
+ Simple text message
35
+ Text message with image
36
+ Share a link to your blog post
37
+ Attach your blog post
38
+ Post to specific pages on Facebook
39
+
40
+ = Filter Settings =
41
+
42
+ The plugin offers multiple kinds of filters for contents to be published automatically.
43
+
44
+ Enable or disable publishing of wordpress pages
45
+ Filter posts to be published based on categories
46
+ Filtering based on custom post types
47
+
48
+ = Message Format Settings =
49
+
50
+ The supported post elements which can be published are given below.
51
+
52
+ Post title
53
+ Post description
54
+ Post excerpt
55
+ Permalink
56
+ Blog title
57
+ User nicename
58
+ Post ID
59
+ Post publish date
60
+ User display name
61
+
62
+
63
+ = About =
64
+
65
+ WP2Social Auto Publish is developed and maintained by [XYZScripts](https://xyzscripts.com/ "xyzscripts.com"). For any support, you may [contact us](https://xyzscripts.com/support/ "XYZScripts Support").
66
+
67
+ ★ [WP2Social Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP2Social Auto Publish User Guide")
68
+ ★ [WP2Social Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2Social Auto Publish FAQ")
69
+
70
+ == Installation ==
71
+
72
+ ★ [WP2Social Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP2Social Auto Publish User Guide")
73
+ ★ [WP2Social Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2Social Auto Publish FAQ")
74
+
75
+ 1. Extract `facebook-auto-publish.zip` to your `/wp-content/plugins/` directory.
76
+ 2. In the admin panel under plugins activate WP2Social Auto Publish.
77
+ 3. You can configure the settings from WP2Social Auto Publish menu. (Make sure to Authorize Facebook application after saving the settings.)
78
+ 4. Once these are done, posts should get automatically published based on your filter settings.
79
+
80
+ If you need any further help, you may contact our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").
81
+
82
+ == Frequently Asked Questions ==
83
+
84
+ ★ [WP2Social Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP2Social Auto Publish User Guide")
85
+ ★ [WP2Social Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2Social Auto Publish FAQ")
86
+
87
+ = 1. The WP2Social Auto Publish is not working properly. =
88
+
89
+ Please check the wordpress version you are using. Make sure it meets the minimum version recommended by us. Make sure all files of the `wp2social auto publish` plugin are uploaded to the folder `wp-content/plugins/`
90
+
91
+
92
+ = 2. Can I post to Facebook pages instead of profile ? =
93
+
94
+ Yes, you can select the pages to which you need to publish after authorizing Facebook application.
95
+
96
+
97
+ = 3. How do I restrict auto publish to certain categories ? =
98
+
99
+ Yes, you can specify the categories which need to be auto published from settings page.
100
+
101
+
102
+ = 4. Why do I have to create applications in Facebook ? =
103
+
104
+ When you create your own applications, it ensures that the posts to Facebook are not shared with any message like "shared via xxx"
105
+
106
+
107
+ = 5. Which all data fields can I send to Facebook ? =
108
+
109
+ You may use post title, content, excerpt, permalink, site title and user nicename for auto publishing.
110
+
111
+
112
+ = 6. Why do I see SSL related errors in logs ? =
113
+
114
+ SSL peer verification may not be functioning in your server. Please turn off SSL peer verification in settings of plugin and try again.
115
+
116
+
117
+ = More questions ? =
118
+
119
+ [Drop a mail](https://xyzscripts.com/support/ "XYZScripts Support") and we shall get back to you with the answers.
120
+
121
+
122
+ == Screenshots ==
123
+
124
+ 1. This is the Facebook configuration section.
125
+ 2. This is the general settings section.
126
+ 3. Publishing options while creating a post.
127
+ 4. Auto publish logs.
128
+
129
+ == Changelog ==
130
+
131
+ = WP2Social Auto Publish 2.3.2 =
132
+ * Minor bugs fixed
133
+ * Compatibility with facebook API V 7.0 added
134
+
135
+ = WP2Social Auto Publish 2.3.1 =
136
+ * Added option to clear facebook cache
137
+
138
+ = WP2Social Auto Publish 2.3 =
139
+ * Support for free trial of SMAPSOLUTION's api
140
+ * Added option to upgrade SMAPSOLUTION's subscription package
141
+ * Option to enable enforcing og meta tags in auto publish
142
+ * Option to remove inactive facebook authorizations
143
+
144
+ = WP2Social Auto Publish 2.2.1 =
145
+ * Plugin name changed to WP2Social Auto Publish
146
+
147
+ = WP2FB Auto Publish 2.2 =
148
+ * Plugin name changed to WP2FB Auto Publish, as per Facebook guidelines
149
+ * Fixed bug in specific category selection on edit posts
150
+ * Option to reuse last used auto publish settings on edit posts
151
+
152
+ = WP Facebook Auto Publish 2.1 =
153
+ * Added page for managing authorizations of smapsolutions app
154
+ * Compatibility with gutenberg editor
155
+ * Option to view social media posts from auto publish logs
156
+ * Settings menu reorganized
157
+ * Compatibility with PHP 7.2
158
+
159
+ = WP Facebook Auto Publish 2.0.1 =
160
+ * Fix for settings page auto refresh
161
+
162
+ = WP Facebook Auto Publish 2.0 =
163
+ * Removed unwanted facebook permissions
164
+ * Added Facebook authorization and publishing using SMAPSolutions.com
165
+ * Increased logs count from 5 to 10
166
+
167
+ = WP Facebook Auto Publish 1.4.9 =
168
+ * Removed Facebook deprecated permission 'publish_actions'
169
+ * Applied wordpress time format in {POST_PUBLISH_DATE}
170
+
171
+ = WP Facebook Auto Publish 1.4.8 =
172
+ * Plugin name changed to WP Facebook Auto Publish, as per wordpress guidelines
173
+
174
+ = Facebook Auto Publish 1.4.7 =
175
+ * Fixed facebook authorisation issue
176
+ * Minor bug fixes
177
+ * UI updated
178
+
179
+ = Facebook Auto Publish 1.4.6 =
180
+ * Added USER_DISPLAY_NAME in message formats
181
+ * Minor security issues fixed
182
+
183
+ = Facebook Auto Publish 1.4.5 =
184
+ * Compatibility with facebook API V 2.11 added
185
+ * Minor bug fixes
186
+
187
+ = Facebook Auto Publish 1.4.4 =
188
+ * Removed Caption from {POST_CONTENT}
189
+ * Fixed Facebook image selection issue for 'Share a link to your blog post' and 'Attach your blog post'
190
+ * Fixed ssl peer verification in wp_remote_get/wp_remote_post calls
191
+
192
+ = Facebook Auto Publish 1.4.3 =
193
+ * Added POST_ID and POST_PUBLISH_DATE in message formats
194
+
195
+ = Facebook Auto Publish 1.4.2 =
196
+ * Fixed facebook boost unavailable issue
197
+ * Nonce added
198
+ * Prevented direct access to plugin files
199
+ * Data validation updated
200
+ * App album related issue fixed
201
+
202
+ = Facebook Auto Publish 1.4.1 =
203
+ * utf-8 decoding issue fixed
204
+ * Visual composer compatiblity issue fixed
205
+ * Minor bugs fixed
206
+
207
+ = Facebook Auto Publish 1.4 =
208
+ * Facebook api updated(requires PHP version 5.4 or higher)
209
+
210
+ = Facebook Auto Publish 1.3.1 =
211
+ * Fixed custom post types autopublish issue
212
+ * Fixed duplicate autopublish issue
213
+
214
+ = Facebook Auto Publish 1.3 =
215
+ * Added option to enable/disable utf-8 decoding before publishing
216
+ * Removed unwanted configuration related to 'future_to_publish' hook
217
+ * Removed unwanted setting "Facebook user id"
218
+ * Postid added in autopublish logs
219
+ * Updated auto publish mechanism using transition_post_status hook
220
+ * Open graph meta tags will be prefered for facebook attachments
221
+
222
+ = Facebook Auto Publish 1.2.4 =
223
+ * Added option to enable/disable "future_to_publish" hook for handling auto publish of scheduled posts
224
+ * Added options to enable/disable "the_content", "the_excerpt", "the_title" filters on content to be auto-published
225
+ * Resolved issue in fetching facebook pages in settings page (in case of more than 100 pages)
226
+ * Inline edit of posts will work according to the value set for "Default selection of auto publish while editing posts/pages"
227
+ * Latest five auto publish logs are maintained
228
+
229
+ = Facebook Auto Publish 1.2.3 =
230
+ * Fixed category display issue
231
+ * Removed outdated facebook scopes from authorization
232
+
233
+ = Facebook Auto Publish 1.2.2 =
234
+ * Bug fix for duplicate publishing of scheduled posts
235
+
236
+ = Facebook Auto Publish 1.2.1 =
237
+ * Fixed auto publish related bug in post edit
238
+ * Fixed message format bug in auto publish
239
+ * Updated Facebook authorization
240
+
241
+ = Facebook Auto Publish 1.2 =
242
+ * Option to configure auto publish settings while editing posts/pages
243
+ * General setting to enable/disable post publishing
244
+ * Added auto publish for scheduled post
245
+ * Fixed issue related to \" in auto publish
246
+
247
+ = Facebook Auto Publish 1.1.2 =
248
+ * Fixed auto-publish of scheduled post
249
+
250
+ = Facebook Auto Publish 1.1.1 =
251
+ * Added compatibility with wordpress 3.9.1
252
+ * Facebook API V 2.0 compatibility added
253
+ * Compatibility with bitly plugin
254
+
255
+ = Facebook Auto Publish 1.1 =
256
+ * View logs for last published post
257
+ * Option to enable/disable SSL peer verification
258
+ * Option to reauthorize the application
259
+
260
+ = Facebook Auto Publish 1.0.2 =
261
+ * Bug fixed for &amp;nbsp; in post
262
+
263
+ = Facebook Auto Publish 1.0.1 =
264
+ * Default image fetch logic for auto publish updated.
265
+ * Thumbnail image logic updated.
266
+
267
+ = Facebook Auto Publish 1.0 =
268
+ * First official launch.
269
+
270
+ == Upgrade Notice ==
271
+
272
+ = Facebook Auto Publish 1.0.1 =
273
+ If you had issues with default image used for auto publishing, you may apply this upgrade.
274
+
275
+ = Facebook Auto Publish 1.0 =
276
+ First official launch.
277
+
278
+ == More Information ==
279
+
280
+ ★ [WP2Social Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/ "WP2Social Auto Publish User Guide")
281
+ [WP2Social Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2Social Auto Publish FAQ")
282
+
283
+ = Troubleshooting =
284
+
285
+ Please read the FAQ first if you are having problems.
286
+
287
+ = Requirements =
288
+
289
+ WordPress 3.0+
290
+ PHP 5.4+
291
+
292
+ = Feedback =
293
+
294
+ We would like to receive your feedback and suggestions about WP2Social Auto Publish plugin. You may submit them at our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").