WP Facebook Auto Publish - Version 1.4.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 1.4.1
Comparing to
See all releases

Code changes from version 1.4 to 1.4.1

Files changed (108) hide show
  1. admin/about.php +8 -1
  2. admin/admin-notices.php +0 -0
  3. admin/ajax-backlink.php +0 -0
  4. admin/authorization.php +0 -0
  5. admin/destruction.php +0 -0
  6. admin/footer.php +172 -172
  7. admin/header.php +0 -0
  8. admin/images/cross.png +0 -0
  9. admin/images/donate.png +0 -0
  10. admin/images/facebook-logo.png +0 -0
  11. admin/images/fb.gif +0 -0
  12. admin/images/gp.gif +0 -0
  13. admin/images/linkedin.gif +0 -0
  14. admin/images/orange_buynow.png +0 -0
  15. admin/images/star.png +0 -0
  16. admin/images/suggest.png +0 -0
  17. admin/images/support.png +0 -0
  18. admin/images/tick.png +0 -0
  19. admin/images/tw.gif +0 -0
  20. admin/images/twitter-logo.png +0 -0
  21. admin/images/xyz_logo.png +0 -0
  22. admin/install.php +5 -0
  23. admin/logs.php +0 -0
  24. admin/menu.php +0 -0
  25. admin/metabox.php +0 -0
  26. admin/publish.php +1 -0
  27. admin/settings.php +0 -0
  28. admin/style.css +0 -0
  29. api/Facebook/Authentication/AccessToken.php +0 -0
  30. api/Facebook/Authentication/AccessTokenMetadata.php +0 -0
  31. api/Facebook/Authentication/OAuth2Client.php +0 -0
  32. api/Facebook/Exceptions/FacebookAuthenticationException.php +0 -0
  33. api/Facebook/Exceptions/FacebookAuthorizationException.php +0 -0
  34. api/Facebook/Exceptions/FacebookClientException.php +0 -0
  35. api/Facebook/Exceptions/FacebookOtherException.php +0 -0
  36. api/Facebook/Exceptions/FacebookResponseException.php +0 -0
  37. api/Facebook/Exceptions/FacebookResumableUploadException.php +0 -0
  38. api/Facebook/Exceptions/FacebookSDKException.php +0 -0
  39. api/Facebook/Exceptions/FacebookServerException.php +0 -0
  40. api/Facebook/Exceptions/FacebookThrottleException.php +0 -0
  41. api/Facebook/Facebook.php +0 -0
  42. api/Facebook/FacebookApp.php +0 -0
  43. api/Facebook/FacebookBatchRequest.php +0 -0
  44. api/Facebook/FacebookBatchResponse.php +0 -0
  45. api/Facebook/FacebookClient.php +0 -0
  46. api/Facebook/FacebookRequest.php +0 -0
  47. api/Facebook/FacebookResponse.php +0 -0
  48. api/Facebook/FileUpload/FacebookFile.php +0 -0
  49. api/Facebook/FileUpload/FacebookResumableUploader.php +0 -0
  50. api/Facebook/FileUpload/FacebookTransferChunk.php +0 -0
  51. api/Facebook/FileUpload/FacebookVideo.php +0 -0
  52. api/Facebook/FileUpload/Mimetypes.php +0 -0
  53. api/Facebook/GraphNodes/Birthday.php +0 -0
  54. api/Facebook/GraphNodes/Collection.php +0 -0
  55. api/Facebook/GraphNodes/GraphAchievement.php +0 -0
  56. api/Facebook/GraphNodes/GraphAlbum.php +0 -0
  57. api/Facebook/GraphNodes/GraphApplication.php +0 -0
  58. api/Facebook/GraphNodes/GraphCoverPhoto.php +0 -0
  59. api/Facebook/GraphNodes/GraphEdge.php +0 -0
  60. api/Facebook/GraphNodes/GraphEvent.php +0 -0
  61. api/Facebook/GraphNodes/GraphGroup.php +0 -0
  62. api/Facebook/GraphNodes/GraphList.php +0 -0
  63. api/Facebook/GraphNodes/GraphLocation.php +0 -0
  64. api/Facebook/GraphNodes/GraphNode.php +0 -0
  65. api/Facebook/GraphNodes/GraphNodeFactory.php +0 -0
  66. api/Facebook/GraphNodes/GraphObject.php +0 -0
  67. api/Facebook/GraphNodes/GraphObjectFactory.php +0 -0
  68. api/Facebook/GraphNodes/GraphPage.php +0 -0
  69. api/Facebook/GraphNodes/GraphPicture.php +0 -0
  70. api/Facebook/GraphNodes/GraphSessionInfo.php +0 -0
  71. api/Facebook/GraphNodes/GraphUser.php +0 -0
  72. api/Facebook/Helpers/FacebookCanvasHelper.php +0 -0
  73. api/Facebook/Helpers/FacebookJavaScriptHelper.php +0 -0
  74. api/Facebook/Helpers/FacebookPageTabHelper.php +0 -0
  75. api/Facebook/Helpers/FacebookRedirectLoginHelper.php +0 -0
  76. api/Facebook/Helpers/FacebookSignedRequestFromInputHelper.php +0 -0
  77. api/Facebook/Http/GraphRawResponse.php +0 -0
  78. api/Facebook/Http/RequestBodyInterface.php +0 -0
  79. api/Facebook/Http/RequestBodyMultipart.php +0 -0
  80. api/Facebook/Http/RequestBodyUrlEncoded.php +0 -0
  81. api/Facebook/HttpClients/FacebookCurl.php +0 -0
  82. api/Facebook/HttpClients/FacebookCurlHttpClient.php +0 -0
  83. api/Facebook/HttpClients/FacebookGuzzleHttpClient.php +0 -0
  84. api/Facebook/HttpClients/FacebookHttpClientInterface.php +0 -0
  85. api/Facebook/HttpClients/FacebookStream.php +0 -0
  86. api/Facebook/HttpClients/FacebookStreamHttpClient.php +0 -0
  87. api/Facebook/HttpClients/HttpClientsFactory.php +0 -0
  88. api/Facebook/HttpClients/certs/DigiCertHighAssuranceEVRootCA.pem +0 -0
  89. api/Facebook/PersistentData/FacebookMemoryPersistentDataHandler.php +0 -0
  90. api/Facebook/PersistentData/FacebookSessionPersistentDataHandler.php +0 -0
  91. api/Facebook/PersistentData/PersistentDataFactory.php +0 -0
  92. api/Facebook/PersistentData/PersistentDataInterface.php +0 -0
  93. api/Facebook/PseudoRandomString/McryptPseudoRandomStringGenerator.php +0 -0
  94. api/Facebook/PseudoRandomString/OpenSslPseudoRandomStringGenerator.php +0 -0
  95. api/Facebook/PseudoRandomString/PseudoRandomStringGeneratorFactory.php +0 -0
  96. api/Facebook/PseudoRandomString/PseudoRandomStringGeneratorInterface.php +0 -0
  97. api/Facebook/PseudoRandomString/PseudoRandomStringGeneratorTrait.php +0 -0
  98. api/Facebook/PseudoRandomString/UrandomPseudoRandomStringGenerator.php +0 -0
  99. api/Facebook/SignedRequest.php +0 -0
  100. api/Facebook/Url/FacebookUrlDetectionHandler.php +0 -0
  101. api/Facebook/Url/FacebookUrlManipulator.php +0 -0
  102. api/Facebook/Url/UrlDetectionInterface.php +0 -0
  103. api/Facebook/autoload.php +0 -0
  104. api/Facebook/polyfills.php +0 -0
  105. facebook-auto-publish.php +7 -7
  106. js/notice.js +0 -0
  107. readme.txt +11 -6
  108. xyz-functions.php +1 -2
