WP Facebook Auto Publish - Version 1.4.6

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

Code changes from version 1.4.5 to 1.4.6

admin/about.php CHANGED
@@ -157,7 +157,7 @@ Facebook Auto Publish automatically publishes posts from your blog to your Face
157
  </tr>
158
 
159
  <tr>
160
- <td>Hash Tags support for Facebook, Twitter, Pinterest and Google plus</td>
161
  <td><img src="<?php echo plugins_url("images/cross.png",__FILE__);?>">
162
  </td>
163
  <td><img src="<?php echo plugins_url("images/tick.png",__FILE__);?>">
@@ -417,4 +417,4 @@ Facebook Auto Publish automatically publishes posts from your blog to your Face
417
  <span style="color: #FF8000;font-size: 14px;font-weight: bold;"> * </span> Pinterest and Google Plus are added on experimental basis.
418
  <?php
419
 
420
- ?>
157
  </tr>
158
 
159
  <tr>
160
+ <td>Hash Tags support for Facebook, Twitter, Linkedin, Pinterest and Google plus</td>
161
  <td><img src="<?php echo plugins_url("images/cross.png",__FILE__);?>">
162
  </td>
163
  <td><img src="<?php echo plugins_url("images/tick.png",__FILE__);?>">
417
  <span style="color: #FF8000;font-size: 14px;font-weight: bold;"> * </span> Pinterest and Google Plus are added on experimental basis.
418
  <?php
419
 
420
+ ?>
admin/authorization.php CHANGED
@@ -3,8 +3,11 @@ if( !defined('ABSPATH') ){ exit();}
3
  $app_id = get_option('xyz_fbap_application_id');
4
  $app_secret = get_option('xyz_fbap_application_secret');
5
  $redirecturl=admin_url('admin.php?page=facebook-auto-publish-settings&auth=1');
6
-
7
  $my_url=urlencode($redirecturl);
 
 
 
 
8
 
9
  if ( xyz_fbap_is_session_started() === FALSE ) session_start();
10
 
3
  $app_id = get_option('xyz_fbap_application_id');
4
  $app_secret = get_option('xyz_fbap_application_secret');
5
  $redirecturl=admin_url('admin.php?page=facebook-auto-publish-settings&auth=1');
 
6
  $my_url=urlencode($redirecturl);
7
+ if(isset($_POST) && isset($_POST['fb_auth'] ))
8
+ {
9
+ ob_clean();
10
+ }
11
 
12
  if ( xyz_fbap_is_session_started() === FALSE ) session_start();
13
 
