=== Social Media Auto Publish ===
Contributors: f1logic
Donate link: https://xyzscripts.com/donate/
Tags:  social media auto publish, social media publishing, post to facebook, post to twitter, post to linkedin, post to tumblr, post to threads,  post to instagram, social network auto publish, social media, social network, add link to facebook, add link to twitter, add link to linkedin, publish to facebook, publish to twitter, publish to linkedin, publish to tumblr, publish to instagram, post to linkedIn company pages,linkedin companies, publish to telegram
Requires at least: 3.0
Tested up to: 7.0
Stable tag: 3.6.10
License: GPLv2 or later

Publish posts automatically to social media networks like Facebook, Twitter, Instagram, Tumblr, LinkedIn, Threads and Telegram.

== Description ==

Try it out on your free dummy site: Click here => <a href="https://tastewp.com/new/?pre-installed-plugin-slug=social-media-auto-publish" target="_blank">https://tastewp.com/new/?pre-installed-plugin-slug=social-media-auto-publish</a>

A quick look into Social Media Auto Publish :

	★ Publish message to Facebook with image
	★ Attach post or share link  to Facebook
	★ Publish to Twitter with image
	★ Publish to LinkedIn with image
	★ Publish to Instagram with image
	★ Publish to Tumblr with image
    ★ Publish to Telegram with image
    ★ Publish to Threads with image
	★ Attach post to LinkedIn
	★ Attach post to Tumblr
	★ Filter items  to be published based on categories
	★ Filter items to be published based on custom post types
	★ Enable or disable wordpress page publishing
	★ Customizable  message formats for Twitter, LinkedIn, Instagram, Tumblr, Facebook, Threads and Telegram


= Social Media Auto Publish Features in Detail =

The Social Media Auto Publish lets you publish posts automatically from your blog to social media networks like Facebook, Twitter, Instagram, Tumblr, LinkedIn, Threads and Telegram. The plugin supports filtering posts based on  custom post-types as well as categories.

The prominent features of  the social media auto publish plugin are highlighted below.

= Supported Social Media =

The various social media supported are listed below.

    Facebook
    Twitter
    LinkedIn
    Instagram
    Tumblr
    Telegram
    Threads

= Filter Settings =

The plugin offers multiple kinds of filters for contents to be published automatically.

    Enable or disable publishing of wordpress pages
    Filter posts to be published based on categories
    Filtering based on custom post types

= Message Format Settings =

    Separate message format for Facebook, Twitter, Instagram, Tumblr, LinkedIn, Threads and Telegram
    Supports post title, description, excerpt, permalink, blog title, nicename, post id and post publish date

= Posting options =

    Publish message to Facebook with image
    Attach post to Facebook
    Share link on Facebook
    Post to specific pages on Facebook
    Post to Twitter with image
    Post to LinkedIn with image
    Post to Telegram with image
    Post to Threads with image
    Post to specific pages on LinkedIn
    Attach post to LinkedIn
    Publish message to Instagram with image
    Publish message to Tumblr with image
    Share link on Tumblr
    Share link on Telegram
    Publish message to Telegram channel,group with image

= About =

Social Media 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").