admin/about.php CHANGED
@@ -319,12 +319,19 @@ Facebook Auto Publish automatically publishes posts from your blog to your Face
319
 
320
  <!-- Addons and Support -->
321
  <tr>
322
- <td><h4>Addon Features</h4></td>
323
  <td>Advanced Autopublish Scheduler</td>
324
  <td><img src="<?php echo plugins_url("images/cross.png",__FILE__);?>">
325
  </td>
326
  <td><img src="<?php echo plugins_url("images/tick.png",__FILE__);?>">
327
  </td>
 
 
 
 
 
 
 
328
  </tr>
329
 
330
  </table>
319
 
320
  <!-- Addons and Support -->
321
  <tr>
322
+ <td rowspan="2"><h4>Addon Features</h4></td>
323
  <td>Advanced Autopublish Scheduler</td>
324
  <td><img src="<?php echo plugins_url("images/cross.png",__FILE__);?>">
325
  </td>
326
  <td><img src="<?php echo plugins_url("images/tick.png",__FILE__);?>">
327
  </td>
328
+ </tr>
329
+ <tr>
330
+ <td>URL-Shortener</td>
331
+ <td><img src="<?php echo plugins_url("images/cross.png",__FILE__);?>">
332
+ </td>
333
+ <td><img src="<?php echo plugins_url("images/tick.png",__FILE__);?>">
334
+ </td>
335
  </tr>
336
 
337
  </table>