admin/footer.php CHANGED
@@ -1,177 +1,177 @@
1
- <?php
2
- if( !defined('ABSPATH') ){ exit();}
3
- if(get_option('xyz_fbap_premium_version_ads')==1){?>
4
- <div id="xyz-wp-fbap-premium">
5
-
6
- <div style="float: left; padding: 0 5px">
7
- <h2 style="vertical-align: middle;">
8
- <a target="_blank"
9
- href="http://xyzscripts.com/wordpress-plugins/social-media-auto-publish/features">Fully
10
- Featured XYZ WP SMAP Premium Plugin</a> - Just 39 USD
11
- </h2>
12
- </div>
13
- <div style="float: left; margin-top: 3px">
14
- <a target="_blank"
15
- href="http://xyzscripts.com/members/product/purchase/XYZWPSMPPRE"><img class="hoverImages"
16
- src="<?php echo plugins_url("facebook-auto-publish/admin/images/orange_buynow.png"); ?>">
17
- </a>
18
- </div>
19
- <div style="float: left; padding: 0 5px">
20
- <h2 style="vertical-align: middle;text-shadow: 1px 1px 1px #686868">
21
- ( <a href="<?php echo admin_url('admin.php?page=facebook-auto-publish-about');?>">Compare Features</a> )
22
- </h2>
23
- </div>
24
- </div>
25
- <?php }?>
26
-
27
- <div style="clear: both;"></div>
28
-
29
-
30
- <p></p>
31
-
32
- <div style="width: 100%">
33
-
34
- <div class="xyz_feedback">
35
-
36
-
37
- <a target="_blank" href="http://xyzscripts.com/donate/1" class="xyz_donate">Donate a dollar</a> ★
38
- <a target="_blank" href="http://wordpress.org/support/view/plugin-reviews/facebook-auto-publish" class="xyz_star">Rate this plugin</a> ★
39
- <a target="_blank" href="http://xyzscripts.com/support/" class="xyz_suggest">Suggestions</a> ★
40
- <a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_fbook">Like us on facebook</a> ★
41
- <a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_twitt">Follow us on twitter</a> ★
42
- <a target="_blank" href="https://plus.google.com/+Xyzscripts" class="xyz_gplus">+1 us on Google+</a>
43
-
44
-
45
- </div>
46
-
47
- <p></p>
48
-
49
- <div class="xyz_subscribe">
50
-
51
- <script language="javascript">
52
- function check_email(emailString)
53
- {
54
- var mailPattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/;
55
- var matchArray = emailString.match(mailPattern);
56
- if (emailString.length == 0)
57
- return false;
58
-
59
- if (matchArray == null) {
60
- return false;
61
- }else{
62
- return true;
63
- }
64
- }
65
-
66
-
67
- function verify_lists(form)
68
- {
69
-
70
- var total=0;
71
- var checkBox=form['chk[]'];
72
-
73
- if(checkBox.length){
74
-
75
- for(var i=0;i<checkBox.length;i++){
76
- checkBox[i].checked?total++:null;
77
- }
78
- }else{
79
-
80
- checkBox.checked?total++:null;
81
-
82
- }
83
- if(total>0){
84
- return true;
85
- }else{
86
- return false;
87
- }
88
-
89
- }
90
-
91
- function verify_fields()
92
- {
93
-
94
- if(check_email(document.email_subscription.email.value) == false){
95
- alert("Please check whether the email is correct.");
96
- document.email_subscription.email.select();
97
- return false;
98
- }else if(verify_lists(document.email_subscription)==false){
99
- alert("Select atleast one list.");
100
- }
101
- else{
102
- document.email_subscription.submit();
103
- }
104
-
105
- }
106
- </script>
107
- <?php global $current_user; wp_get_current_user(); ?>
108
- <form action=http://xyzscripts.com/newsletter/index.php?page=list/subscribe method="post" name="email_subscription" id="email_subscription" >
109
- <input type="hidden" name="fieldNameIds" value="1,">
110
- <input type="hidden" name="redirActive" value="http://xyzscripts.com/subscription/pending/XYZWPSMPPRE">
111
- <input type="hidden" name="redirPending" value="http://xyzscripts.com/subscription/active/XYZWPSMPPRE">
112
- <input type="hidden" name="mode" value="1">
113
-
114
- <b>Stay tuned to our updates :</b>
115
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
116
-
117
- Name :
118
- <input style="border: 1px solid #3fafe3; margin-right:10px;padding:5px;" type="text" name="field1" value="<?php
119
- if ($current_user->user_firstname != "" || $current_user->user_lastname != "")
120
- {
121
- echo esc_html($current_user->user_firstname) . " " . esc_html($current_user->user_lastname);
122
- }
123
- else if (strcasecmp($current_user->display_name, 'admin')!=0 && strcasecmp($current_user->display_name , "administrator")!=0 )
124
- {
125
- echo esc_html($current_user->display_name);
126
- }
127
- else if (strcasecmp($current_user->user_login ,"admin")!=0 && strcasecmp($current_user->user_login , "administrator")!=0 )
128
- {
129
- echo esc_html($current_user->user_login);
130
- }
131
- ?>" >
132
-
133
- Email Address :
134
- <input style="border: 1px solid #3fafe3;padding:5px;" name="email"
135
- type="text" value="<?php echo esc_html($current_user->user_email); ?>" /><span style="color:#FF0000">*</span>
136
-
137
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
138
- <input class="submit_fbap" type="submit" value="Subscribe" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
139
-
140
- <input type="hidden" name="listName" value="7,1,"/>
141
- </form>
142
-
143
-
144
-
145
- </div>
146
-
147
-
148
- <p></p>
149
-
150
- <div style="padding-top: ;" class="xyz_plugins">
151
- Our Plugins :
152
-
153
- <a target="_blank" href="http://wordpress.org/plugins/contact-form-manager/">Contact Form Manager</a> ★
154
- <a target="_blank" href="http://wordpress.org/plugins/facebook-auto-publish/">Facebook Auto Publish</a> ★
155
- <a target="_blank" href="http://wordpress.org/plugins/full-screen-popup/">Full Screen Popup</a> ★
156
- <a target="_blank" href="http://wordpress.org/plugins/insert-html-snippet/">Insert HTML Snippet</a> ★
157
- <a target="_blank" href="http://wordpress.org/plugins/insert-php-code-snippet/">Insert PHP Code Snippet</a> ★
158
- <a target="_blank" href="http://wordpress.org/plugins/lightbox-pop/">Lightbox Pop</a> ★
159
- <a target="_blank" href="http://wordpress.org/plugins/linkedin-auto-publish/">LinkedIn Auto Publish</a> ★
160
- <a target="_blank" href="http://wordpress.org/plugins/newsletter-manager/">Newsletter Manager</a>★
161
- <a target="_blank" href="http://wordpress.org/plugins/popup-dialog-box/">Popup Dialog Box</a> ★
162
- <a target="_blank" href="http://wordpress.org/plugins/quick-bar/">Quick Bar</a> ★
163
- <a target="_blank" href="http://wordpress.org/plugins/quick-box-popup/">Quick Box Popup</a> ★
164
- <a target="_blank" href="http://wordpress.org/plugins/social-media-auto-publish/">Social Media Auto Publish</a> ★
165
- <a target="_blank" href="http://wordpress.org/plugins/twitter-auto-publish/">Twitter Auto Publish</a> ★
166
- <a target="_blank" href="http://wordpress.org/plugins/custom-field-manager/">Custom Field Manager</a> ★
167
- <a target="_blank" href="http://wordpress.org/plugins/wp-filter-posts/">WP Filter Posts</a> ★
168
- <a target="_blank" href="https://wordpress.org/plugins/wp-gallery-manager/">WP Gallery Manager</a>
169
- </div>
170
-
171
- <div style="padding-top: 10px;text-align: center;">
172
- Powered by <a href="http://xyzscripts.com" target="_blank">XYZScripts</a>
173
- </div>
174
-
175
- <div style="clear: both;"></div>
176
-
177
  </div>
