=== Itmaroon Social Post Sync ===
Contributors:      itmaroon
Tags:              sns, social, x, facebook, instagram
Requires at least: 6.5
Tested up to:      7.1
Stable tag:        2.0.0
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Requires PHP:      8.2

Create WordPress articles using a simple form, publish to X, Facebook, Instagram and LINE, and import social posts and LINE feedback.

== Description ==
**Itmaroon Social Post Sync** allows you to post the same content to social media simultaneously when publishing a post in WordPress.  
It also provides an option to import social media posts back into WordPress for archiving or reuse.

Administrators choose a WordPress post type and map the form inputs to built-in fields, supported custom fields, or content blocks. Contributors can then use the form without choosing individual blocks.

X and Meta authentication use a separately operated OAuth relay. The configured AWS backend performs media conversion and background X/Instagram posting. The bundled AWS endpoint is operated by the plugin author and requires separately provisioned site authorization; installing the plugin does not create AWS resources or grant backend access. LINE credentials and webhook reception are managed on the user's WordPress website, and LINE delivery goes directly from that website to LINE.

== Related Links ==
* [itmaroon-social-post-sync:GitHub](https://github.com/itmaroon/sns_relate)
* [wpsetting-class-package:GitHub](https://github.com/itmaroon/wpsetting-class-package)
* [wpsetting-class-package:Packagist](https://packagist.org/packages/itmar/wpsetting-class-package)

== Installation ==
1. From the WP admin panel, go to “Plugins” → “Add New”.
2. Search for “Itmaroon Social Post Sync”.
3. Click “Install” and then “Activate”.
4. Configure SNS connections and WordPress save destinations. AWS-backed features also require site authorization provisioned by the backend operator. LINE setup requires your own Messaging API credentials and a public HTTPS website for incoming messages.

OR…

1. Download the plugin from this page.
2. Upload the `.zip` file via “Plugins” → “Add New” → “Upload Plugin”.
3. Click “Install Now” and then “Activate Plugin”.

== Frequently Asked Questions ==
= Do I need an AWS account? =
AWS-backed media conversion and background X/Instagram posting require an existing backend and a site-specific authorization key. The plugin does not create an AWS account or deploy backend resources. LINE text and supported media delivery do not require AWS; LINE video conversion does.

= Does this plugin store or transmit personal data? =
Yes. Connecting an account, reading social posts, sending posts, converting media and receiving LINE feedback involve account identifiers, credentials, post content or media. Data is sent to the selected service as described under External services. Imported content and configuration are stored in your WordPress database or uploads directory. LINE received messages are retained locally for 30 days unless removed earlier.

= What if I don’t have AWS resources? =
AWS-backed operations cannot run without backend authorization. WordPress form editing, supported SNS imports and direct LINE delivery have separate requirements. Contact the backend operator to arrange access before using AWS-backed operations.

== Screenshots ==
1. Dashboard
2. WordPress posting destination settings, SNS connection settings
3. SNS Post List
4. Text information input screen
5. Media selection screen
6. Option selection screen
7. SNS post information confirmation screen
8. SNS post import screen

== Changelog ==
= 2.0.0 =
* Added direct LINE delivery, signed webhook reception and reviewed feedback imports.
* Added per-post-type WordPress save destinations and supported custom-field inputs.
* Improved media conversion, posting status, administration screens and Japanese translations.
* Restricted the shared OAuth service to operator-approved websites. AWS-backed operations require separately provisioned site credentials.
* Added an explicit release file manifest; development tests and backend deployment sources are not distributed with the plugin.

= 0.1.0 =
* Initial release with X / Facebook / Instagram support.
* Added AWS integration for Lambda-based social post handling.

== Arbitrary section ==
This plugin uses PHP class management via Composer.  
- [GitHub](https://github.com/itmaroon/wpsetting-class-package)  
- [Packagist](https://packagist.org/packages/itmar/wpsetting-class-package)

== External services ==
The shared OAuth relay and managed AWS backend are available only to websites approved by the operator. Installing this plugin does not enroll a site or grant a free shared-service allowance. Unapproved websites cannot connect through the shared OAuth service. Direct LINE integration and WordPress form editing use the user's own website and credentials.

The plugin uses external APIs after an administrator connects an account or requests an operation. JavaScript and CSS used by the plugin are bundled locally; service API URLs are not remote executable plugin code.

* OAuth relay: https://itmaroon.net/relay-server/ handles X and Meta authorization. Requests include the WordPress callback URL, a site identifier, signed connection requests and the provider's authorization response. Authentication results are returned to the originating website.
* AWS: the configured execute-api endpoint, S3, Lambda, Step Functions and DynamoDB provide media conversion, job status and background X/Instagram delivery. Requests may include site/post identifiers, post text, media or media URLs and credentials needed for the selected SNS operation. LINE credentials are not sent to this backend.
* X: account information, post reads and post/media writes use X APIs under the connected app and account. API charges and limits are controlled by the app's billing configuration. Provider information: https://developer.x.com/
* Meta: Facebook and Instagram account, page, post and media operations use Meta Graph APIs under the connected app and account. Provider information: https://developers.facebook.com/
* LINE: account verification and delivery use https://api.line.me/ with the site's channel access token. Recipients and message text/media URLs are sent for the requested delivery. Incoming events are sent by LINE to the webhook URL on the user's website and verified using the locally stored channel secret. Provider information: https://developers.line.biz/

Using the plugin does not provide an unlimited external-service allowance. The configured service operator and provider determine access, charges and limits.

It also bundles third-party libraries:
- Swiper 12.0.1 (MIT)
- jquery-datetimepicker 2.5.21 (MIT)
- jquery.easing 1.4.1 (BSD-3-Clause)
- imagesLoaded 5.0.0 (MIT)

See `THIRD-PARTY-NOTICES.txt` and the files under `/licenses/` for details.
