WP Facebook Auto Publish - Version 1.4.8

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

Code changes from version 1.4.7 to 1.4.8

admin/about.php CHANGED
@@ -1,12 +1,12 @@
1
  <?php
2
  if( !defined('ABSPATH') ){ exit();}
3
  ?>
4
- <h1 style="visibility: visible;">Facebook Auto Publish (V <?php echo xyz_fbap_plugin_get_version(); ?>)</h1>
5
 
6
  <div style="width: 99%">
7
  <p style="text-align: justify">
8
- Facebook Auto Publish automatically publishes posts from your blog to your Facebook pages. It allows you to filter posts based on post-types and categories.
9
- Facebook Auto Publish is developed and maintained by <a href="https://xyzscripts.com">xyzscripts</a>.</p>
10
 
11
 
12
 
1
  <?php
2
  if( !defined('ABSPATH') ){ exit();}
3
  ?>
4
+ <h1 style="visibility: visible;">WP Facebook Auto Publish (V <?php echo xyz_fbap_plugin_get_version(); ?>)</h1>
5
 
6
  <div style="width: 99%">
7
  <p style="text-align: justify">
8
+ WP Facebook Auto Publish automatically publishes posts from your blog to your Facebook pages. It allows you to filter posts based on post-types and categories.
9
+ WP Facebook Auto Publish is developed and maintained by <a href="https://xyzscripts.com">xyzscripts</a>.</p>
10
 
11
 
12
 
admin/admin-notices.php CHANGED
@@ -5,19 +5,19 @@ function wp_fbap_admin_notice()
5
  add_thickbox();
6
  $sharelink_text_array_fb = array
7
  (
8
- "I use Facebook Auto Publish wordpress plugin from @xyzscripts and you should too.",
9
- "Facebook Auto Publish wordpress plugin from @xyzscripts is awesome",
10
  "Thanks @xyzscripts for developing such a wonderful Facebook auto publishing wordpress plugin",
11
  "I was looking for a Facebook publishing plugin and I found this. Thanks @xyzscripts",
12
- "Its very easy to use Facebook Auto Publish wordpress plugin from @xyzscripts",
13
- "I installed Facebook Auto Publish from @xyzscripts,it works flawlessly",
14
- "Facebook Auto Publish wordpress plugin that i use works terrific",
15
- "I am using Facebook Auto Publish wordpress plugin from @xyzscripts and I like it",
16
- "The Facebook Auto Publish plugin from @xyzscripts is simple and works fine",
17
  "I've been using this Facebook plugin for a while now and it is really good",
18
- "Facebook Auto Publish wordpress plugin is a fantastic plugin",
19
- "Facebook Auto Publish wordpress plugin is easy to use and works great. Thank you!",
20
- "Good and flexible Facebook Auto publish plugin especially for beginners",
21
  "The best Facebook Auto publish wordpress plugin I have used ! THANKS @xyzscripts",
22
  );
23
  $sharelink_text_fb = array_rand($sharelink_text_array_fb, 1);
@@ -33,7 +33,7 @@ $xyz_fbap_notice = wp_nonce_url($xyz_fbap_notice,'fbap-shw');
33
  }
34
  </script>
35
  <div id="fbap_notice_td" class="error" style="color: #666666;margin-left: 2px; padding: 5px;line-height:16px;">
36
- <p>Thank you for using <a href="https://wordpress.org/plugins/facebook-auto-publish/" target="_blank"> Facebook Auto Publish </a> plugin from <a href="https://xyzscripts.com/" target="_blank">xyzscripts.com</a>. Would you consider supporting us with the continued development of the plugin using any of the below methods?</p>
37
  <p>
38
  <a href="https://wordpress.org/support/plugin/facebook-auto-publish/reviews" class="button xyz_rate_btn" target="_blank">Rate it 5★\'s on wordpress</a>';
39
  if(get_option('xyz_credit_link')=="0")
5
  add_thickbox();
6
  $sharelink_text_array_fb = array
