WP Facebook Auto Publish - Version 2.0.1

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.0.1
Comparing to
See all releases

Code changes from version 2.0 to 2.0.1

admin/fbap-suggest-feature.php CHANGED
@@ -47,13 +47,13 @@ if (isset($_POST) && isset($_POST['xyz_send_mail']))
47
  $xyz_fbap_mail_subject="WP FACEBOOK AUTO PUBLISH - FEATURE SUGGESTION";
48
  $xyz_fbap_headers = array('From: '.$xyz_fbap_admin_username.' <'. $xyz_fbap_sender_email .'>' ,'Content-Type: text/html; charset=UTF-8');
49
  $wp_mail_processed=wp_mail( $xyz_fbap_recv_email, $xyz_fbap_mail_subject, $xyz_fbap_feature_content, $xyz_fbap_headers );
50
- if ($wp_mail_processed==true)
51
- header("Location:".admin_url('admin.php?page=facebook-auto-publish-suggest-feature&msg=1'));
52
- else
53
- header("Location:".admin_url('admin.php?page=facebook-auto-publish-suggest-feature&msg=2'));
54
  }
55
- else
56
- header("Location:".admin_url('admin.php?page=facebook-auto-publish-suggest-feature&msg=3'));
57
  }?>
58
  <form method="post" >
59
  <?php wp_nonce_field( 'xyz_fbap_suggest_feature_form_nonce' );?>
47
  $xyz_fbap_mail_subject="WP FACEBOOK AUTO PUBLISH - FEATURE SUGGESTION";
48
  $xyz_fbap_headers = array('From: '.$xyz_fbap_admin_username.' <'. $xyz_fbap_sender_email .'>' ,'Content-Type: text/html; charset=UTF-8');
49
  $wp_mail_processed=wp_mail( $xyz_fbap_recv_email, $xyz_fbap_mail_subject, $xyz_fbap_feature_content, $xyz_fbap_headers );
50
+ if ($wp_mail_processed==true){
51
+ header("Location:".admin_url('admin.php?page=facebook-auto-publish-suggest-feature&msg=1'));exit();}
52
+ else {
53
+ header("Location:".admin_url('admin.php?page=facebook-auto-publish-suggest-feature&msg=2'));exit();}
54
  }
55
+ else{
56
+ header("Location:".admin_url('admin.php?page=facebook-auto-publish-suggest-feature&msg=3'));exit();}
57
  }?>
58
  <form method="post" >
59
  <?php wp_nonce_field( 'xyz_fbap_suggest_feature_form_nonce' );?>
admin/settings.php CHANGED
@@ -109,8 +109,8 @@ if(isset($_POST['fb']))
109
  else if ($xyz_fbap_app_sel_mode_old != $xyz_fbap_app_sel_mode)
110
  {
111
  update_option('xyz_fbap_af',1);
112
- update_option('xyz_fbap_fb_token','');
113
- update_option('xyz_fbap_secret_key','');
114
  update_option('xyz_fbap_page_names','');
115
  }
116
  update_option('xyz_fbap_application_name',$app_name);
@@ -786,7 +786,8 @@ else
786
  ?>
787
  <script type="text/javascript">
788
  //drpdisplay();
789
-
 
790
  var catval='<?php echo $xyz_fbap_include_categories1; ?>';
791
  var custtypeval='<?php echo esc_html($xyz_fbap_include_customposttypes); ?>';
792
  var get_opt_cats='<?php echo esc_html(get_option('xyz_fbap_include_posts'));?>';
@@ -838,6 +839,7 @@ jQuery(document).ready(function() {
838
  if(xyz_fbap_app_sel_mode !=0){
839
  jQuery('#xyz_fbap_app_creation_note').hide();
840
  jQuery('.xyz_fbap_facebook_settings').hide();
 
841
  jQuery('#xyz_fbap_conn_to_xyzscripts').show();
842
  }
843
  else{
@@ -953,7 +955,7 @@ function fbap_popup_fb_auth(domain_name,xyz_fbap_smapsoln_userid,xyzscripts_user
953
  var smap_solution_url='<?php echo XYZ_SMAP_SOLUTION_AUTH_URL;?>';
954
  childWindow = window.open(smap_solution_url+"authorize/facebook.php?smap_id="+xyz_fbap_smapsoln_userid+"&account_id="+account_id+
955
  "&domain_name="+domain_name+"&xyzscripts_user_id="+xyzscripts_user_id+"&xyzscripts_hash_val="+xyzscripts_hash_val
956
- +"&smap_licence_key="+fbap_licence_key+"&auth_secret_key="+auth_secret_key, "SmapSolutions Authorization", "toolbar=yes,scrollbars=yes,resizable=yes,left=500,width=600,height=600");
957
  return false; }
958
  }
959
 
@@ -981,7 +983,7 @@ function ProcessChildMessage_2(message) {
981
  });
982
  }