1
+ <?php
2
+ if( !defined('ABSPATH') ){ exit();}
3
+ if(get_option('xyz_fbap_premium_version_ads')==1){?>
4
+ <div id="xyz-wp-fbap-premium">
5
+
6
+ <div style="float: left; padding: 0 5px">
7
+ <h2 style="vertical-align: middle;">
8
+ <a target="_blank"
9
+ href="http://xyzscripts.com/wordpress-plugins/social-media-auto-publish/features">Fully
10
+ Featured XYZ WP SMAP Premium Plugin</a> - Just 39 USD
11
+ </h2>
12
+ </div>
13
+ <div style="float: left; margin-top: 3px">
14
+ <a target="_blank"
15
+ href="http://xyzscripts.com/members/product/purchase/XYZWPSMPPRE"><img class="hoverImages"
16
+ src="<?php echo plugins_url("facebook-auto-publish/admin/images/orange_buynow.png"); ?>">
17
+ </a>
18
+ </div>
19
+ <div style="float: left; padding: 0 5px">
20
+ <h2 style="vertical-align: middle;text-shadow: 1px 1px 1px #686868">
21
+ ( <a href="<?php echo admin_url('admin.php?page=facebook-auto-publish-about');?>">Compare Features</a> )
22
+ </h2>
23
+ </div>
24
+ </div>
25
+ <?php }?>
26
+
27
+ <div style="clear: both;"></div>
28
+
29
+
30
+ <p></p>
31
+
32
+ <div style="width: 100%">
33
+
34
+ <div class="xyz_feedback">
35
+
36
+
37
+ <a target="_blank" href="http://xyzscripts.com/donate/1" class="xyz_donate">Donate a dollar</a> ★
38
+ <a target="_blank" href="http://wordpress.org/support/view/plugin-reviews/facebook-auto-publish" class="xyz_star">Rate this plugin</a> ★
39
+ <a target="_blank" href="http://xyzscripts.com/support/" class="xyz_suggest">Suggestions</a> ★
40
+ <a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_fbook">Like us on facebook</a> ★
41
+ <a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_twitt">Follow us on twitter</a> ★
42
+ <a target="_blank" href="https://plus.google.com/+Xyzscripts" class="xyz_gplus">+1 us on Google+</a>
43
+
44
+
45
+ </div>
46
+
47
+ <p></p>
48
+
49
+ <div class="xyz_subscribe">
50
+
51
+ <script language="javascript">
52
+ function check_email(emailString)
53
+ {
54
+ var mailPattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/;
55
+ var matchArray = emailString.match(mailPattern);
56
+ if (emailString.length == 0)
57
+ return false;
58
+
59
+ if (matchArray == null) {
60
+ return false;
61
+ }else{
62
+ return true;
63
+ }
64
+ }
65
+
66
+
67
+ function verify_lists(form)
68
+ {
69
+
70
+ var total=0;
71
+ var checkBox=form['chk[]'];
72
+
73
+ if(checkBox.length){
74
+
75
+ for(var i=0;i<checkBox.length;i++){
76
+ checkBox[i].checked?total++:null;
77
+ }
78
+ }else{
79
+
80
+ checkBox.checked?total++:null;
81
+
82
+ }
83
+ if(total>0){
84
+ return true;
85
+ }else{
86
+ return false;
87
+ }
88
+
89
+ }
90
+
91
+ function verify_fields()
92
+ {
93
+
94
+ if(check_email(document.email_subscription.email.value) == false){
95
+ alert("Please check whether the email is correct.");
96
+ document.email_subscription.email.select();
97
+ return false;
98
+ }else if(verify_lists(document.email_subscription)==false){
99
+ alert("Select atleast one list.");
100
+ }
101
+ else{
102
+ document.email_subscription.submit();
103
+ }
104
+
105
+ }
106
+ </script>
107
+ <?php global $current_user; wp_get_current_user(); ?>
108
+ <form action=http://xyzscripts.com/newsletter/index.php?page=list/subscribe method="post" name="email_subscription" id="email_subscription" >
109
+ <input type="hidden" name="fieldNameIds" value="1,">
110
+ <input type="hidden" name="redirActive" value="http://xyzscripts.com/subscription/pending/XYZWPSMPPRE">
111
+ <input type="hidden" name="redirPending" value="http://xyzscripts.com/subscription/active/XYZWPSMPPRE">
112
+ <input type="hidden" name="mode" value="1">
113
+
114
+ <b>Stay tuned to our updates :</b>
115
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
116
+
117
+ Name :
118
+ <input style="border: 1px solid #3fafe3; margin-right:10px;padding:5px;" type="text" name="field1" value="<?php
119
+ if ($current_user->user_firstname != "" || $current_user->user_lastname != "")
120
+ {
121
+ echo esc_html($current_user->user_firstname) . " " . esc_html($current_user->user_lastname);
122
+ }
123
+ else if (strcasecmp($current_user->display_name, 'admin')!=0 && strcasecmp($current_user->display_name , "administrator")!=0 )
124
+ {
125
+ echo esc_html($current_user->display_name);
126
+ }
127
+ else if (strcasecmp($current_user->user_login ,"admin")!=0 && strcasecmp($current_user->user_login , "administrator")!=0 )
128
+ {
129
+ echo esc_html($current_user->user_login);
130
+ }
131
+ ?>" >
132
+
133
+ Email Address :
134
+ <input style="border: 1px solid #3fafe3;padding:5px;" name="email"
135
+ type="text" value="<?php echo esc_html($current_user->user_email); ?>" /><span style="color:#FF0000">*</span>
136
+
137
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
138
+ <input class="submit_fbap" type="submit" value="Subscribe" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
139
+
140
+ <input type="hidden" name="listName" value="7,1,"/>
141
+ </form>
142
+
143
+
144
+
145
+ </div>
146
+
147
+
148
+ <p></p>
149
+
150
+ <div style="padding-top: ;" class="xyz_plugins">
151
+ Our Plugins :
152
+
153
+ <a target="_blank" href="http://wordpress.org/plugins/contact-form-manager/">Contact Form Manager</a> ★
154
+ <a target="_blank" href="http://wordpress.org/plugins/facebook-auto-publish/">Facebook Auto Publish</a> ★
155
+ <a target="_blank" href="http://wordpress.org/plugins/full-screen-popup/">Full Screen Popup</a> ★
156
+ <a target="_blank" href="http://wordpress.org/plugins/insert-html-snippet/">Insert HTML Snippet</a> ★
157
+ <a target="_blank" href="http://wordpress.org/plugins/insert-php-code-snippet/">Insert PHP Code Snippet</a> ★
158
+ <a target="_blank" href="http://wordpress.org/plugins/lightbox-pop/">Lightbox Pop</a> ★
159
+ <a target="_blank" href="http://wordpress.org/plugins/linkedin-auto-publish/">LinkedIn Auto Publish</a> ★
160
+ <a target="_blank" href="http://wordpress.org/plugins/newsletter-manager/">Newsletter Manager</a>★
161
+ <a target="_blank" href="http://wordpress.org/plugins/popup-dialog-box/">Popup Dialog Box</a> ★
162
+ <a target="_blank" href="http://wordpress.org/plugins/quick-bar/">Quick Bar</a> ★
163
+ <a target="_blank" href="http://wordpress.org/plugins/quick-box-popup/">Quick Box Popup</a> ★
164
+ <a target="_blank" href="http://wordpress.org/plugins/social-media-auto-publish/">Social Media Auto Publish</a> ★
165
+ <a target="_blank" href="http://wordpress.org/plugins/twitter-auto-publish/">Twitter Auto Publish</a> ★
166
+ <a target="_blank" href="http://wordpress.org/plugins/custom-field-manager/">Custom Field Manager</a> ★
167
+ <a target="_blank" href="http://wordpress.org/plugins/wp-filter-posts/">WP Filter Posts</a> ★
168
+ <a target="_blank" href="https://wordpress.org/plugins/wp-gallery-manager/">WP Gallery Manager</a>
169
+ </div>
170
+
171
+ <div style="padding-top: 10px;text-align: center;">
172
+ Powered by <a href="http://xyzscripts.com" target="_blank">XYZScripts</a>
173
+ </div>
174
+
175
+ <div style="clear: both;"></div>
176
+
177
  </div>