7
  (
8
+ "I use WP Facebook Auto Publish wordpress plugin from @xyzscripts and you should too.",
9
+ "WP Facebook Auto Publish wordpress plugin from @xyzscripts is awesome",
10
  "Thanks @xyzscripts for developing such a wonderful Facebook auto publishing wordpress plugin",
11
  "I was looking for a Facebook publishing plugin and I found this. Thanks @xyzscripts",
12
+ "Its very easy to use WP Facebook Auto Publish wordpress plugin from @xyzscripts",
13
+ "I installed WP Facebook Auto Publish from @xyzscripts,it works flawlessly",
14
+ "WP Facebook Auto Publish wordpress plugin that i use works terrific",
15
+ "I am using WP Facebook Auto Publish wordpress plugin from @xyzscripts and I like it",
16
+ "The WP Facebook Auto Publish plugin from @xyzscripts is simple and works fine",
17
  "I've been using this Facebook plugin for a while now and it is really good",
18
+ "WP Facebook Auto Publish wordpress plugin is a fantastic plugin",
19
+ "WP Facebook Auto Publish wordpress plugin is easy to use and works great. Thank you!",
20
+ "Good and flexible WP Facebook Auto publish plugin especially for beginners",
21
  "The best Facebook Auto publish wordpress plugin I have used ! THANKS @xyzscripts",
22
  );
23
  $sharelink_text_fb = array_rand($sharelink_text_array_fb, 1);
33
  }
34
  </script>
35
  <div id="fbap_notice_td" class="error" style="color: #666666;margin-left: 2px; padding: 5px;line-height:16px;">
36
+ <p>Thank you for using <a href="https://wordpress.org/plugins/facebook-auto-publish/" target="_blank"> WP Facebook Auto Publish </a> plugin from <a href="https://xyzscripts.com/" target="_blank">xyzscripts.com</a>. Would you consider supporting us with the continued development of the plugin using any of the below methods?</p>
37
  <p>
38
  <a href="https://wordpress.org/support/plugin/facebook-auto-publish/reviews" class="button xyz_rate_btn" target="_blank">Rate it 5★\'s on wordpress</a>';
39
  if(get_option('xyz_credit_link')=="0")
admin/authorization.php CHANGED
@@ -3,6 +3,8 @@ 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
  $my_url=urlencode($redirecturl);
7
  if(isset($_POST) && isset($_POST['fb_auth'] ))