983
  var obj1=jQuery.parseJSON(message);
984
- if(obj1.content && obj1.userid)
985
  {
986
  var xyz_userid=obj1.userid;var xyz_user_hash=obj1.content;
987
  var xyz_fbap_xyzscripts_accinfo_nonce= '<?php echo wp_create_nonce('xyz_fbap_xyzscripts_accinfo_nonce');?>';
@@ -999,10 +1001,8 @@ function ProcessChildMessage_2(message) {
999
  window.location.href = base_url+'&msg=4';
1000
  });
1001
  }
1002
- else if(obj1.pages !='')
1003
  {
1004
- var obj1=jQuery.parseJSON(message);
1005
- // console.log(obj1);
1006
  var obj=obj1.pages;
1007
  var secretkey=obj1.secretkey;
1008
  var xyz_fbap_fb_numericid=obj1.xyz_fb_numericid;
@@ -1033,23 +1033,10 @@ function ProcessChildMessage_2(message) {
1033
  };
1034
  jQuery("#re_auth_message").hide();
1035
  jQuery("#auth_message").hide();
1036
- jQuery("#ajax-save-xyzscript_acc").show();
1037
- jQuery.post(ajaxurl, dataString ,function(response) {
1038
  var base_url = '<?php echo admin_url('admin.php?page=facebook-auto-publish-settings');?>';//msg -
1039
  window.location.href = base_url+'&msg=5';
1040
  });
1041
  }
1042
- else
1043
- {
1044
- if(jQuery('#system_notice_area').length==0)
1045
- jQuery('body').append('<div class="system_notice_area_style0" id="system_notice_area"></div>');
1046
- jQuery("#system_notice_area").html('An unexpected error occured,please try again <span id="system_notice_area_dismiss">Dismiss</span>');
1047
- jQuery("#system_notice_area").show();
1048
- jQuery('#system_notice_area_dismiss').click(function() {
1049
- jQuery('#system_notice_area').animate({
1050
- opacity : 'hide',
1051
- height : 'hide'
1052
- }, 500);
1053
- });
1054
- }
1055
  }</script>
109
  else if ($xyz_fbap_app_sel_mode_old != $xyz_fbap_app_sel_mode)
110
  {
111
  update_option('xyz_fbap_af',1);
112
+ // update_option('xyz_fbap_fb_token','');
113
+ // update_option('xyz_fbap_secret_key','');
114
  update_option('xyz_fbap_page_names','');
115
  }
116
  update_option('xyz_fbap_application_name',$app_name);
786
  ?>
787
  <script type="text/javascript">
788
  //drpdisplay();
789
+ var xyzscripts_userid='';
790
+ xyzscripts_userid='<?php echo get_option('xyz_fbap_xyzscripts_user_id');?>';
791
  var catval='<?php echo $xyz_fbap_include_categories1; ?>';
792
  var custtypeval='<?php echo esc_html($xyz_fbap_include_customposttypes); ?>';
793
  var get_opt_cats='<?php echo esc_html(get_option('xyz_fbap_include_posts'));?>';
839
  if(xyz_fbap_app_sel_mode !=0){
840
  jQuery('#xyz_fbap_app_creation_note').hide();
841
  jQuery('.xyz_fbap_facebook_settings').hide();
842
+ if(xyzscripts_userid=='')
843
  jQuery('#xyz_fbap_conn_to_xyzscripts').show();
844
  }
845
  else{
955
  var smap_solution_url='<?php echo XYZ_SMAP_SOLUTION_AUTH_URL;?>';
956
  childWindow = window.open(smap_solution_url+"authorize/facebook.php?smap_id="+xyz_fbap_smapsoln_userid+"&account_id="+account_id+
957
  "&domain_name="+domain_name+"&xyzscripts_user_id="+xyzscripts_user_id+"&xyzscripts_hash_val="+xyzscripts_hash_val
958
+ +"&smap_licence_key="+fbap_licence_key+"&auth_secret_key="+auth_secret_key+"&free_plugin_source=fbap", "SmapSolutions Authorization", "toolbar=yes,scrollbars=yes,resizable=yes,left=500,width=600,height=600");
959
  return false; }
