Descripción
Auto Sync for FB connects your Facebook Page to your WordPress site via the Facebook Graph API.
Key Features:
* Automatically imports Facebook Page posts as WordPress blog posts.
* Downloads post images directly into the WordPress Media Library and sets them as Featured Images (_thumbnail_id).
* Deduplication Engine: Tracks _fb_post_id in post meta so posts are never imported twice.
* Native WP-Cron scheduling (Hourly, Every 2 Hours, Twice Daily, or Daily).
* Manual “Sync Now” and “Test Connection” buttons in WP Admin.
* Choice of Published vs Draft status, default category, and author.
* Token Exchange Tool: Easily exchange short-lived tokens for permanent (never-expiring) Facebook Page Access Tokens.
How to Get Facebook Credentials
- Go to Facebook for Developers.
- Create an App (Type: Other / Business).
- Select Use Case “Manage everything on your Page”. Add business_management to minimum proposed permissions.
- Select Tools/Graph API Explorer and create User token with pages_show_list, business_management, pages_read_engagement permissions.
- Get Page Access Token for your page, with the same permissions as above.
- Copy your Facebook Page ID (found in your Page’s About section or URL).
How to Get a Never-Expiring (Permanent) Token
Short-lived Facebook tokens expire in 1-2 hours. To get a permanent token that never expires:
- Copy your App ID and App Secret from your Facebook Developer App Settings (Settings > Basic).
- Enter your App ID, App Secret, and temporary Page Access Token into the plugin settings.
- Click Exchange for Never-Expiring Token.
- The plugin will exchange your short-lived token via Facebook Graph API for a permanent Page Access Token and automatically save it into your settings!
Instalación
- Upload the
auto-sync-for-fbfolder to your/wp-content/plugins/directory (or zip the folder and upload via Plugins > Add New > Upload Plugin). - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Settings > Auto Sync for FB in your WordPress dashboard.
- Enter your Facebook Page ID and Page Access Token.
- Click Test FB Connection to confirm connectivity.
- Click Sync Now to immediately import your latest posts, or let WP-Cron run automatically on your chosen schedule.
Preguntas frecuentes
-
Does this plugin require external paid services?
-
No. The plugin communicates directly between your WordPress site and the official Facebook Graph API.
-
Will this plugin slow down my site?
-
No. The sync runs asynchronously via WP-Cron in short bursts (less than 2 seconds) and exits immediately if no new Facebook posts are detected.
-
How do I prevent Facebook tokens from expiring?
-
Use the built-in Token Exchange feature in the settings page. Enter your Facebook App ID and App Secret to convert short-lived tokens into permanent, non-expiring Page Access Tokens.
-
Can I import posts as drafts first?
-
Yes. You can select “Save as Draft” in the settings if you prefer to review posts before publishing them to your blog.
Reseñas
No hay reseñas para este plugin.
Colaboradores y desarrolladores
Este software es de código abierto. Las siguientes personas han contribuido a este plugin.
ColaboradoresTraduce “Auto Sync for FB” a tu idioma.
¿Interesado en el desarrollo?
Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.0.1
- Improved WP-Cron deactivation hook using wp_clear_scheduled_hook.
1.0.0
- Initial release of Auto Sync for FB.
