# MTS Social Auto Post - Frequently Asked Questions

---

## General Questions

### What does this plugin do?
MTS Social Auto Post automatically shares your WordPress posts to your Facebook Page when you publish them. You can also manually share existing posts and customize the message format.

### Is this plugin free?
The basic version is free. Premium features may be available in future versions.

### Does this work with Facebook Groups?
Currently, this plugin supports Facebook Pages only. Group posting requires different permissions and is not supported in this version.

### Can I post to multiple Facebook Pages?
The current version supports one Facebook Page. Multi-page support may be added in future updates.

---

## Setup Questions

### Why do I need a Facebook App?
Facebook requires all third-party integrations to use an App for API access. This ensures security and allows you to control permissions.

### Do I need a Business Manager account?
Yes, for the most reliable setup. Business Manager allows you to create System Users which provide stable, long-lasting tokens that don't expire.

### What's the difference between App ID and App Secret?
- **App ID:** Public identifier for your app (safe to share)
- **App Secret:** Private key (keep this secret, like a password)

### Where do I find my Page ID?
1. Go to [Graph API Explorer](https://developers.facebook.com/tools/explorer/)
2. Query `me/accounts` with your token
3. Find your page in the response - the `id` field is your Page ID

---

## Token Questions

### What is a Page Access Token?
A Page Access Token is a special credential that allows your app to post on behalf of a Facebook Page. It's different from a User Token (which represents you personally).

### Why won't my token work?
Common reasons:
1. Using a User Token instead of Page Token
2. App is still in Development mode (not Live)
3. Token was generated before app went Live
4. Token has expired
5. Missing required permissions

See the [Troubleshooting Guide](TROUBLESHOOTING.md) for detailed solutions.

### How long do tokens last?
- **Short-lived tokens:** 1-2 hours
- **Long-lived tokens:** ~60 days
- **System User tokens (set to never expire):** Indefinite

We recommend using System User tokens with "Never" expiration.

### How do I know if I have the right token?
1. Go to Graph API Explorer
2. Paste your token
3. Query: `me?fields=id,name`
4. If it returns your **Page name** → Correct token ✅
5. If it returns your **personal name** → Wrong token ❌

### My token expired. What do I do?
Regenerate a new token:
1. Go to Business Manager → System Users
2. Generate new token
3. Query `me/accounts` to get the Page Token
4. Update the token in plugin settings

---

## Posting Questions

### Posts aren't appearing on my Facebook Page. Why?
Check these in order:
1. Is the post status "Success" in the Post Log?
2. Is your app in Live mode (not Development)?
3. Is your token valid and not expired?
4. Do you have the correct Page ID?

### Can I customize what gets posted?
Yes! Use the Post Template in settings with these variables:
- `{title}` - Post title
- `{excerpt}` - Post excerpt
- `{url}` - Post URL
- `{author}` - Author name
- `{date}` - Publish date
- `{categories}` - Post categories
- `{tags}` - Post tags
- `{site_name}` - Your site name

### Can I include images in my posts?
Yes, enable "Include Featured Image" in settings. The plugin will share your post's featured image along with the text.

### Why does my post show "Failed" with URL invalid error?
This happens when testing on localhost. Facebook cannot validate local URLs. Deploy to a live site with a real domain to fix this.

### Can I schedule posts for later?
Yes, if you schedule a post in WordPress, the Facebook share will happen when the post is actually published (at the scheduled time).

### How do I manually share an old post?
1. Go to **Posts** in WordPress admin
2. Hover over the post you want to share
3. Click **"Share to Facebook"** in the row actions

### Can I edit a post after it's shared?
Editing the WordPress post won't update the Facebook post. You'll need to manually update or delete the Facebook post.

---

## Error Messages

### Error #200: Permission Denied
You're using the wrong token type. You need a Page Access Token, not a User Token. See [Troubleshooting Guide](TROUBLESHOOTING.md#error-200-permission-denied).

### Error: "The URL you supplied is invalid"
You're testing on localhost. Deploy to a live site or remove `{url}` from your post template temporarily.

### Error #10: pages_read_engagement required
Your token was generated before the app went Live. Regenerate the token after publishing your app.

### Error #100: Nonexisting field (accounts)
You're querying `me/accounts` with a Page Token. This is actually a sign you already have the right token - try posting directly instead.

---

## Business Manager Questions

### My page doesn't show in me/accounts query. Why?
If your page is owned by a Business Manager (not your personal account), it won't appear in personal token queries. Use a System User token instead.

### What is a System User?
A System User is a special account type in Business Manager designed for API integrations. It's not tied to a personal Facebook account, making it more reliable for automated posting.

### Do I need Admin role for the System User?
Yes, Admin role is recommended to ensure the System User has full posting permissions.

---

## Security Questions

### Is my App Secret stored securely?
Yes, credentials are encrypted before being stored in the WordPress database.

### Can I use this plugin on multiple sites?
Each site should have its own Facebook App for best security practices. However, you can use the same app across sites you control.

### Should I share my tokens with anyone?
Never share your App Secret or Access Tokens. Treat them like passwords.

---

## Technical Questions

### What WordPress version is required?
WordPress 5.8 or higher is recommended.

### What PHP version is required?
PHP 7.4 or higher.

### Does this work with caching plugins?
Yes, the plugin should work with caching plugins. Posts are shared when published, not when viewed.

### Does this work with multisite?
The plugin can be activated per-site in a multisite network. Each site needs its own Facebook configuration.

---

## Support

### Where can I get help?
1. Check the [Troubleshooting Guide](TROUBLESHOOTING.md)
2. Review this FAQ
3. Contact info@monirtechsolutions.com

### How do I report a bug?
Email info@monirtechsolutions.com with:
- WordPress version
- Plugin version
- Error messages (from Post Log)
- Steps to reproduce the issue

### Can I request a feature?
Yes! Send feature requests to info@monirtechsolutions.com

---

*Last updated: January 2026*