★ [Social Media Auto Publish User Guide](http://help.xyzscripts.com/docs/social-media-auto-publish/ "Social Media Auto Publish User Guide")
★ [Social Media Auto Publish FAQ](http://help.xyzscripts.com/docs/social-media-auto-publish/faq/ "Social Media Auto Publish FAQ")

== Installation ==

★ [Social Media Auto Publish User Guide](http://help.xyzscripts.com/docs/social-media-auto-publish/installation/ "Social Media Auto Publish User Guide")
★ [Social Media Auto Publish FAQ](http://help.xyzscripts.com/docs/social-media-auto-publish/faq/ "Social Media Auto Publish FAQ")

1. Extract `social-media-auto-publish.zip` to your `/wp-content/plugins/` directory.
2. In the admin panel under plugins activate Social Media Auto Publish.
3. You can configure the settings from Social Media Auto Publish menu. (Make sure to Authorize Facebook application after saving the settings.)
4. Once these are done, posts should get automatically published based on your filter settings.

If you need any further help, you may contact our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").

== Frequently Asked Questions ==

★ [Social Media Auto Publish User Guide](http://help.xyzscripts.com/docs/social-media-auto-publish/user-guide-free-plugin/ "Social Media Auto Publish User Guide")
★ [Social Media Auto Publish FAQ](http://help.xyzscripts.com/docs/social-media-auto-publish/faq/ "Social Media Auto Publish FAQ")

= 1. The Social Media Auto Publish is not working properly. =

Please check the wordpress version you are using. Make sure it meets the minimum version recommended by us. Make sure all files of the `social media auto publish` plugin are uploaded to the folder `wp-content/plugins/`


= 2. Can I post to Facebook pages instead of profile ? =

Yes, you can select the pages to which you need to publish after authorizing Facebook application.


= 3. How do I restrict auto publish to certain categories ? =

Yes, you can specify the categories which need to be auto published from settings page.


= 4. Why do I have to create applications in Facebook, Twitter and LinkedIn ? =

When you create your own applications, it ensures that the posts to Facebook, Twitter and LinkedIn are not shared with any message like "shared via xxx"


= 5. Which  all data fields can I send to social networks ? =

You may use post title, content, excerpt, permalink, blog title, user nicename, post id and post publish date for auto publishing.


= 6. Why do I see SSL related errors in logs ? =

SSL peer verification may not be functioning in your server. Please turn off SSL peer verification in settings of plugin and try again.

= More questions ? =

[Drop a mail](https://xyzscripts.com/support/ "XYZScripts Support") and we shall get back to you with the answers.


== Screenshots ==

1. This is the Facebook configuration section.
2. This is the Twitter configuration section.
3. This is the LinkedIn configuration section.
4. This is the Instagram configuration section.
5. This is the Tumblr configuration section.
6. This is the Telegram configuration section.
7. This is the Threads configuration section.
8. This is the general settings section.
9. Publishing options while creating a post.
10. Auto publish logs.

== Changelog ==

= Social Media Auto Publish 3.6.10 =
* Fixed: Updated minimum PHP version requirement to 8.2.

= Social Media Auto Publish 3.6.9 =
* Improved image validation handling for media uploads.
* Improved excerpt handling.
* Enhanced publishing settings management.
* Minor fixes and api improvements for better compatibility.

= Social Media Auto Publish 3.6.8 =
* Fix PHP 8+ error in metabox condition

= Social Media Auto Publish 3.6.7 =
* Refactored code to support OAuth 2.0 for Tumblr 
* Fixed scheduled auto-publish issue
* Improved post status handling
* Minor bug fixes and code improvements
* Updated LinkedIn api version

= Social Media Auto Publish 3.6.6 =
* Added vulnerability fix reported by WP Plugin Review Team.

= Social Media Auto Publish 3.6.5 =
* SMAPSolutions package expiry alert added
* LinkedIn API updated to latest version
* Minor bug fixes and code tweaks
* CSS & JS files now versioned to fix caching

= Social Media Auto Publish 3.6.4 =
* Updated redirects to use wp_safe_redirect() for improved security
* Updated a few SQL queries to follow secure practices
* Added "Share a link" posting method for Telegram.
* Updated LinkedIn api version

= Social Media Auto Publish 3.6.3 =
* Added deprecation notice for Twitter v1 ("Own App – Traditional")
* Refactored code to support OAuth 2.0 and Twitter API v2

= Social Media Auto Publish 3.6.2 =
* LinkedIn api updated
* Removed unnecessary parameters

= Social Media Auto Publish 3.6.1 =
* Bug fix related to Twitter reauthorization

= Social Media Auto Publish 3.6 =
* Twitter API v2 Endpoint Integration
* Improved compatibility with PHP & WordPress
* Enabled message format for all Tumblr posting methods 

= Social Media Auto Publish 3.5 =
* Added support for Threads publishing
* LinkedIn api updated

= Social Media Auto Publish 3.4.1 =
* Fixed a critical issue that caused errors in certain cases when connecting to Telegram

= Social Media Auto Publish 3.4 =
* Added support for telegram publishing
* LinkedIn api updated

= Social Media Auto Publish 3.3.3 =
* LinkedIn api version updated
* Fixed: Typo in variable name to prevent warning messages

= Social Media Auto Publish 3.3.2 =
* Fixed reported compatibility issue

= Social Media Auto Publish 3.3.1 =
* New settings value "Use metabox settings" added for "Auto publish on creating posts/pages/custom post types" to handle draft and scheduled posts
* Bug fix: Backend post updates now follow publishing settings
* Gutenberg and classical editor compatibility issues fixed

= Social Media Auto Publish 3.3 =
* Added business_management permission for listing all Facebook pages
* Compatibility with latest Facebook Graph API version
* LinkedIn api version updated
* Patch security vulnerability

= Social Media Auto Publish 3.2 =
* Added support for Sign In with LinkedIn using OpenID Connect
* Added bug fix
* Compatibility with latest version of wordpress

= Social Media Auto Publish 3.1 =
* Added support for Twitter V2 API
* Compatibility with new LinkedIn API changes
* Added fix to prevent duplicate posting
* Compatibility with latest version of wordpress

= Social Media Auto Publish 3.0.1 =
* Compatibility with PHP 7

= Social Media Auto Publish 3.0 =
* Compatibility with latest version of wordpress
* Added support for instagram publishing
* Added support for smapsolutions publishing for instagram
* Added support for smapsolutions publishing for twitter
* Added support for Tumblr publishing
* Support for linkedin thumbnail param
* Updated LinkedIn publishing api using smapsolutions app
* Facebook API V 13.0 compatibility added
* Multilingual support 
* Option to configure auto publish settings while creating posts

= Social Media Auto Publish 2.4.2 =
* Minor bug fixes

= Social Media Auto Publish 2.4.1 =
* Added support for LinkedIn showcase pages
* Compatibility with Facebook API V 7.0
* Minor bugs fixed

= Social Media Auto Publish 2.4 =
* Added option to attach image to linkedin post
* Option to clear facebook cache before auto publish

= Social Media Auto Publish 2.3 =
* Support for free trial of SMAPSOLUTION's api 
* Added LinkedIn authorization and publishing using SMAPSolutions.com
* Added option to upgrade SMAPSOLUTION's subscription package
* Option to enable enforcing og meta tags in auto publish
* Option to remove in-active facebook/linkedin authorizations

= Social Media Auto Publish 2.2.1 =
* Option to reuse last used auto publish settings on edit posts

= Social Media Auto Publish 2.2 =
* Compatibility with LinkedIn API version 2.0
* Removed unwanted facebook permission 'user_photos'
* Added option to specify posting method for LinkedIn

= Social Media Auto Publish 2.1 =
* Added page for managing authorizations of smapsolutions app
* Compatibility with gutenberg editor
* Option to view social media posts from auto publish logs
* Settings menu reorganized 
* Compatibility with PHP version 7.2

= Social Media Auto Publish 2.0 =
* Added option for auto publish to linkedin company pages
* Added Facebook authorization and publishing using SMAPSolutions.com
* Removed unwanted facebook permissions
* Increased logs count from 5 to 10

= Social Media Auto Publish 1.7.8 =
* Removed Facebook deprecated permission 'publish_actions'
* Applied WordPress time format in {POST_PUBLISH_DATE}

= Social Media Auto Publish 1.7.7 =
* Twitter api updated with wp_remote_get
* Facebook authorisation issue fixed
* UI updated

= Social Media Auto Publish 1.7.6 =
* Added USER_DISPLAY_NAME in message formats
* Updated twitter character length limit 
* Minor security issues fixed
* Removed irrelevant configurations
* Twitter api updated

= Social Media Auto Publish 1.7.5 =
* Compatibility with facebook API V 2.11 added
* Minor bug fixes

= Social Media Auto Publish 1.7.4 =
* Removed Caption from {POST_CONTENT}
* Fixed LinkedIn character length issue
* Fixed Facebook image selection issue for 'Share a link to your blog post' and 'Attach your blog post'
* Fixed ssl peer verification in wp_remote_get/wp_remote_post calls

= Social Media Auto Publish 1.7.3 =
* Added POST_ID and POST_PUBLISH_DATE in message formats

= Social Media Auto Publish 1.7.2 =
* Fixed facebook boost unavailable issue
* Nonce added
* Prevented direct access to plugin files
* Data validation updated
* Fixed facebook app album related issue

= Social Media Auto Publish 1.7.1 =
* utf-8 decoding issue fixed
* Visual composer compatiblity issue fixed
* Minor bugs fixed

= Social Media Auto Publish 1.7 =
* Facebook api updated(requires PHP version 5.4 or higher)
* Twitter 140 character exceeding issue fixed

= Social Media Auto Publish 1.6.1 =
* Fixed custom post types autopublish issue
* Fixed duplicate autopublish issue

= Social Media Auto Publish 1.6 =
* Added option to enable/disable utf-8 decoding before publishing
* Removed unwanted configuration related to 'future_to_publish' hook
* Removed unwanted setting "Facebook user id"
* Postid added in autopublish logs
* Updated auto publish mechanism using transition_post_status hook
* Open graph meta tags will be prefered for facebook and linkedin attachments

= Social Media Auto Publish 1.5.2 =
* Latest five auto publish logs for each social media account are maintained
* Inline edit of posts will work according to the value set for "Default selection of auto publish while editing posts/pages"
* Resolved issue in fetching facebook pages in settings page (in case of more than 100 pages)

= Social Media Auto Publish 1.5.1 =
* Updated Linkedin authorization

= Social Media Auto Publish 1.5 =
* Updated Linkedin API
* Auto publish added during quick edit
* Added option to enable/disable "future_to_publish" hook for handling auto publish of scheduled posts
* Added options to enable/disable "the_content", "the_excerpt", "the_title" filters on content to be auto-published

= Social Media Auto Publish 1.4.3 =
* Fixed category display issue
* Removed outdated facebook scopes from authorization

= Social Media Auto Publish 1.4.2 =
* Bug fix for duplicate publishing of scheduled posts

= Social Media Auto Publish 1.4.1 =
* Fixed auto publish related bug in post edit
* Fixed message format bug in auto publish
* Updated Facebook authorization

= Social Media Auto Publish 1.4 =
* Option to configure auto publish settings while editing posts/pages
* General setting to enable/disable post publishing
* Added auto publish for scheduled post
* Fixed issue related to \" in auto publish

= Social Media Auto Publish 1.3.2 =
* Fixed auto-publish of scheduled post

= Social Media Auto Publish 1.3.1 =
* Added compatibility with wordpress 3.9.1
* Facebook API V 2.0 compatibility added
* Compatibility with bitly plugin

= Social Media Auto Publish 1.3 =
* View logs for last published post
* Option to enable/disable SSL peer verification
* Option to reauthorize the Facebook/LinkedIn application

= Social Media Auto Publish 1.2.2 =
* Bug fixed for &amp;nbsp; in post
* Twitter api updated to https

= Social Media Auto Publish 1.2.1 =
* Default image fetch logic for auto publish updated
* Thumbnail image logic for facebook updated
* LinkedIn bug fixed

= Social Media Auto Publish 1.2 =
* Support for user nicename in auto publish
* A few bug fixes

= Social Media Auto Publish 1.1.1 =
* Fix for multiple posting to social media
* Fixed PHP version compatability issue for versions less than 5.3
* A few bug fixes

= Social Media Auto Publish 1.1 =
* Support for publishing to LinkedIn
* A few bug fixes

= Social Media Auto Publish 1.0 =
* First official launch.

== Upgrade Notice ==

= Social Media Auto Publish 1.2.1 =
If you had issues  with default image used for auto publishing as well as linkedin publishing, you may apply this upgrade.

== More Information ==

★ [Social Media Auto Publish User Guide](http://help.xyzscripts.com/docs/social-media-auto-publish/ "Social Media Auto Publish User Guide")
★ [Social Media Auto Publish FAQ](http://help.xyzscripts.com/docs/social-media-auto-publish/faq/ "Social Media Auto Publish FAQ")

= Troubleshooting =

Please read the FAQ first if you are having problems.

= Requirements =

    WordPress 3.0+
    PHP 8.2+

= Feedback =

We would like to receive your feedback and suggestions about Social Media Auto Publish plugin. You may submit them at our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").