admin/admin-notices.php CHANGED
File without changes
admin/ajax-backlink.php CHANGED
File without changes
admin/authorization.php CHANGED
File without changes
admin/destruction.php CHANGED
File without changes
admin/footer.php CHANGED
@@ -1,173 +1,173 @@
1
- <?php if(get_option('xyz_fbap_premium_version_ads')==1){?>
2
- <div id="xyz-wp-fbap-premium">
3
-
4
- <div style="float: left; padding: 0 5px">
5
- <h2 style="vertical-align: middle;">
6
- <a target="_blank"
7
- href="http://xyzscripts.com/wordpress-plugins/social-media-auto-publish/features">Fully
8
- Featured XYZ WP SMAP Premium Plugin</a> - Just 29 USD
9
- </h2>
10
- </div>
11
- <div style="float: left; margin-top: 3px">
12
- <a target="_blank"
13
- href="http://xyzscripts.com/members/product/purchase/XYZWPSMPPRE"><img class="hoverImages"
14
- src="<?php echo plugins_url("facebook-auto-publish/admin/images/orange_buynow.png"); ?>">
15
- </a>
16
- </div>
17
- <div style="float: left; padding: 0 5px">
18
- <h2 style="vertical-align: middle;text-shadow: 1px 1px 1px #686868">
19
- ( <a href="<?php echo admin_url('admin.php?page=facebook-auto-publish-about');?>">Compare Features</a> )
20
- </h2>
21
- </div>
22
- </div>
23
- <?php }?>
24
-
25
- <div style="clear: both;"></div>
26
-
27
-
28
- <p></p>
29
-
30
- <div style="width: 100%">
31
-
32
- <div class="xyz_feedback">
33
-
34
-
35
- <a target="_blank" href="http://xyzscripts.com/donate/1" class="xyz_donate">Donate a dollar</a> ★
36
- <a target="_blank" href="http://wordpress.org/support/view/plugin-reviews/facebook-auto-publish" class="xyz_star">Rate this plugin</a> ★
37
- <a target="_blank" href="http://xyzscripts.com/support/" class="xyz_suggest">Suggestions</a> ★
38
- <a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_fbook">Like us on facebook</a> ★
39
- <a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_twitt">Follow us on twitter</a> ★
40
- <a target="_blank" href="https://plus.google.com/+Xyzscripts" class="xyz_gplus">+1 us on Google+</a>
41
-
42
-
43
- </div>
44
-
45
- <p></p>
46
-
47
- <div class="xyz_subscribe">
48
-
49
- <script language="javascript">
50
- function check_email(emailString)
51
- {
52
- var mailPattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/;
53
- var matchArray = emailString.match(mailPattern);
54
- if (emailString.length == 0)
55
- return false;
56
-
57
- if (matchArray == null) {
58
- return false;
59
- }else{
60
- return true;
61
- }
62
- }
63
-
64
-
65
- function verify_lists(form)
66
- {
67
-
68
- var total=0;
69
- var checkBox=form['chk[]'];
70
-
71
- if(checkBox.length){
72
-
73
- for(var i=0;i<checkBox.length;i++){
74
- checkBox[i].checked?total++:null;
75
- }
76
- }else{
77
-
78
- checkBox.checked?total++:null;
79
-
80
- }
81
- if(total>0){
82
- return true;
83
- }else{
84
- return false;
85
- }
86
-
87
- }
88
-
89
- function verify_fields()
90
- {
91
-
92
- if(check_email(document.email_subscription.email.value) == false){
93
- alert("Please check whether the email is correct.");
94
- document.email_subscription.email.select();
95
- return false;
96
- }else if(verify_lists(document.email_subscription)==false){
97
- alert("Select atleast one list.");
98
- }
99
- else{
100
- document.email_subscription.submit();
101
- }
102
-
103
- }
104
- </script>
105
- <?php global $current_user; wp_get_current_user(); ?>
106
- <form action=http://xyzscripts.com/newsletter/index.php?page=list/subscribe method="post" name="email_subscription" id="email_subscription" >
107
- <input type="hidden" name="fieldNameIds" value="1,">
108
- <input type="hidden" name="redirActive" value="http://xyzscripts.com/subscription/pending/XYZWPSMPPRE">
109
- <input type="hidden" name="redirPending" value="http://xyzscripts.com/subscription/active/XYZWPSMPPRE">
110
- <input type="hidden" name="mode" value="1">
111
-
112
- <b>Stay tuned to our updates :</b>
113
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
114
-
115
- Name :
116
- <input style="border: 1px solid #3fafe3; margin-right:10px;padding:5px;" type="text" name="field1" value="<?php
117
- if ($current_user->user_firstname != "" || $current_user->user_lastname != "")
118
- {
119
- echo $current_user->user_firstname . " " . $current_user->user_lastname;
120
- }
121
- else if (strcasecmp($current_user->display_name, 'admin')!=0 && strcasecmp($current_user->display_name , "administrator")!=0 )
122
- {
123
- echo $current_user->display_name;
124
- }
125
- else if (strcasecmp($current_user->user_login ,"admin")!=0 && strcasecmp($current_user->user_login , "administrator")!=0 )
126
- {
127
- echo $current_user->user_login;
128
- }
129
- ?>" >
130
-
131
- Email Address :
132
- <input style="border: 1px solid #3fafe3;padding:5px;" name="email"
133
- type="text" value="<?php echo $current_user->user_email; ?>" /><span style="color:#FF0000">*</span>
134
-
135
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
136
- <input class="submit_fbap" type="submit" value="Subscribe" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
137
-
138
- <input type="hidden" name="listName" value="7,1,"/>
139
- </form>
140
-
141
-
142
-
143
- </div>
144
-
145
-
146
- <p></p>
147
-
148
- <div style="padding-top: ;" class="xyz_plugins">
149
- Our Plugins :
150
-
151
- <a target="_blank" href="http://wordpress.org/plugins/contact-form-manager/">Contact Form Manager</a> ★
152
- <a target="_blank" href="http://wordpress.org/plugins/facebook-auto-publish/">Facebook Auto Publish</a> ★
153
- <a target="_blank" href="http://wordpress.org/plugins/full-screen-popup/">Full Screen Popup</a> ★
154
- <a target="_blank" href="http://wordpress.org/plugins/insert-html-snippet/">Insert HTML Snippet</a> ★
155
- <a target="_blank" href="http://wordpress.org/plugins/insert-php-code-snippet/">Insert PHP Code Snippet</a> ★
156
- <a target="_blank" href="http://wordpress.org/plugins/lightbox-pop/">Lightbox Pop</a> ★
157
- <a target="_blank" href="http://wordpress.org/plugins/linkedin-auto-publish/">LinkedIn Auto Publish</a> ★
158
- <a target="_blank" href="http://wordpress.org/plugins/newsletter-manager/">Newsletter Manager</a>★
159
- <a target="_blank" href="http://wordpress.org/plugins/popup-dialog-box/">Popup Dialog Box</a> ★
160
- <a target="_blank" href="http://wordpress.org/plugins/quick-bar/">Quick Bar</a> ★
161
- <a target="_blank" href="http://wordpress.org/plugins/quick-box-popup/">Quick Box Popup</a> ★
162
- <a target="_blank" href="http://wordpress.org/plugins/social-media-auto-publish/">Social Media Auto Publish</a> ★
163
- <a target="_blank" href="http://wordpress.org/plugins/twitter-auto-publish/">Twitter Auto Publish</a> ★
164
- <a target="_blank" href="http://wordpress.org/plugins/custom-field-manager/">Custom Field Manager</a>
165
- </div>
166
-
167
- <div style="padding-top: 10px;text-align: center;">
168
- Powered by <a href="http://xyzscripts.com" target="_blank">XYZScripts</a>
169
- </div>
170
-
171
- <div style="clear: both;"></div>
172
-
173
  </div>