960
  }
961
 
983
  });
984
  }
985
  var obj1=jQuery.parseJSON(message);
986
+ if(obj1.content && obj1.userid && obj1.xyzscripts_user)
987
  {
988
  var xyz_userid=obj1.userid;var xyz_user_hash=obj1.content;
989
  var xyz_fbap_xyzscripts_accinfo_nonce= '<?php echo wp_create_nonce('xyz_fbap_xyzscripts_accinfo_nonce');?>';
1001
  window.location.href = base_url+'&msg=4';
1002
  });
1003
  }
1004
+ else if(obj1.pages && obj1.smapsoln_userid)
1005
  {
 
 
1006
  var obj=obj1.pages;
1007
  var secretkey=obj1.secretkey;
1008
  var xyz_fbap_fb_numericid=obj1.xyz_fb_numericid;
1033
  };
1034
  jQuery("#re_auth_message").hide();
1035
  jQuery("#auth_message").hide();
1036
+ jQuery("#ajax-save").show();
1037
+ jQuery.post(ajaxurl, dataString ,function(response) {
1038
  var base_url = '<?php echo admin_url('admin.php?page=facebook-auto-publish-settings');?>';//msg -
1039
  window.location.href = base_url+'&msg=5';
1040
  });
1041
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
1042
  }</script>
facebook-auto-publish.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Facebook 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.0
7
  Author: xyzscripts.com
8
  Author URI: https://xyzscripts.com/
9
  License: GPLv2 or later