8
  {
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
+ // if(is_ssl()===false)
7
+ // $redirecturl=preg_replace("/^http:/i", "https:", $redirecturl);
8
  $my_url=urlencode($redirecturl);
9
  if(isset($_POST) && isset($_POST['fb_auth'] ))
10
  {
admin/footer.php CHANGED
@@ -126,7 +126,7 @@ type="text" placeholder="Email" style="" value="<?php echo $current_user->use
126
 
127
  <input id="xyz_fbap_submit_fbap" class="sbmt_btn" type="submit" value="Subscribe" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
128
 
129
- <input type="hidden" name="listName" value="6,1,"/>
130
  </form>
131
  </div>
132
 
@@ -142,9 +142,9 @@ type="text" placeholder="Email" style="" value="<?php echo $current_user->use
142
  <p class="xyz_fbap_plugin_head">Our Plugins : </p>
143
 
144
  <a target="_blank" href="https://wordpress.org/plugins/social-media-auto-publish/"><span>1</span>Social Media Auto Publish</a>
145
- <a target="_blank" href="https://wordpress.org/plugins/facebook-auto-publish/"><span>2</span>Facebook Auto Publish</a>
146
- <a target="_blank" href="https://wordpress.org/plugins/twitter-auto-publish/"><span>3</span>Twitter Auto Publish</a>
147
- <a target="_blank" href="https://wordpress.org/plugins/linkedin-auto-publish/"><span>4</span>LinkedIn Auto Publish</a>
148
  <a target="_blank" href="https://wordpress.org/plugins/insert-html-snippet/"><span>5</span>Insert HTML Snippet</a>
149
  <a target="_blank" href="https://wordpress.org/plugins/insert-php-code-snippet/"><span>6</span>Insert PHP Code Snippet</a>
150
  <a target="_blank" href="https://wordpress.org/plugins/contact-form-manager/"><span>7</span>Contact Form Manager</a>
126
 
127
  <input id="xyz_fbap_submit_fbap" class="sbmt_btn" type="submit" value="Subscribe" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
128
 
129
+ <input type="hidden" name="listName" value="7,1,"/>
130
  </form>
131
  </div>
132
 
142
  <p class="xyz_fbap_plugin_head">Our Plugins : </p>
143
 
144
  <a target="_blank" href="https://wordpress.org/plugins/social-media-auto-publish/"><span>1</span>Social Media Auto Publish</a>
145
+ <a target="_blank" href="https://wordpress.org/plugins/facebook-auto-publish/"><span>2</span>WP Facebook Auto Publish</a>
146
+ <a target="_blank" href="https://wordpress.org/plugins/twitter-auto-publish/"><span>3</span>WP Twitter Auto Publish</a>
147
+ <a target="_blank" href="https://wordpress.org/plugins/linkedin-auto-publish/"><span>4</span>WP LinkedIn Auto Publish</a>
148
  <a target="_blank" href="https://wordpress.org/plugins/insert-html-snippet/"><span>5</span>Insert HTML Snippet</a>
149
  <a target="_blank" href="https://wordpress.org/plugins/insert-php-code-snippet/"><span>6</span>Insert PHP Code Snippet</a>
150
  <a target="_blank" href="https://wordpress.org/plugins/contact-form-manager/"><span>7</span>Contact Form Manager</a>
admin/install.php CHANGED
@@ -24,11 +24,11 @@ function fbap_install_free()
24
  {
25
  /*$pluginName = 'xyz-wp-smap/xyz-wp-smap.php';
26
  if (is_plugin_active($pluginName)) {
27
- 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>." );
28
  }*/
29
  if (version_compare(PHP_VERSION, '5.4.0', '<')) {
30
 
31
- 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>." );
32
 
33
  }
34
 
24
  {
25
  /*$pluginName = 'xyz-wp-smap/xyz-wp-smap.php';
26
  if (is_plugin_active($pluginName)) {
27
+ wp_die( "The plugin WP 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>." );
28
  }*/
29
  if (version_compare(PHP_VERSION, '5.4.0', '<')) {
30
 
31
+ wp_die( "The plugin WP Facebook Auto Publish requires PHP version 5.4 or higher. Back to <a href='".admin_url()."plugins.php'>Plugin Installation</a>." );
32
 
33
  }
34
 
admin/menu.php CHANGED
@@ -19,7 +19,7 @@ add_action("admin_enqueue_scripts","xyz_fbap_add_admin_scripts");
19
 
20
  function xyz_fbap_menu()
21
  {
22
- add_menu_page('Facebook Auto Publish - Manage settings', 'Facebook Auto Publish', 'manage_options', 'facebook-auto-publish-settings', 'xyz_fbap_settings',plugin_dir_url( XYZ_FBAP_PLUGIN_FILE ) . 'images/facebook.png');
23
  add_submenu_page('facebook-auto-publish-settings', 'Facebook Auto Publish - Manage settings', ' Settings', 'manage_options', 'facebook-auto-publish-settings' ,'xyz_fbap_settings'); // 8 for admin
24
  add_submenu_page('facebook-auto-publish-settings', 'Facebook Auto Publish - Logs', 'Logs', 'manage_options', 'facebook-auto-publish-log' ,'xyz_fbap_logs');
25
  add_submenu_page('facebook-auto-publish-settings', 'Facebook Auto Publish - About', 'About', 'manage_options', 'facebook-auto-publish-about' ,'xyz_fbap_about'); // 8 for admin
19
 
20
  function xyz_fbap_menu()
21
  {
22
+ add_menu_page('Facebook Auto Publish - Manage settings', 'WP Facebook Auto Publish', 'manage_options', 'facebook-auto-publish-settings', 'xyz_fbap_settings',plugin_dir_url( XYZ_FBAP_PLUGIN_FILE ) . 'images/fbap.png');
23
  add_submenu_page('facebook-auto-publish-settings', 'Facebook Auto Publish - Manage settings', ' Settings', 'manage_options', 'facebook-auto-publish-settings' ,'xyz_fbap_settings'); // 8 for admin
24
  add_submenu_page('facebook-auto-publish-settings', 'Facebook Auto Publish - Logs', 'Logs', 'manage_options', 'facebook-auto-publish-log' ,'xyz_fbap_logs');
25
  add_submenu_page('facebook-auto-publish-settings', 'Facebook Auto Publish - About', 'About', 'manage_options', 'facebook-auto-publish-about' ,'xyz_fbap_about'); // 8 for admin
admin/metabox.php CHANGED
@@ -51,15 +51,15 @@ if(isset($_GET['action']) && $_GET['action']=="edit" && !empty($_GET['post']))
51
 
52
 
53
  if(get_option('xyz_fbap_af')==0 && get_option('xyz_fbap_fb_token')!="" && get_option('xyz_fbap_post_permission')==1)
54
- add_meta_box( "xyz_fbap", '<strong>Facebook Auto Publish </strong>', 'xyz_fbap_addpostmetatags') ;
55
  }
56
  function xyz_fbap_addpostmetatags()
57
  {
58
  $imgpath= plugins_url()."/facebook-auto-publish/images/";
59
  $heimg=$imgpath."support.png";
60
  $xyz_fbap_catlist=get_option('xyz_fbap_include_categories');
61
- if (is_array($xyz_fbap_catlist))
62
- $xyz_fbap_catlist=implode(',', $xyz_fbap_catlist);
63
  ?>
64
  <script>
65
 
@@ -225,8 +225,8 @@ function inArray(needle, haystack) {
225
  </tr>
226
  <tr valign="top" id="fpabpmf">
227
  <td class="xyz_fbap_pleft15">Message format for posting <img src="<?php echo $heimg?>"
228
- onmouseover="detdisplay_fbap('xyz_fbap')" onmouseout="dethide_fbap('xyz_fbap')" style="width:13px;height:auto;">
229
- <div id="xyz_fbap" class="fbap_informationdiv" style="display: none;">
230
  {POST_TITLE} - Insert the title of your post.<br />{PERMALINK} -
231
  Insert the URL where your post is displayed.<br />{POST_EXCERPT}
232
  - Insert the excerpt of your post.<br />{POST_CONTENT} - Insert
51
 
52
 
53
  if(get_option('xyz_fbap_af')==0 && get_option('xyz_fbap_fb_token')!="" && get_option('xyz_fbap_post_permission')==1)
54
+ add_meta_box( "xyz_fbap", '<strong>WP Facebook Auto Publish </strong>', 'xyz_fbap_addpostmetatags') ;
55
  }
56
  function xyz_fbap_addpostmetatags()
57
  {
58
  $imgpath= plugins_url()."/facebook-auto-publish/images/";
59
  $heimg=$imgpath."support.png";
60
  $xyz_fbap_catlist=get_option('xyz_fbap_include_categories');
61
+ // if (is_array($xyz_fbap_catlist))
62
+ // $xyz_fbap_catlist=implode(',', $xyz_fbap_catlist);
63
  ?>
64
  <script>
65
 
225
  </tr>
226
  <tr valign="top" id="fpabpmf">
227
  <td class="xyz_fbap_pleft15">Message format for posting <img src="<?php echo $heimg?>"
228
+ onmouseover="detdisplay_fbap('xyz_fbap_informationdiv')" onmouseout="dethide_fbap('xyz_fbap_informationdiv')" style="width:13px;height:auto;">
229
+ <div id="xyz_fbap_informationdiv" class="fbap_informationdiv" style="display: none;">
230
  {POST_TITLE} - Insert the title of your post.<br />{PERMALINK} -
231
  Insert the URL where your post is displayed.<br />{POST_EXCERPT}
232
  - Insert the excerpt of your post.<br />{POST_CONTENT} - Insert
admin/settings.php CHANGED
@@ -158,7 +158,7 @@ function dethide_fbap(id)
158
  <div style="width: 100%">
159
 
160
  <h2>
161
- <img src="<?php echo plugins_url()?>/facebook-auto-publish/images/facebook-logo.png" height="16px"> Facebook Settings
162
  </h2>
163
  <?php
164
  $af=get_option('xyz_fbap_af');
158
  <div style="width: 100%">
159
 
160
  <h2>
161
+ <img src="<?php echo plugins_url()?>/facebook-auto-publish/images/fbap.png" height="16px"> Facebook Settings
162
  </h2>
163
  <?php
164
  $af=get_option('xyz_fbap_af');
facebook-auto-publish.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
  /*
3
- Plugin Name: 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: 1.4.7
7
  Author: xyzscripts.com
8
  Author URI: https://xyzscripts.com/
9
  License: GPLv2 or later
@@ -65,7 +65,7 @@ if(get_option('xyz_credit_link')=="fbap"){
65
 
66
  }
67
  function xyz_fbap_credit() {
68
- $content = '<div style="clear:both;width:100%;text-align:center; font-size:11px; "><a target="_blank" title="Facebook Auto Publish" href="https://xyzscripts.com/wordpress-plugins/facebook-auto-publish/details" >Facebook Auto Publish</a> Powered By : <a target="_blank" title="PHP Scripts & Programs" href="http://www.xyzscripts.com" >XYZScripts.com</a></div>';
69
  echo $content;
70
  }
71
  if(!function_exists('get_post_thumbnail_id'))
1
  <?php
2
  /*
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: 1.4.8
7
  Author: xyzscripts.com
8
  Author URI: https://xyzscripts.com/
9
  License: GPLv2 or later
65
 
66
  }
67
  function xyz_fbap_credit() {
68
+ $content = '<div style="clear:both;width:100%;text-align:center; font-size:11px; "><a target="_blank" title="WP Facebook Auto Publish" href="https://xyzscripts.com/wordpress-plugins/facebook-auto-publish/details" >WP Facebook Auto Publish</a> Powered By : <a target="_blank" title="PHP Scripts & Programs" href="http://www.xyzscripts.com" >XYZScripts.com</a></div>';
69
  echo $content;
70
  }
71
  if(!function_exists('get_post_thumbnail_id'))
images/fbap.png ADDED
Binary file
readme.txt CHANGED
@@ -1,249 +1,252 @@
1
- === Facebook Auto Publish ===
2
- Contributors: f1logic
3
- Donate link: https://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.4
7
- Stable tag: 1.4.7
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](https://xyzscripts.com/ "xyzscripts.com"). For any support, you may [contact us](https://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](https://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](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
- = Facebook Auto Publish 1.4.7 =
130
- * Fixed facebook authorisation issue
131
- * Minor bug fixes
132
- * UI updated
133
-
134
- = Facebook Auto Publish 1.4.6 =
135
- * Added USER_DISPLAY_NAME in message formats
136
- * Minor security issues fixed
137
-
138
- = Facebook Auto Publish 1.4.5 =
139
- * Compatibility with facebook API V 2.11 added
140
- * Minor bug fixes
141
-
142
- = Facebook Auto Publish 1.4.4 =
143
- * Removed Caption from {POST_CONTENT}
144
- * Fixed Facebook image selection issue for 'Share a link to your blog post' and 'Attach your blog post'
145
- * Fixed ssl peer verification in wp_remote_get/wp_remote_post calls
146
-
147
- = Facebook Auto Publish 1.4.3 =
148
- * Added POST_ID and POST_PUBLISH_DATE in message formats
149
-
150
- = Facebook Auto Publish 1.4.2 =
151
- * Fixed facebook boost unavailable issue
152
- * Nonce added
153
- * Prevented direct access to plugin files
154
- * Data validation updated
155
- * App album related issue fixed
156
-
157
- = Facebook Auto Publish 1.4.1 =
158
- * utf-8 decoding issue fixed
159
- * Visual composer compatiblity issue fixed
160
- * Minor bugs fixed
161
-
162
- = Facebook Auto Publish 1.4 =
163
- * Facebook api updated(requires PHP version 5.4 or higher)
164
-
165
- = Facebook Auto Publish 1.3.1 =
166
- * Fixed custom post types autopublish issue
167
- * Fixed duplicate autopublish issue
168
-
169
- = Facebook Auto Publish 1.3 =
170
- * Added option to enable/disable utf-8 decoding before publishing
171
- * Removed unwanted configuration related to 'future_to_publish' hook
172
- * Removed unwanted setting "Facebook user id"
173
- * Postid added in autopublish logs
174
- * Updated auto publish mechanism using transition_post_status hook
175
- * Open graph meta tags will be prefered for facebook attachments
176
-
177
- = Facebook Auto Publish 1.2.4 =
178
- * Added option to enable/disable "future_to_publish" hook for handling auto publish of scheduled posts
179
- * Added options to enable/disable "the_content", "the_excerpt", "the_title" filters on content to be auto-published
180
- * Resolved issue in fetching facebook pages in settings page (in case of more than 100 pages)
181
- * Inline edit of posts will work according to the value set for "Default selection of auto publish while editing posts/pages"
182
- * Latest five auto publish logs are maintained
183
-
184
- = Facebook Auto Publish 1.2.3 =
185
- * Fixed category display issue
186
- * Removed outdated facebook scopes from authorization
187
-
188
- = Facebook Auto Publish 1.2.2 =
189
- * Bug fix for duplicate publishing of scheduled posts
190
-
191
- = Facebook Auto Publish 1.2.1 =
192
- * Fixed auto publish related bug in post edit
193
- * Fixed message format bug in auto publish
194
- * Updated Facebook authorization
195
-
196
- = Facebook Auto Publish 1.2 =
197
- * Option to configure auto publish settings while editing posts/pages
198
- * General setting to enable/disable post publishing
199
- * Added auto publish for scheduled post
200
- * Fixed issue related to \" in auto publish
201
-
202
- = Facebook Auto Publish 1.1.2 =
203
- * Fixed auto-publish of scheduled post
204
-
205
- = Facebook Auto Publish 1.1.1 =
206
- * Added compatibility with wordpress 3.9.1
207
- * Facebook API V 2.0 compatibility added
208
- * Compatibility with bitly plugin
209
-
210
- = Facebook Auto Publish 1.1 =
211
- * View logs for last published post
212
- * Option to enable/disable SSL peer verification
213
- * Option to reauthorize the application
214
-
215
- = Facebook Auto Publish 1.0.2 =
216
- * Bug fixed for &amp;nbsp; in post
217
-
218
- = Facebook Auto Publish 1.0.1 =
219
- * Default image fetch logic for auto publish updated.
220
- * Thumbnail image logic updated.
221
-
222
- = Facebook Auto Publish 1.0 =
223
- * First official launch.
224
-
225
- == Upgrade Notice ==
226
-
227
- = Facebook Auto Publish 1.0.1 =
228
- If you had issues with default image used for auto publishing, you may apply this upgrade.
229
-
230
- = Facebook Auto Publish 1.0 =
231
- First official launch.
232
-
233
- == More Information ==
234
-
235
- ★ [Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/ "Facebook Auto Publish User Guide")
236
- [Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "Facebook Auto Publish FAQ")
237
-
238
- = Troubleshooting =
239
-
240
- Please read the FAQ first if you are having problems.
241
-
242
- = Requirements =
243
-
244
- WordPress 3.0+
245
- PHP 5.4+
246
-
247
- = Feedback =
248
-
249
- We would like to receive your feedback and suggestions about 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.4
7
+ Stable tag: 1.4.8
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 1.4.8 =
130
+ * Plugin name changed to WP Facebook Auto Publish, as per wordpress guidelines
131
+
132
+ = Facebook Auto Publish 1.4.7 =
133
+ * Fixed facebook authorisation issue
134
+ * Minor bug fixes
135
+ * UI updated
136
+
137
+ = Facebook Auto Publish 1.4.6 =
138
+ * Added USER_DISPLAY_NAME in message formats
139
+ * Minor security issues fixed
140
+
141
+ = Facebook Auto Publish 1.4.5 =
142
+ * Compatibility with facebook API V 2.11 added
143
+ * Minor bug fixes
144
+
145
+ = Facebook Auto Publish 1.4.4 =
146
+ * Removed Caption from {POST_CONTENT}
147
+ * Fixed Facebook image selection issue for 'Share a link to your blog post' and 'Attach your blog post'
148
+ * Fixed ssl peer verification in wp_remote_get/wp_remote_post calls
149
+
150
+ = Facebook Auto Publish 1.4.3 =
151
+ * Added POST_ID and POST_PUBLISH_DATE in message formats
152
+
153
+ = Facebook Auto Publish 1.4.2 =
154
+ * Fixed facebook boost unavailable issue
155
+ * Nonce added
156
+ * Prevented direct access to plugin files
157
+ * Data validation updated
158
+ * App album related issue fixed
159
+
160
+ = Facebook Auto Publish 1.4.1 =
161
+ * utf-8 decoding issue fixed
162
+ * Visual composer compatiblity issue fixed
163
+ * Minor bugs fixed
164
+
165
+ = Facebook Auto Publish 1.4 =
166
+ * Facebook api updated(requires PHP version 5.4 or higher)
167
+
168
+ = Facebook Auto Publish 1.3.1 =
169
+ * Fixed custom post types autopublish issue
170
+ * Fixed duplicate autopublish issue
171
+
172
+ = Facebook Auto Publish 1.3 =
173
+ * Added option to enable/disable utf-8 decoding before publishing
174
+ * Removed unwanted configuration related to 'future_to_publish' hook
175
+ * Removed unwanted setting "Facebook user id"
176
+ * Postid added in autopublish logs
177
+ * Updated auto publish mechanism using transition_post_status hook
178
+ * Open graph meta tags will be prefered for facebook attachments
179
+
180
+ = Facebook Auto Publish 1.2.4 =
181
+ * Added option to enable/disable "future_to_publish" hook for handling auto publish of scheduled posts
182
+ * Added options to enable/disable "the_content", "the_excerpt", "the_title" filters on content to be auto-published
183
+ * Resolved issue in fetching facebook pages in settings page (in case of more than 100 pages)
184
+ * Inline edit of posts will work according to the value set for "Default selection of auto publish while editing posts/pages"
185
+ * Latest five auto publish logs are maintained
186
+
187
+ = Facebook Auto Publish 1.2.3 =
188
+ * Fixed category display issue
189
+ * Removed outdated facebook scopes from authorization
190
+
191
+ = Facebook Auto Publish 1.2.2 =
192
+ * Bug fix for duplicate publishing of scheduled posts
193
+
194
+ = Facebook Auto Publish 1.2.1 =
195
+ * Fixed auto publish related bug in post edit
196
+ * Fixed message format bug in auto publish
197
+ * Updated Facebook authorization
198
+
199
+ = Facebook Auto Publish 1.2 =
200
+ * Option to configure auto publish settings while editing posts/pages
201
+ * General setting to enable/disable post publishing
202
+ * Added auto publish for scheduled post
203
+ * Fixed issue related to \" in auto publish
204
+
205
+ = Facebook Auto Publish 1.1.2 =
206
+ * Fixed auto-publish of scheduled post
207
+
208
+ = Facebook Auto Publish 1.1.1 =
209
+ * Added compatibility with wordpress 3.9.1
210
+ * Facebook API V 2.0 compatibility added
211
+ * Compatibility with bitly plugin
212
+
213
+ = Facebook Auto Publish 1.1 =
214
+ * View logs for last published post
215
+ * Option to enable/disable SSL peer verification
216
+ * Option to reauthorize the application
217
+
218
+ = Facebook Auto Publish 1.0.2 =
219
+ * Bug fixed for &amp;nbsp; in post
220
+
221
+ = Facebook Auto Publish 1.0.1 =
222
+ * Default image fetch logic for auto publish updated.
223
+ * Thumbnail image logic updated.
224
+
225
+ = Facebook Auto Publish 1.0 =
226
+ * First official launch.
227
+
228
+ == Upgrade Notice ==
229
+
230
+ = Facebook Auto Publish 1.0.1 =
231
+ If you had issues with default image used for auto publishing, you may apply this upgrade.
232
+
233
+ = Facebook Auto Publish 1.0 =
234
+ First official launch.
235
+
236
+ == More Information ==
237
+
238
+ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/ "WP Facebook Auto Publish User Guide")
239
+ ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook Auto Publish FAQ")
240
+
241
+ = Troubleshooting =
242
+
243
+ Please read the FAQ first if you are having problems.
244
+
245
+ = Requirements =
246
+
247
+ WordPress 3.0+
248
+ PHP 5.4+
249
+
250
+ = Feedback =
251
+
252
+ 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").