1
+ <?php if(get_option('xyz_fbap_premium_version_ads')==1){?>
2
+ <div id="xyz-wp-fbap-premium">
3
+
4
+ <div style="float: left; padding: 0 5px">
5
+ <h2 style="vertical-align: middle;">
6
+ <a target="_blank"
7
+ href="http://xyzscripts.com/wordpress-plugins/social-media-auto-publish/features">Fully
8
+ Featured XYZ WP SMAP Premium Plugin</a> - Just 29 USD
9
+ </h2>
10
+ </div>
11
+ <div style="float: left; margin-top: 3px">
12
+ <a target="_blank"
13
+ href="http://xyzscripts.com/members/product/purchase/XYZWPSMPPRE"><img class="hoverImages"
14
+ src="<?php echo plugins_url("facebook-auto-publish/admin/images/orange_buynow.png"); ?>">
15
+ </a>
16
+ </div>
17
+ <div style="float: left; padding: 0 5px">
18
+ <h2 style="vertical-align: middle;text-shadow: 1px 1px 1px #686868">
19
+ ( <a href="<?php echo admin_url('admin.php?page=facebook-auto-publish-about');?>">Compare Features</a> )
20
+ </h2>
21
+ </div>
22
+ </div>
23
+ <?php }?>
24
+
25
+ <div style="clear: both;"></div>
26
+
27
+
28
+ <p></p>
29
+
30
+ <div style="width: 100%">
31
+
32
+ <div class="xyz_feedback">
33
+
34
+
35
+ <a target="_blank" href="http://xyzscripts.com/donate/1" class="xyz_donate">Donate a dollar</a> ★
36
+ <a target="_blank" href="http://wordpress.org/support/view/plugin-reviews/facebook-auto-publish" class="xyz_star">Rate this plugin</a> ★
37
+ <a target="_blank" href="http://xyzscripts.com/support/" class="xyz_suggest">Suggestions</a> ★
38
+ <a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_fbook">Like us on facebook</a> ★
39
+ <a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_twitt">Follow us on twitter</a> ★
40
+ <a target="_blank" href="https://plus.google.com/+Xyzscripts" class="xyz_gplus">+1 us on Google+</a>
41
+
42
+
43
+ </div>
44
+
45
+ <p></p>
46
+
47
+ <div class="xyz_subscribe">
48
+
49
+ <script language="javascript">
50
+ function check_email(emailString)
51
+ {
52
+ var mailPattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/;
53
+ var matchArray = emailString.match(mailPattern);
54
+ if (emailString.length == 0)
55
+ return false;
56
+
57
+ if (matchArray == null) {
58
+ return false;
59
+ }else{
60
+ return true;
61
+ }
62
+ }
63
+
64
+
65
+ function verify_lists(form)
66
+ {
67
+
68
+ var total=0;
69
+ var checkBox=form['chk[]'];
70
+
71
+ if(checkBox.length){
72
+
73
+ for(var i=0;i<checkBox.length;i++){
74
+ checkBox[i].checked?total++:null;
75
+ }
76
+ }else{
77
+
78
+ checkBox.checked?total++:null;
79
+
80
+ }
81
+ if(total>0){
82
+ return true;
83
+ }else{
84
+ return false;
85
+ }
86
+
87
+ }
88
+
89
+ function verify_fields()
90
+ {
91
+
92
+ if(check_email(document.email_subscription.email.value) == false){
93
+ alert("Please check whether the email is correct.");
94
+ document.email_subscription.email.select();
95
+ return false;
96
+ }else if(verify_lists(document.email_subscription)==false){
97
+ alert("Select atleast one list.");
98
+ }
99
+ else{
100
+ document.email_subscription.submit();
101
+ }
102
+
103
+ }
104
+ </script>
105
+ <?php global $current_user; wp_get_current_user(); ?>
106
+ <form action=http://xyzscripts.com/newsletter/index.php?page=list/subscribe method="post" name="email_subscription" id="email_subscription" >
107
+ <input type="hidden" name="fieldNameIds" value="1,">
108
+ <input type="hidden" name="redirActive" value="http://xyzscripts.com/subscription/pending/XYZWPSMPPRE">
109
+ <input type="hidden" name="redirPending" value="http://xyzscripts.com/subscription/active/XYZWPSMPPRE">
110
+ <input type="hidden" name="mode" value="1">
111
+
112
+ <b>Stay tuned to our updates :</b>
113
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
114
+
115
+ Name :
116
+ <input style="border: 1px solid #3fafe3; margin-right:10px;padding:5px;" type="text" name="field1" value="<?php
117
+ if ($current_user->user_firstname != "" || $current_user->user_lastname != "")
118
+ {
119
+ echo $current_user->user_firstname . " " . $current_user->user_lastname;
120
+ }
121
+ else if (strcasecmp($current_user->display_name, 'admin')!=0 && strcasecmp($current_user->display_name , "administrator")!=0 )
122
+ {
123
+ echo $current_user->display_name;
124
+ }
125
+ else if (strcasecmp($current_user->user_login ,"admin")!=0 && strcasecmp($current_user->user_login , "administrator")!=0 )
126
+ {
127
+ echo $current_user->user_login;
128
+ }
129
+ ?>" >
130
+
131
+ Email Address :
132
+ <input style="border: 1px solid #3fafe3;padding:5px;" name="email"
133
+ type="text" value="<?php echo $current_user->user_email; ?>" /><span style="color:#FF0000">*</span>
134
+
135
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
136
+ <input class="submit_fbap" type="submit" value="Subscribe" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
137
+
138
+ <input type="hidden" name="listName" value="7,1,"/>
139
+ </form>
140
+
141
+
142
+
143
+ </div>
144
+
145
+
146
+ <p></p>
147
+
148
+ <div style="padding-top: ;" class="xyz_plugins">
149
+ Our Plugins :
150
+
151
+ <a target="_blank" href="http://wordpress.org/plugins/contact-form-manager/">Contact Form Manager</a> ★
152
+ <a target="_blank" href="http://wordpress.org/plugins/facebook-auto-publish/">Facebook Auto Publish</a> ★
153
+ <a target="_blank" href="http://wordpress.org/plugins/full-screen-popup/">Full Screen Popup</a> ★
154
+ <a target="_blank" href="http://wordpress.org/plugins/insert-html-snippet/">Insert HTML Snippet</a> ★
155
+ <a target="_blank" href="http://wordpress.org/plugins/insert-php-code-snippet/">Insert PHP Code Snippet</a> ★
156
+ <a target="_blank" href="http://wordpress.org/plugins/lightbox-pop/">Lightbox Pop</a> ★
157
+ <a target="_blank" href="http://wordpress.org/plugins/linkedin-auto-publish/">LinkedIn Auto Publish</a> ★
158
+ <a target="_blank" href="http://wordpress.org/plugins/newsletter-manager/">Newsletter Manager</a>★
159
+ <a target="_blank" href="http://wordpress.org/plugins/popup-dialog-box/">Popup Dialog Box</a> ★
160
+ <a target="_blank" href="http://wordpress.org/plugins/quick-bar/">Quick Bar</a> ★
161
+ <a target="_blank" href="http://wordpress.org/plugins/quick-box-popup/">Quick Box Popup</a> ★
162
+ <a target="_blank" href="http://wordpress.org/plugins/social-media-auto-publish/">Social Media Auto Publish</a> ★
163
+ <a target="_blank" href="http://wordpress.org/plugins/twitter-auto-publish/">Twitter Auto Publish</a> ★
164
+ <a target="_blank" href="http://wordpress.org/plugins/custom-field-manager/">Custom Field Manager</a>
165
+ </div>
166
+
167
+ <div style="padding-top: 10px;text-align: center;">
168
+ Powered by <a href="http://xyzscripts.com" target="_blank">XYZScripts</a>
169
+ </div>
170
+
171
+ <div style="clear: both;"></div>
172
+
173
  </div>