@@ -33,7 +33,9 @@ if ( !function_exists( 'add_action' ) ) {
33
  //error_reporting(E_ALL);
34
  define('XYZ_FBAP_PLUGIN_FILE',__FILE__);
35
  define('XYZ_FBAP_FB_API_VERSION','v3.0');
 
36
  define('XYZ_SMAP_SOLUTION_AUTH_URL','https://authorize.smapsolutions.com/');
 
37
  define('XYZ_SMAP_SOLUTION_PUBLISH_URL','https://free-publish.smapsolutions.com/');
38
 
39
  global $wpdb;
3
  Plugin Name: WP Facebook 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.0.1
7
  Author: xyzscripts.com
8
  Author URI: https://xyzscripts.com/
9
  License: GPLv2 or later
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;
readme.txt CHANGED
@@ -1,261 +1,264 @@
1
- === WP Facebook Auto Publish ===
2
- Contributors: f1logic
3
- Donate link: https://xyzscripts.com/donate/
4
- Tags: facebook, facebook 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: 4.9.8
7
- Stable tag: 2.0
8
- License: GPLv2 or later
9
-
10
- Publish posts automatically to Facebook page or profile.
11
-
12
- == Description ==
13
-
14
- A quick look into WP Facebook 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
- = WP Facebook Auto Publish Features in Detail =
25
-
26
- The WP Facebook 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 WP Facebook 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 Facebook profile page
39
- Post to specific pages on Facebook
40
-
41
- = Filter Settings =
42
-
43
- The plugin offers multiple kinds of filters for contents to be published automatically.
44
-
45
- Enable or disable publishing of wordpress pages
46
- Filter posts to be published based on categories
47
- Filtering based on custom post types
48
-
49
- = Message Format Settings =
50
-
51
- The supported post elements which can be published are given below.
52
-
53
- Post title
54
- Post description
55
- Post excerpt
56
- Permalink
57
- Blog title
58
- User nicename
59
- Post ID
60
- Post publish date
61
-
62
-
63
- = About =
64
-
65
- WP Facebook 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
- ★ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP Facebook Auto Publish User Guide")
68
- ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook Auto Publish FAQ")
69
-
70
- == Installation ==
71
-
72
- ★ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP Facebook Auto Publish User Guide")
73
- ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook 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 WP Facebook Auto Publish.
77
- 3. You can configure the settings from WP Facebook 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
- ★ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP Facebook Auto Publish User Guide")
85
- ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook Auto Publish FAQ")
86
-
87
- = 1. The WP Facebook 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 `wp facebook 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. Publishing options while creating a post.
126
-
127
- == Changelog ==
128
-
129
- = WP Facebook Auto Publish 2.0 =
130
- * Removed unwanted facebook permissions
131
- * Added Facebook authorization and publishing using SMAPSolutions.com
132
- * Increased logs count from 5 to 10
133
-
134
- = WP Facebook Auto Publish 1.4.9 =
135
- * Removed Facebook deprecated permission 'publish_actions'
136
- * Applied wordpress time format in {POST_PUBLISH_DATE}
137
-
138
- = WP Facebook Auto Publish 1.4.8 =
139
- * Plugin name changed to WP Facebook Auto Publish, as per wordpress guidelines
140
-
141
- = Facebook Auto Publish 1.4.7 =
142
- * Fixed facebook authorisation issue
143
- * Minor bug fixes
144
- * UI updated
145
-
146
- = Facebook Auto Publish 1.4.6 =
147
- * Added USER_DISPLAY_NAME in message formats
148
- * Minor security issues fixed
149
-
150
- = Facebook Auto Publish 1.4.5 =
151
- * Compatibility with facebook API V 2.11 added
152
- * Minor bug fixes
153
-
154
- = Facebook Auto Publish 1.4.4 =
155
- * Removed Caption from {POST_CONTENT}
156
- * Fixed Facebook image selection issue for 'Share a link to your blog post' and 'Attach your blog post'
157
- * Fixed ssl peer verification in wp_remote_get/wp_remote_post calls
158
-
159
- = Facebook Auto Publish 1.4.3 =
160
- * Added POST_ID and POST_PUBLISH_DATE in message formats
161
-
162
- = Facebook Auto Publish 1.4.2 =
163
- * Fixed facebook boost unavailable issue
164
- * Nonce added
165
- * Prevented direct access to plugin files
166
- * Data validation updated
167
- * App album related issue fixed
168
-
169
- = Facebook Auto Publish 1.4.1 =
170
- * utf-8 decoding issue fixed
171
- * Visual composer compatiblity issue fixed
172
- * Minor bugs fixed
173
-
174
- = Facebook Auto Publish 1.4 =
175
- * Facebook api updated(requires PHP version 5.4 or higher)
176
-
177
- = Facebook Auto Publish 1.3.1 =
178
- * Fixed custom post types autopublish issue
179
- * Fixed duplicate autopublish issue
180
-
181
- = Facebook Auto Publish 1.3 =
182
- * Added option to enable/disable utf-8 decoding before publishing
183
- * Removed unwanted configuration related to 'future_to_publish' hook
184
- * Removed unwanted setting "Facebook user id"
185
- * Postid added in autopublish logs
186
- * Updated auto publish mechanism using transition_post_status hook
187
- * Open graph meta tags will be prefered for facebook attachments
188
-
189
- = Facebook Auto Publish 1.2.4 =
190
- * Added option to enable/disable "future_to_publish" hook for handling auto publish of scheduled posts
191
- * Added options to enable/disable "the_content", "the_excerpt", "the_title" filters on content to be auto-published
192
- * Resolved issue in fetching facebook pages in settings page (in case of more than 100 pages)
193
- * Inline edit of posts will work according to the value set for "Default selection of auto publish while editing posts/pages"
194
- * Latest five auto publish logs are maintained
195
-
196
- = Facebook Auto Publish 1.2.3 =
197
- * Fixed category display issue
198
- * Removed outdated facebook scopes from authorization
199
-
200
- = Facebook Auto Publish 1.2.2 =
201
- * Bug fix for duplicate publishing of scheduled posts
202
-
203
- = Facebook Auto Publish 1.2.1 =
204
- * Fixed auto publish related bug in post edit
205
- * Fixed message format bug in auto publish
206
- * Updated Facebook authorization
207
-
208
- = Facebook Auto Publish 1.2 =
209
- * Option to configure auto publish settings while editing posts/pages
210
- * General setting to enable/disable post publishing
211
- * Added auto publish for scheduled post
212
- * Fixed issue related to \" in auto publish
213
-
214
- = Facebook Auto Publish 1.1.2 =
215
- * Fixed auto-publish of scheduled post
216
-
217
- = Facebook Auto Publish 1.1.1 =
218
- * Added compatibility with wordpress 3.9.1
219
- * Facebook API V 2.0 compatibility added
220
- * Compatibility with bitly plugin
221
-
222
- = Facebook Auto Publish 1.1 =
223
- * View logs for last published post
224
- * Option to enable/disable SSL peer verification
225
- * Option to reauthorize the application
226
-
227
- = Facebook Auto Publish 1.0.2 =
228
- * Bug fixed for &amp;nbsp; in post
229
-
230
- = Facebook Auto Publish 1.0.1 =
231
- * Default image fetch logic for auto publish updated.
232
- * Thumbnail image logic updated.
233
-
234
- = Facebook Auto Publish 1.0 =
235
- * First official launch.
236
-
237
- == Upgrade Notice ==
238
-
239
- = Facebook Auto Publish 1.0.1 =
240
- If you had issues with default image used for auto publishing, you may apply this upgrade.
241
-
242
- = Facebook Auto Publish 1.0 =
243
- First official launch.
244
-
245
- == More Information ==
246
-
247
- ★ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/ "WP Facebook Auto Publish User Guide")
248
- [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook Auto Publish FAQ")
249
-
250
- = Troubleshooting =
251
-
252
- Please read the FAQ first if you are having problems.
253
-
254
- = Requirements =
255
-
256
- WordPress 3.0+
257
- PHP 5.4+
258
-
259
- = Feedback =
260
-
261
- We would like to receive your feedback and suggestions about WP Facebook Auto Publish plugin. You may submit them at our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").
 
 
 
1
+ === WP Facebook Auto Publish ===
2
+ Contributors: f1logic
3
+ Donate link: https://xyzscripts.com/donate/
4
+ Tags: facebook, facebook 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: 4.9.8
7
+ Stable tag: 2.0.1
8
+ License: GPLv2 or later
9
+
10
+ Publish posts automatically to Facebook page or profile.
11
+
12
+ == Description ==
13
+
14
+ A quick look into WP Facebook 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
+ = WP Facebook Auto Publish Features in Detail =
25
+
26
+ The WP Facebook 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 WP Facebook 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 Facebook profile page
39
+ Post to specific pages on Facebook
40
+
41
+ = Filter Settings =
42
+
43
+ The plugin offers multiple kinds of filters for contents to be published automatically.
44
+
45
+ Enable or disable publishing of wordpress pages
46
+ Filter posts to be published based on categories
47
+ Filtering based on custom post types
48
+
49
+ = Message Format Settings =
50
+
51
+ The supported post elements which can be published are given below.
52
+
53
+ Post title
54
+ Post description
55
+ Post excerpt
56
+ Permalink
57
+ Blog title
58
+ User nicename
59
+ Post ID
60
+ Post publish date
61
+
62
+
63
+ = About =
64
+
65
+ WP Facebook 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
+ ★ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP Facebook Auto Publish User Guide")
68
+ ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook Auto Publish FAQ")
69
+
70
+ == Installation ==
71
+
72
+ ★ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP Facebook Auto Publish User Guide")
73
+ ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook 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 WP Facebook Auto Publish.
77
+ 3. You can configure the settings from WP Facebook 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
+ ★ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP Facebook Auto Publish User Guide")
85
+ ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook Auto Publish FAQ")
86
+
87
+ = 1. The WP Facebook 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 `wp facebook 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. Publishing options while creating a post.
126
+
127
+ == Changelog ==
128
+
129
+ = WP Facebook Auto Publish 2.0.1 =
130
+ * Fix for settings page auto refresh
131
+
132
+ = WP Facebook Auto Publish 2.0 =
133
+ * Removed unwanted facebook permissions
134
+ * Added Facebook authorization and publishing using SMAPSolutions.com
135
+ * Increased logs count from 5 to 10
136
+
137
+ = WP Facebook Auto Publish 1.4.9 =
138
+ * Removed Facebook deprecated permission 'publish_actions'
139
+ * Applied wordpress time format in {POST_PUBLISH_DATE}
140
+
141
+ = WP Facebook Auto Publish 1.4.8 =
142
+ * Plugin name changed to WP Facebook Auto Publish, as per wordpress guidelines
143
+
144
+ = Facebook Auto Publish 1.4.7 =
145
+ * Fixed facebook authorisation issue
146
+ * Minor bug fixes
147
+ * UI updated
148
+
149
+ = Facebook Auto Publish 1.4.6 =
150
+ * Added USER_DISPLAY_NAME in message formats
151
+ * Minor security issues fixed
152
+
153
+ = Facebook Auto Publish 1.4.5 =
154
+ * Compatibility with facebook API V 2.11 added
155
+ * Minor bug fixes
156
+
157
+ = Facebook Auto Publish 1.4.4 =
158
+ * Removed Caption from {POST_CONTENT}
159
+ * Fixed Facebook image selection issue for 'Share a link to your blog post' and 'Attach your blog post'
160
+ * Fixed ssl peer verification in wp_remote_get/wp_remote_post calls
161
+
162
+ = Facebook Auto Publish 1.4.3 =
163
+ * Added POST_ID and POST_PUBLISH_DATE in message formats
164
+
165
+ = Facebook Auto Publish 1.4.2 =
166
+ * Fixed facebook boost unavailable issue
167
+ * Nonce added
168
+ * Prevented direct access to plugin files
169
+ * Data validation updated
170
+ * App album related issue fixed
171
+
172
+ = Facebook Auto Publish 1.4.1 =
173
+ * utf-8 decoding issue fixed
174
+ * Visual composer compatiblity issue fixed
175
+ * Minor bugs fixed
176
+
177
+ = Facebook Auto Publish 1.4 =
178
+ * Facebook api updated(requires PHP version 5.4 or higher)
179
+
180
+ = Facebook Auto Publish 1.3.1 =
181
+ * Fixed custom post types autopublish issue
182
+ * Fixed duplicate autopublish issue
183
+
184
+ = Facebook Auto Publish 1.3 =
185
+ * Added option to enable/disable utf-8 decoding before publishing
186
+ * Removed unwanted configuration related to 'future_to_publish' hook
187
+ * Removed unwanted setting "Facebook user id"
188
+ * Postid added in autopublish logs
189
+ * Updated auto publish mechanism using transition_post_status hook
190
+ * Open graph meta tags will be prefered for facebook attachments
191
+
192
+ = Facebook Auto Publish 1.2.4 =
193
+ * Added option to enable/disable "future_to_publish" hook for handling auto publish of scheduled posts
194
+ * Added options to enable/disable "the_content", "the_excerpt", "the_title" filters on content to be auto-published
195
+ * Resolved issue in fetching facebook pages in settings page (in case of more than 100 pages)
196
+ * Inline edit of posts will work according to the value set for "Default selection of auto publish while editing posts/pages"
197
+ * Latest five auto publish logs are maintained
198
+
199
+ = Facebook Auto Publish 1.2.3 =
200
+ * Fixed category display issue
201
+ * Removed outdated facebook scopes from authorization
202
+
203
+ = Facebook Auto Publish 1.2.2 =
204
+ * Bug fix for duplicate publishing of scheduled posts
205
+
206
+ = Facebook Auto Publish 1.2.1 =
207
+ * Fixed auto publish related bug in post edit
208
+ * Fixed message format bug in auto publish
209
+ * Updated Facebook authorization
210
+
211
+ = Facebook Auto Publish 1.2 =
212
+ * Option to configure auto publish settings while editing posts/pages
213
+ * General setting to enable/disable post publishing
214
+ * Added auto publish for scheduled post
215
+ * Fixed issue related to \" in auto publish
216
+
217
+ = Facebook Auto Publish 1.1.2 =
218
+ * Fixed auto-publish of scheduled post
219
+
220
+ = Facebook Auto Publish 1.1.1 =
221
+ * Added compatibility with wordpress 3.9.1
222
+ * Facebook API V 2.0 compatibility added
223
+ * Compatibility with bitly plugin
224
+
225
+ = Facebook Auto Publish 1.1 =
226
+ * View logs for last published post
227
+ * Option to enable/disable SSL peer verification
228
+ * Option to reauthorize the application
229
+
230
+ = Facebook Auto Publish 1.0.2 =
231
+ * Bug fixed for &amp;nbsp; in post
232
+
233
+ = Facebook Auto Publish 1.0.1 =
234
+ * Default image fetch logic for auto publish updated.
235
+ * Thumbnail image logic updated.
236
+
237
+ = Facebook Auto Publish 1.0 =
238
+ * First official launch.
239
+
240
+ == Upgrade Notice ==
241
+
242
+ = Facebook Auto Publish 1.0.1 =
243
+ If you had issues with default image used for auto publishing, you may apply this upgrade.
244
+
245
+ = Facebook Auto Publish 1.0 =
246
+ First official launch.
247
+
248
+ == More Information ==
249
+
250
+ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/ "WP Facebook Auto Publish User Guide")
251
+ ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook Auto Publish FAQ")
252
+
253
+ = Troubleshooting =
254
+
255
+ Please read the FAQ first if you are having problems.
256
+
257
+ = Requirements =
258
+
259
+ WordPress 3.0+
260
+ PHP 5.4+
261
+
262
+ = Feedback =
263
+
264
+ We would like to receive your feedback and suggestions about WP Facebook Auto Publish plugin. You may submit them at our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").