admin/menu.php CHANGED
@@ -63,7 +63,10 @@ function xyz_fbap_logs()
63
  add_action('wp_head', 'xyz_fbap_insert_og_image_for_fb');
64
  function xyz_fbap_insert_og_image_for_fb(){
65
 
66
- global $post;
 
 
 
67
  $postid= $post->ID;
68
  if(isset($postid ) && $postid>0)
69
  {
@@ -81,5 +84,6 @@ function xyz_fbap_insert_og_image_for_fb(){
81
  }
82
  }
83
  }
 
84
 
85
  ?>
63
  add_action('wp_head', 'xyz_fbap_insert_og_image_for_fb');
64
  function xyz_fbap_insert_og_image_for_fb(){
65
 
66
+ global $post;
67
+ if (empty($post))
68
+ $post=get_post();
69
+ if (!empty($post)){
70
  $postid= $post->ID;
71
  if(isset($postid ) && $postid>0)
72
  {
84
  }
85
  }
86
  }
87
+ }
88
 
89
  ?>
admin/metabox.php CHANGED
@@ -13,14 +13,14 @@ function xyz_fbap_add_custom_box()
13
 
14
  if(isset($_GET['action']) && $_GET['action']=="edit" && !empty($_GET['post'])) /// empty check added for fixing client scenario