admin/header.php CHANGED
File without changes
admin/images/cross.png CHANGED
File without changes
admin/images/donate.png CHANGED
File without changes
admin/images/facebook-logo.png CHANGED
File without changes
admin/images/fb.gif CHANGED
File without changes
admin/images/gp.gif CHANGED
File without changes
admin/images/linkedin.gif CHANGED
File without changes
admin/images/orange_buynow.png CHANGED
File without changes
admin/images/star.png CHANGED
File without changes
admin/images/suggest.png CHANGED
File without changes
admin/images/support.png CHANGED
File without changes
admin/images/tick.png CHANGED
File without changes
admin/images/tw.gif CHANGED
File without changes
admin/images/twitter-logo.png CHANGED
File without changes
admin/images/xyz_logo.png CHANGED
File without changes
admin/install.php CHANGED
@@ -25,6 +25,11 @@ function fbap_install_free()
25
  if (is_plugin_active($pluginName)) {
26
  wp_die( "The plugin Facebook Auto Publish cannot be activated unless the premium version of this plugin is deactivated. Back to <a href='".admin_url()."plugins.php'>Plugin Installation</a>." );
27
  }*/
 
 
 
 
 
28
 
29
  global $current_user;
30
  wp_get_current_user();
25
  if (is_plugin_active($pluginName)) {
26
  wp_die( "The plugin Facebook Auto Publish cannot be activated unless the premium version of this plugin is deactivated. Back to <a href='".admin_url()."plugins.php'>Plugin Installation</a>." );
27
  }*/
28
+ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
29
+
30
+ wp_die( "The plugin Facebook Auto Publish requires PHP version 5.4 or higher. Back to <a href='".admin_url()."plugins.php'>Plugin Installation</a>." );
31
+
32
+ }
33
 
34
  global $current_user;
35
  wp_get_current_user();
admin/logs.php CHANGED
File without changes
admin/menu.php CHANGED
File without changes
admin/metabox.php CHANGED
File without changes
admin/publish.php CHANGED
@@ -194,6 +194,7 @@ function xyz_fbap_link_publish($post_ID) {
194
  $excerpt = apply_filters('the_excerpt', $excerpt);
195
  $excerpt = html_entity_decode($excerpt, ENT_QUOTES, get_bloginfo('charset'));
196
  $content = preg_replace('/<script\b[^>]*>(.*?)<\/script>/is', "", $content);
 
197
  $excerpt = preg_replace('/<script\b[^>]*>(.*?)<\/script>/is', "", $excerpt);
198
 
199
  if($excerpt=="")
194
  $excerpt = apply_filters('the_excerpt', $excerpt);
195
  $excerpt = html_entity_decode($excerpt, ENT_QUOTES, get_bloginfo('charset'));
196
  $content = preg_replace('/<script\b[^>]*>(.*?)<\/script>/is', "", $content);
197
+ $content = preg_replace('/\[.+?\]/', '', $content);
198
  $excerpt = preg_replace('/<script\b[^>]*>(.*?)<\/script>/is', "", $excerpt);
199
 
200
  if($excerpt=="")
admin/settings.php CHANGED
File without changes
admin/style.css CHANGED
File without changes
api/Facebook/Authentication/AccessToken.php CHANGED
File without changes
api/Facebook/Authentication/AccessTokenMetadata.php CHANGED
File without changes
api/Facebook/Authentication/OAuth2Client.php CHANGED
File without changes
api/Facebook/Exceptions/FacebookAuthenticationException.php CHANGED
File without changes
api/Facebook/Exceptions/FacebookAuthorizationException.php CHANGED
File without changes
api/Facebook/Exceptions/FacebookClientException.php CHANGED
File without changes
api/Facebook/Exceptions/FacebookOtherException.php CHANGED
File without changes
api/Facebook/Exceptions/FacebookResponseException.php CHANGED
File without changes
api/Facebook/Exceptions/FacebookResumableUploadException.php CHANGED
File without changes
api/Facebook/Exceptions/FacebookSDKException.php CHANGED
File without changes
api/Facebook/Exceptions/FacebookServerException.php CHANGED
File without changes
api/Facebook/Exceptions/FacebookThrottleException.php CHANGED
File without changes
api/Facebook/Facebook.php CHANGED
File without changes
api/Facebook/FacebookApp.php CHANGED
File without changes
api/Facebook/FacebookBatchRequest.php CHANGED
File without changes
api/Facebook/FacebookBatchResponse.php CHANGED
File without changes
api/Facebook/FacebookClient.php CHANGED
File without changes
api/Facebook/FacebookRequest.php CHANGED
File without changes
api/Facebook/FacebookResponse.php CHANGED
File without changes
api/Facebook/FileUpload/FacebookFile.php CHANGED
File without changes
api/Facebook/FileUpload/FacebookResumableUploader.php CHANGED
File without changes
api/Facebook/FileUpload/FacebookTransferChunk.php CHANGED
File without changes
api/Facebook/FileUpload/FacebookVideo.php CHANGED
File without changes
api/Facebook/FileUpload/Mimetypes.php CHANGED
File without changes
api/Facebook/GraphNodes/Birthday.php CHANGED
File without changes
api/Facebook/GraphNodes/Collection.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphAchievement.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphAlbum.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphApplication.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphCoverPhoto.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphEdge.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphEvent.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphGroup.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphList.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphLocation.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphNode.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphNodeFactory.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphObject.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphObjectFactory.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphPage.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphPicture.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphSessionInfo.php CHANGED
File without changes
api/Facebook/GraphNodes/GraphUser.php CHANGED
File without changes
api/Facebook/Helpers/FacebookCanvasHelper.php CHANGED
File without changes
api/Facebook/Helpers/FacebookJavaScriptHelper.php CHANGED
File without changes
api/Facebook/Helpers/FacebookPageTabHelper.php CHANGED
File without changes
api/Facebook/Helpers/FacebookRedirectLoginHelper.php CHANGED
File without changes
api/Facebook/Helpers/FacebookSignedRequestFromInputHelper.php CHANGED
File without changes
api/Facebook/Http/GraphRawResponse.php CHANGED
File without changes
api/Facebook/Http/RequestBodyInterface.php CHANGED
File without changes
api/Facebook/Http/RequestBodyMultipart.php CHANGED
File without changes
api/Facebook/Http/RequestBodyUrlEncoded.php CHANGED
File without changes
api/Facebook/HttpClients/FacebookCurl.php CHANGED
File without changes
api/Facebook/HttpClients/FacebookCurlHttpClient.php CHANGED
File without changes
api/Facebook/HttpClients/FacebookGuzzleHttpClient.php CHANGED
File without changes
api/Facebook/HttpClients/FacebookHttpClientInterface.php CHANGED
File without changes
api/Facebook/HttpClients/FacebookStream.php CHANGED
File without changes
api/Facebook/HttpClients/FacebookStreamHttpClient.php CHANGED
File without changes
api/Facebook/HttpClients/HttpClientsFactory.php CHANGED
File without changes
api/Facebook/HttpClients/certs/DigiCertHighAssuranceEVRootCA.pem CHANGED
File without changes
api/Facebook/PersistentData/FacebookMemoryPersistentDataHandler.php CHANGED
File without changes
api/Facebook/PersistentData/FacebookSessionPersistentDataHandler.php CHANGED
File without changes
api/Facebook/PersistentData/PersistentDataFactory.php CHANGED
File without changes
api/Facebook/PersistentData/PersistentDataInterface.php CHANGED
File without changes
api/Facebook/PseudoRandomString/McryptPseudoRandomStringGenerator.php CHANGED
File without changes
api/Facebook/PseudoRandomString/OpenSslPseudoRandomStringGenerator.php CHANGED
File without changes
api/Facebook/PseudoRandomString/PseudoRandomStringGeneratorFactory.php CHANGED
File without changes
api/Facebook/PseudoRandomString/PseudoRandomStringGeneratorInterface.php CHANGED
File without changes
api/Facebook/PseudoRandomString/PseudoRandomStringGeneratorTrait.php CHANGED
File without changes
api/Facebook/PseudoRandomString/UrandomPseudoRandomStringGenerator.php CHANGED
File without changes
api/Facebook/SignedRequest.php CHANGED
File without changes
api/Facebook/Url/FacebookUrlDetectionHandler.php CHANGED
File without changes
api/Facebook/Url/FacebookUrlManipulator.php CHANGED
File without changes
api/Facebook/Url/UrlDetectionInterface.php CHANGED
File without changes
api/Facebook/autoload.php CHANGED
File without changes
api/Facebook/polyfills.php CHANGED
File without changes
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
7
  Author: xyzscripts.com
8
  Author URI: http://xyzscripts.com/
9
  License: GPLv2 or later
@@ -48,13 +48,13 @@ require_once( dirname( __FILE__ ) . '/admin/install.php' );
48
  require_once( dirname( __FILE__ ) . '/xyz-functions.php' );
49
  require_once( dirname( __FILE__ ) . '/admin/menu.php' );
50
  require_once( dirname( __FILE__ ) . '/admin/destruction.php' );
51
-
52
- //require_once( dirname( __FILE__ ) . '/api/facebook.php' );
53
- require_once( dirname( __FILE__ ) . '/api/Facebook/autoload.php');
54
-
 
55
  require_once( dirname( __FILE__ ) . '/admin/ajax-backlink.php' );
56
  require_once( dirname( __FILE__ ) . '/admin/metabox.php' );
57
- require_once( dirname( __FILE__ ) . '/admin/publish.php' );
58
  require_once( dirname( __FILE__ ) . '/admin/admin-notices.php' );
59
  if(get_option('xyz_credit_link')=="fbap"){
60
 
@@ -67,4 +67,4 @@ function xyz_fbap_credit() {
67
  }
68
  if(!function_exists('get_post_thumbnail_id'))
69
  add_theme_support( 'post-thumbnails' );
70
- ?>
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.1
7
  Author: xyzscripts.com
8
  Author URI: http://xyzscripts.com/
9
  License: GPLv2 or later
48
  require_once( dirname( __FILE__ ) . '/xyz-functions.php' );
49
  require_once( dirname( __FILE__ ) . '/admin/menu.php' );
50
  require_once( dirname( __FILE__ ) . '/admin/destruction.php' );
51
+ if (version_compare(PHP_VERSION, '5.4.0', '>'))
52
+ {
53
+ require_once( dirname( __FILE__ ) . '/api/Facebook/autoload.php');
54
+ require_once( dirname( __FILE__ ) . '/admin/publish.php' );
55
+ }
56
  require_once( dirname( __FILE__ ) . '/admin/ajax-backlink.php' );
57
  require_once( dirname( __FILE__ ) . '/admin/metabox.php' );
 
58
  require_once( dirname( __FILE__ ) . '/admin/admin-notices.php' );
59
  if(get_option('xyz_credit_link')=="fbap"){
60
 
67
  }
68
  if(!function_exists('get_post_thumbnail_id'))
69
  add_theme_support( 'post-thumbnails' );
70
+ ?>
js/notice.js CHANGED
File without changes
readme.txt CHANGED
@@ -1,10 +1,10 @@
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.6.1
7
- Stable tag: 1.4
8
  License: GPLv2 or later
9
 
10
  Publish posts automatically to Facebook page or profile.
@@ -112,7 +112,7 @@ You may use post title, content, excerpt, permalink, site title and user nicenam
112
  SSL peer verification may not be functioning in your server. Please turn off SSL peer verification in settings of plugin and try again.
113
 
114
 
115
- More questions ? [Drop a mail](http://xyzscripts.com/members/support/ "XYZScripts Support") and we shall get back to you with the answers.
116
 
117
 
118
  == Screenshots ==
@@ -122,8 +122,13 @@ More questions ? [Drop a mail](http://xyzscripts.com/members/support/ "XYZScript
122
 
123
  == Changelog ==
124
 
 
 
 
 
 
125
  = Facebook Auto Publish 1.4 =
126
- * Facebook api updated
127
 
128
  = Facebook Auto Publish 1.3.1 =
129
  * Fixed custom post types autopublish issue
@@ -205,7 +210,7 @@ Please read the FAQ first if you are having problems.
205
  = Requirements =
206
 
207
  WordPress 3.0+
208
- PHP 5+
209
 
210
  = Feedback =
211
 
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.7.3
7
+ Stable tag: 1.4.1
8
  License: GPLv2 or later
9
 
10
  Publish posts automatically to Facebook page or profile.
112
  SSL peer verification may not be functioning in your server. Please turn off SSL peer verification in settings of plugin and try again.
113
 
114
 
115
+ = More questions ? [Drop a mail](http://xyzscripts.com/support/ "XYZScripts Support") and we shall get back to you with the answers.
116
 
117
 
118
  == Screenshots ==
122
 
123
  == Changelog ==
124
 
125
+ = Facebook Auto Publish 1.4.1 =
126
+ * utf-8 decoding issue fixed
127
+ * Visual composer compatiblity issue fixed
128
+ * Minor bugs fixed
129
+
130
  = Facebook Auto Publish 1.4 =
131
+ * Facebook api updated(requires PHP version 5.4 or higher)
132
 
133
  = Facebook Auto Publish 1.3.1 =
134
  * Fixed custom post types autopublish issue
210
  = Requirements =
211
 
212
  WordPress 3.0+
213
+ PHP 5.4+
214
 
215
  = Feedback =
216
 
xyz-functions.php CHANGED
@@ -1,6 +1,5 @@
1
  <?php
2
 
3
-
4
  if(!function_exists('xyz_trim_deep'))
5
  {
6
 
@@ -142,7 +141,7 @@ if (!function_exists("xyz_wp_fbap_attachment_metas")) {
142
  }
143
 
144
  $og_datas = new DOMDocument();
145
- @$og_datas->loadHTML($aprv_me_data);
146
  $xpath = new DOMXPath($og_datas);
147
  if(isset($attachment['name']))
148
  {
1
  <?php
2
 
 
3
  if(!function_exists('xyz_trim_deep'))
4
  {
5
 
141
  }
142
 
143
  $og_datas = new DOMDocument();
144
+ @$og_datas->loadHTML('<?xml encoding="UTF-8">'.$aprv_me_data);
145
  $xpath = new DOMXPath($og_datas);
146
  if(isset($attachment['name']))
147
  {