15
  {
16
- $postid=$_GET['post'];
17
  $get_post_meta=get_post_meta($postid,"xyz_fbap",true);
18
  if($get_post_meta==1){
19
  $GLOBALS['edit_flag']=1;
20
  }
21
  global $wpdb;
22
  $table='posts';
23
- $accountCount = $wpdb->query( 'SELECT * FROM '.$wpdb->prefix.$table.' WHERE id="'.$postid.'" and post_status!="draft" LIMIT 0,1' ) ;
24
  if($accountCount>0){
25
  $GLOBALS['edit_flag']=1;
26
  }
@@ -234,6 +234,7 @@ function inArray(needle, haystack) {
234
  of your blog.<br />{USER_NICENAME} - Insert the nicename
235
  of the author.<br />{POST_ID} - Insert the ID of your post.
236
  <br />{POST_PUBLISH_DATE} - Insert the publish date of your post.
 
237
  </div>
238
  </td>
239
  <td>
@@ -247,6 +248,7 @@ function inArray(needle, haystack) {
247
  <option value ="6">{USER_NICENAME} </option>
248
  <option value ="7">{POST_ID} </option>
249
  <option value ="8">{POST_PUBLISH_DATE} </option>
 
250
  </select> </td></tr>
251
 
252
  <tr id="fpabpmftarea"><td>&nbsp;</td><td>
13
 
14
  if(isset($_GET['action']) && $_GET['action']=="edit" && !empty($_GET['post'])) /// empty check added for fixing client scenario
15
  {
16
+ $postid=intval($_GET['post']);
17
  $get_post_meta=get_post_meta($postid,"xyz_fbap",true);
18
  if($get_post_meta==1){
19
  $GLOBALS['edit_flag']=1;
20
  }
21
  global $wpdb;
22
  $table='posts';
23
+ $accountCount = $wpdb->query($wpdb->prepare( 'SELECT * FROM '.$wpdb->prefix.$table.' WHERE id=%d and post_status!=%s LIMIT %d,%d',array($postid,'draft',0,1) )) ;
24
  if($accountCount>0){
25
  $GLOBALS['edit_flag']=1;
26
  }
234
  of your blog.<br />{USER_NICENAME} - Insert the nicename
235
  of the author.<br />{POST_ID} - Insert the ID of your post.
236
  <br />{POST_PUBLISH_DATE} - Insert the publish date of your post.
237
+ <br />{USER_DISPLAY_NAME} - Insert the display name of the author.
238
  </div>
239
  </td>
240
  <td>
248
  <option value ="6">{USER_NICENAME} </option>
249
  <option value ="7">{POST_ID} </option>
250
  <option value ="8">{POST_PUBLISH_DATE} </option>
251
+ <option value= "9">{USER_DISPLAY_NAME}</option>
252
  </select> </td></tr>
253
 
254
  <tr id="fpabpmftarea"><td>&nbsp;</td><td>
admin/publish.php CHANGED
@@ -94,10 +94,12 @@ function xyz_fbap_link_publish($post_ID) {
94
  $af=get_option('xyz_fbap_af');
95
 
96
  $postpp= get_post($post_ID);global $wpdb;
97
- $entries0 = $wpdb->get_results( 'SELECT user_nicename FROM '.$wpdb->prefix.'users WHERE ID='.$postpp->post_author);
98
 
99
  foreach( $entries0 as $entry ) {
100
- $user_nicename=$entry->user_nicename;}
 
 
101
  if ($postpp->post_status == 'publish')
102
  {
103
  $posttype=$postpp->post_type;
@@ -278,6 +280,7 @@ function xyz_fbap_link_publish($post_ID) {
278
  $message4=str_replace('{POST_EXCERPT}', $excerpt, $message3);
279
  $message5=str_replace('{POST_CONTENT}', $description, $message4);
280
  $message5=str_replace('{USER_NICENAME}', $user_nicename, $message5);
 
281
  $publish_time=get_the_time('Y/m/d',$post_ID );
282
  $message5=str_replace('{POST_PUBLISH_DATE}', $publish_time, $message5);
283
  $message5=str_replace('{POST_ID}', $post_ID, $message5);
94
  $af=get_option('xyz_fbap_af');
95
 
96
  $postpp= get_post($post_ID);global $wpdb;
97
+ $entries0 = $wpdb->get_results($wpdb->prepare( 'SELECT user_nicename,display_name FROM '.$wpdb->prefix.'users WHERE ID=%d',$postpp->post_author));
98
 
99
  foreach( $entries0 as $entry ) {
100
+ $user_nicename=$entry->user_nicename;
101
+ $user_displayname=$entry->display_name;
102
+ }
103
  if ($postpp->post_status == 'publish')
104
  {
105
  $posttype=$postpp->post_type;
280
  $message4=str_replace('{POST_EXCERPT}', $excerpt, $message3);
281
  $message5=str_replace('{POST_CONTENT}', $description, $message4);
282
  $message5=str_replace('{USER_NICENAME}', $user_nicename, $message5);
283
+ $message5=str_replace('{USER_DISPLAY_NAME}', $user_displayname, $message5);
284
  $publish_time=get_the_time('Y/m/d',$post_ID );
285
  $message5=str_replace('{POST_PUBLISH_DATE}', $publish_time, $message5);
286
  $message5=str_replace('{POST_ID}', $post_ID, $message5);
admin/settings.php CHANGED
@@ -312,6 +312,7 @@ function dethide(id)
312
  of your blog.<br />{USER_NICENAME} - Insert the nicename
313
  of the author.<br />{POST_ID} - Insert the ID of your post.
314
  <br />{POST_PUBLISH_DATE} - Insert the publish date of your post.
 
315
  </div></td>
316
  <td>
317
  <select name="xyz_fbap_info" id="xyz_fbap_info" onchange="xyz_fbap_info_insert(this)">
@@ -324,6 +325,7 @@ function dethide(id)
324
  <option value ="6">{USER_NICENAME} </option>
325
  <option value ="7">{POST_ID} </option>
326
  <option value ="8">{POST_PUBLISH_DATE} </option>
 
327
  </select> </td></tr><tr><td>&nbsp;</td><td>
328
  <textarea id="xyz_fbap_message" name="xyz_fbap_message" style="height:80px !important;" ><?php if($ms4==""){
329
  echo esc_textarea(get_option('xyz_fbap_message'));}?></textarea>
312
  of your blog.<br />{USER_NICENAME} - Insert the nicename
313
  of the author.<br />{POST_ID} - Insert the ID of your post.
314
  <br />{POST_PUBLISH_DATE} - Insert the publish date of your post.
315
+ <br />{USER_DISPLAY_NAME} - Insert the display name of the author.
316
  </div></td>
317
  <td>
318
  <select name="xyz_fbap_info" id="xyz_fbap_info" onchange="xyz_fbap_info_insert(this)">
325
  <option value ="6">{USER_NICENAME} </option>
326
  <option value ="7">{POST_ID} </option>
327
  <option value ="8">{POST_PUBLISH_DATE} </option>
328
+ <option value= "9">{USER_DISPLAY_NAME}</option>
329
  </select> </td></tr><tr><td>&nbsp;</td><td>
330
  <textarea id="xyz_fbap_message" name="xyz_fbap_message" style="height:80px !important;" ><?php if($ms4==""){
331
  echo esc_textarea(get_option('xyz_fbap_message'));}?></textarea>
facebook-auto-publish.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Facebook Auto Publish
4
  Plugin URI: http://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: 1.4.5
7
  Author: xyzscripts.com
8
  Author URI: http://xyzscripts.com/
9
  License: GPLv2 or later
@@ -29,7 +29,7 @@ if ( !function_exists( 'add_action' ) ) {
29
  echo "Hi there! I'm just a plugin, not much I can do when called directly.";
30
  exit;
31
  }
32
- ob_start();
33
  //error_reporting(E_ALL);
34
  define('XYZ_FBAP_PLUGIN_FILE',__FILE__);
35
  define('XYZ_FBAP_FB_API_VERSION','v2.6');
@@ -42,8 +42,11 @@ define('XYZ_FBAP_FB_API_VERSION','v2.6');
42
  //define('XYZ_FBAP_FB_www','https://www.facebook.com/'.XYZ_FBAP_FB_API_VERSION.'/');
43
 
44
  global $wpdb;
45
- $wpdb->query('SET SQL_MODE=""');
46
-
 
 
 
47
  require_once( dirname( __FILE__ ) . '/admin/install.php' );
48
  require_once( dirname( __FILE__ ) . '/xyz-functions.php' );
49
  require_once( dirname( __FILE__ ) . '/admin/menu.php' );
3
  Plugin Name: Facebook Auto Publish
4
  Plugin URI: http://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: 1.4.6
7
  Author: xyzscripts.com
8
  Author URI: http://xyzscripts.com/
9
  License: GPLv2 or later
29
  echo "Hi there! I'm just a plugin, not much I can do when called directly.";
30
  exit;
31
  }
32
+ //ob_start();
33
  //error_reporting(E_ALL);
34
  define('XYZ_FBAP_PLUGIN_FILE',__FILE__);
35
  define('XYZ_FBAP_FB_API_VERSION','v2.6');
42
  //define('XYZ_FBAP_FB_www','https://www.facebook.com/'.XYZ_FBAP_FB_API_VERSION.'/');
43
 
44
  global $wpdb;
45
+ //$wpdb->query('SET SQL_MODE=""');
46
+ if(isset($_POST) && isset($_POST['fb_auth'] ))
47
+ {
48
+ ob_start();
49
+ }
50
  require_once( dirname( __FILE__ ) . '/admin/install.php' );
51
  require_once( dirname( __FILE__ ) . '/xyz-functions.php' );
52
  require_once( dirname( __FILE__ ) . '/admin/menu.php' );
readme.txt CHANGED
@@ -1,240 +1,244 @@
1
- === Facebook Auto Publish ===
2
- Contributors: f1logic
3
- Donate link: http://xyzscripts.com/donate/
4
- Tags: facebook, 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.8.3
7
- Stable tag: 1.4.5
8
- License: GPLv2 or later
9
-
10
- Publish posts automatically to Facebook page or profile.
11
-
12
- == Description ==
13
-
14
- A quick look into 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
- = Facebook Auto Publish Features in Detail =
25
-
26
- The 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 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
- Facebook Auto Publish is developed and maintained by [XYZScripts](http://xyzscripts.com/ "xyzscripts.com"). For any support, you may [contact us](http://xyzscripts.com/support/ "XYZScripts Support").
66
-
67
- ★ [Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "Facebook Auto Publish User Guide")
68
- ★ [Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "Facebook Auto Publish FAQ")
69
-
70
- == Installation ==
71
-
72
- ★ [Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "Facebook Auto Publish User Guide")
73
- ★ [Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "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 Facebook Auto Publish.
77
- 3. You can configure the settings from 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](http://xyzscripts.com/support/ "XYZScripts Support").
81
-
82
- == Frequently Asked Questions ==
83
-
84
- ★ [Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "Facebook Auto Publish User Guide")
85
- ★ [Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "Facebook Auto Publish FAQ")
86
-
87
- = 1. The 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 `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](http://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
- = Facebook Auto Publish 1.4.5 =
130
- * Compatibility with facebook API V 2.11 added
131
- * Minor bug fixes
132
-
133
- = Facebook Auto Publish 1.4.4 =
134
- * Removed Caption from {POST_CONTENT}
135
- * Fixed Facebook image selection issue for 'Share a link to your blog post' and 'Attach your blog post'
136
- * Fixed ssl peer verification in wp_remote_get/wp_remote_post calls
137
-
138
- = Facebook Auto Publish 1.4.3 =
139
- * Added POST_ID and POST_PUBLISH_DATE in message formats
140
-
141
- = Facebook Auto Publish 1.4.2 =
142
- * Fixed facebook boost unavailable issue
143
- * Nonce added
144
- * Prevented direct access to plugin files
145
- * Data validation updated
146
- * App album related issue fixed
147
-
148
- = Facebook Auto Publish 1.4.1 =
149
- * utf-8 decoding issue fixed
150
- * Visual composer compatiblity issue fixed
151
- * Minor bugs fixed
152
-
153
- = Facebook Auto Publish 1.4 =
154
- * Facebook api updated(requires PHP version 5.4 or higher)
155
-
156
- = Facebook Auto Publish 1.3.1 =
157
- * Fixed custom post types autopublish issue
158
- * Fixed duplicate autopublish issue
159
-
160
- = Facebook Auto Publish 1.3 =
161
- * Added option to enable/disable utf-8 decoding before publishing
162
- * Removed unwanted configuration related to 'future_to_publish' hook
163
- * Removed unwanted setting "Facebook user id"
164
- * Postid added in autopublish logs
165
- * Updated auto publish mechanism using transition_post_status hook
166
- * Open graph meta tags will be prefered for facebook attachments
167
-
168
- = Facebook Auto Publish 1.2.4 =
169
- * Added option to enable/disable "future_to_publish" hook for handling auto publish of scheduled posts
170
- * Added options to enable/disable "the_content", "the_excerpt", "the_title" filters on content to be auto-published
171
- * Resolved issue in fetching facebook pages in settings page (in case of more than 100 pages)
172
- * Inline edit of posts will work according to the value set for "Default selection of auto publish while editing posts/pages"
173
- * Latest five auto publish logs are maintained
174
-
175
- = Facebook Auto Publish 1.2.3 =
176
- * Fixed category display issue
177
- * Removed outdated facebook scopes from authorization
178
-
179
- = Facebook Auto Publish 1.2.2 =
180
- * Bug fix for duplicate publishing of scheduled posts
181
-
182
- = Facebook Auto Publish 1.2.1 =
183
- * Fixed auto publish related bug in post edit
184
- * Fixed message format bug in auto publish
185
- * Updated Facebook authorization
186
-
187
- = Facebook Auto Publish 1.2 =
188
- * Option to configure auto publish settings while editing posts/pages
189
- * General setting to enable/disable post publishing
190
- * Added auto publish for scheduled post
191
- * Fixed issue related to \" in auto publish
192
-
193
- = Facebook Auto Publish 1.1.2 =
194
- * Fixed auto-publish of scheduled post
195
-
196
- = Facebook Auto Publish 1.1.1 =
197
- * Added compatibility with wordpress 3.9.1
198
- * Facebook API V 2.0 compatibility added
199
- * Compatibility with bitly plugin
200
-
201
- = Facebook Auto Publish 1.1 =
202
- * View logs for last published post
203
- * Option to enable/disable SSL peer verification
204
- * Option to reauthorize the application
205
-
206
- = Facebook Auto Publish 1.0.2 =
207
- * Bug fixed for &amp;nbsp; in post
208
-
209
- = Facebook Auto Publish 1.0.1 =
210
- * Default image fetch logic for auto publish updated.
211
- * Thumbnail image logic updated.
212
-
213
- = Facebook Auto Publish 1.0 =
214
- * First official launch.
215
-
216
- == Upgrade Notice ==
217
-
218
- = Facebook Auto Publish 1.0.1 =
219
- If you had issues with default image used for auto publishing, you may apply this upgrade.
220
-
221
- = Facebook Auto Publish 1.0 =
222
- First official launch.
223
-
224
- == More Information ==
225
-
226
- [Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/ "Facebook Auto Publish User Guide")
227
- ★ [Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "Facebook Auto Publish FAQ")
228
-
229
- = Troubleshooting =
230
-
231
- Please read the FAQ first if you are having problems.
232
-
233
- = Requirements =
234
-
235
- WordPress 3.0+
236
- PHP 5.4+
237
-
238
- = Feedback =
239
-
240
- We would like to receive your feedback and suggestions about Facebook Auto Publish plugin. You may submit them at our [support desk](http://xyzscripts.com/support/ "XYZScripts Support").
 
 
 
 
1
+ === Facebook Auto Publish ===
2
+ Contributors: f1logic
3
+ Donate link: http://xyzscripts.com/donate/
4
+ Tags: facebook, 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.1
7
+ Stable tag: 1.4.6
8
+ License: GPLv2 or later
9
+
10
+ Publish posts automatically to Facebook page or profile.
11
+
12
+ == Description ==
13
+
14
+ A quick look into 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
+ = Facebook Auto Publish Features in Detail =
25
+
26
+ The 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 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
+ Facebook Auto Publish is developed and maintained by [XYZScripts](http://xyzscripts.com/ "xyzscripts.com"). For any support, you may [contact us](http://xyzscripts.com/support/ "XYZScripts Support").
66
+
67
+ ★ [Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "Facebook Auto Publish User Guide")
68
+ ★ [Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "Facebook Auto Publish FAQ")
69
+
70
+ == Installation ==
71
+
72
+ ★ [Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "Facebook Auto Publish User Guide")
73
+ ★ [Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "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 Facebook Auto Publish.
77
+ 3. You can configure the settings from 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](http://xyzscripts.com/support/ "XYZScripts Support").
81
+
82
+ == Frequently Asked Questions ==
83
+
84
+ ★ [Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "Facebook Auto Publish User Guide")
85
+ ★ [Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "Facebook Auto Publish FAQ")
86
+
87
+ = 1. The 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 `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](http://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
+ = Facebook Auto Publish 1.4.6 =
130
+ * Added USER_DISPLAY_NAME in message formats
131
+ * Minor security issues fixed
132
+
133
+ = Facebook Auto Publish 1.4.5 =
134
+ * Compatibility with facebook API V 2.11 added
135
+ * Minor bug fixes
136
+
137
+ = Facebook Auto Publish 1.4.4 =
138
+ * Removed Caption from {POST_CONTENT}
139
+ * Fixed Facebook image selection issue for 'Share a link to your blog post' and 'Attach your blog post'
140
+ * Fixed ssl peer verification in wp_remote_get/wp_remote_post calls
141
+
142
+ = Facebook Auto Publish 1.4.3 =
143
+ * Added POST_ID and POST_PUBLISH_DATE in message formats
144
+
145
+ = Facebook Auto Publish 1.4.2 =
146
+ * Fixed facebook boost unavailable issue
147
+ * Nonce added
148
+ * Prevented direct access to plugin files
149
+ * Data validation updated
150
+ * App album related issue fixed
151
+
152
+ = Facebook Auto Publish 1.4.1 =
153
+ * utf-8 decoding issue fixed
154
+ * Visual composer compatiblity issue fixed
155
+ * Minor bugs fixed
156
+
157
+ = Facebook Auto Publish 1.4 =
158
+ * Facebook api updated(requires PHP version 5.4 or higher)
159
+
160
+ = Facebook Auto Publish 1.3.1 =
161
+ * Fixed custom post types autopublish issue
162
+ * Fixed duplicate autopublish issue
163
+
164
+ = Facebook Auto Publish 1.3 =
165
+ * Added option to enable/disable utf-8 decoding before publishing
166
+ * Removed unwanted configuration related to 'future_to_publish' hook
167
+ * Removed unwanted setting "Facebook user id"
168
+ * Postid added in autopublish logs
169
+ * Updated auto publish mechanism using transition_post_status hook
170
+ * Open graph meta tags will be prefered for facebook attachments
171
+
172
+ = Facebook Auto Publish 1.2.4 =
173
+ * Added option to enable/disable "future_to_publish" hook for handling auto publish of scheduled posts
174
+ * Added options to enable/disable "the_content", "the_excerpt", "the_title" filters on content to be auto-published
175
+ * Resolved issue in fetching facebook pages in settings page (in case of more than 100 pages)
176
+ * Inline edit of posts will work according to the value set for "Default selection of auto publish while editing posts/pages"
177
+ * Latest five auto publish logs are maintained
178
+
179
+ = Facebook Auto Publish 1.2.3 =
180
+ * Fixed category display issue
181
+ * Removed outdated facebook scopes from authorization
182
+
183
+ = Facebook Auto Publish 1.2.2 =
184
+ * Bug fix for duplicate publishing of scheduled posts
185
+
186
+ = Facebook Auto Publish 1.2.1 =
187
+ * Fixed auto publish related bug in post edit
188
+ * Fixed message format bug in auto publish
189
+ * Updated Facebook authorization
190
+
191
+ = Facebook Auto Publish 1.2 =
192
+ * Option to configure auto publish settings while editing posts/pages
193
+ * General setting to enable/disable post publishing
194
+ * Added auto publish for scheduled post
195
+ * Fixed issue related to \" in auto publish
196
+
197
+ = Facebook Auto Publish 1.1.2 =
198
+ * Fixed auto-publish of scheduled post
199
+
200
+ = Facebook Auto Publish 1.1.1 =
201
+ * Added compatibility with wordpress 3.9.1
202
+ * Facebook API V 2.0 compatibility added
203
+ * Compatibility with bitly plugin
204
+
205
+ = Facebook Auto Publish 1.1 =
206
+ * View logs for last published post
207
+ * Option to enable/disable SSL peer verification
208
+ * Option to reauthorize the application
209
+
210
+ = Facebook Auto Publish 1.0.2 =
211
+ * Bug fixed for &amp;nbsp; in post
212
+
213
+ = Facebook Auto Publish 1.0.1 =
214
+ * Default image fetch logic for auto publish updated.
215
+ * Thumbnail image logic updated.
216
+
217
+ = Facebook Auto Publish 1.0 =
218
+ * First official launch.
219
+
220
+ == Upgrade Notice ==
221
+
222
+ = Facebook Auto Publish 1.0.1 =
223
+ If you had issues with default image used for auto publishing, you may apply this upgrade.
224
+
225
+ = Facebook Auto Publish 1.0 =
226
+ First official launch.
227
+
228
+ == More Information ==
229
+
230
+ ★ [Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/ "Facebook Auto Publish User Guide")
231
+ [Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "Facebook Auto Publish FAQ")
232
+
233
+ = Troubleshooting =
234
+
235
+ Please read the FAQ first if you are having problems.
236
+
237
+ = Requirements =
238
+
239
+ WordPress 3.0+
240
+ PHP 5.4+
241
+
242
+ = Feedback =
243
+
244
+ We would like to receive your feedback and suggestions about Facebook Auto Publish plugin. You may submit them at our [support desk](http://xyzscripts.com/support/ "XYZScripts Support").