Obsolete
If you are interested in maintaining this module, please let me know. In the mean time, this module should not be used in production.
If you are still interested in making this module work again then see #2909088: Looking for sponsors to fix the breaks from Facebook's side.
Facebook autopost allows you to configure your site to automatically post to a user's Timeline (configuring the privacy) or to a Facebook Page without human intervention. No tricky configuration needed.
Watch video demonstration here. There is also a Spanish version aquí.
Examples of use cases
- Create a Facebook publication when a new content has been aded.
- Share a video link (stored in a field) after flagging some content.
- Let user's announce on their Facebook profile they have just bought a product (and link to it).
- Welcome new Drupal users on your site's Facebook fan page.
- Create automated Facebook Offers when adding a new product.
- …
Description
This module handles the case where the user has not authorized (yet) your Facebook application to post in their behalf. This is done transparently for the user.
You can use the developer API or use Rules to do so and don't write a single line of code.
The module does 3 basic things:
- Allows you to grant access to write to your (or admin’s ones) Facebook Fan pages.
- Allows you to select the pages you will make available to post to.
- Allows you to publish to the page (or Facebook wall) with a comprehensive Developer API. See the example.
- To publish in the user's profile just use Rules or a code like this.
Facebook permissions
This module comes with a submodule called Facebook Permissions. This will allow you to select the permissions needed for your Facebook App to work from a comprehensive UI instead of a long confusing list of permission names.
Integrations
Integrates with Entity API and Rules.
- This will allow you to publish in complex contexts without a single line of code.
- This will allow you to integrate your saved Facebook Publications with Views.
- This will allow you to keep the returned Facebook publication ID to manage those publications remotely (delete or edit those publications from Drupal).
Drush
If you are using 7.x-1.x-dev you can now download the Facebook PHP SDK library using drush:
drush download-facebook-php-sdk
or drush dl-fbsdk
.
Quick installation:
drush en -y fb_autopost fb_autopost_entity fb_autopost_types && drush download-facebook-php-sdk
Dependencies
You will need to download the Official Facebook PHP SKD to a valid library path. To do so just follow the instructions in the admin/reports/status
page after enabling the module or use drush to download it (you will also need to enable the module first).
If you are using the Facebook Autopost Entity module:
- You will need to install and enable Entity API.
If you are using the Facebook Autopost Types module:
- You will need to install and enable Facebook Autopost Entity.
- You will need to install and enable Features.
Upgrade notes
If you upgraded from 7.x-1.0-alpha2 to 7.x-1.0-beta1 you will need to check your rules and update them:
- Add privacy value if publishing to a user's timeline.
- Update the page selection. Now only 1 page can be posted at a time.
- Check the API compatibility if you are publishing programatically.
If you need help figuring out what the field names represent to Facebook, check out this link.
Check out all the changes on the CHANGELOG.
Project information
- Seeking new maintainer
The current maintainers are looking for new people to take ownership. - Obsolete
Use of this project is deprecated. - Module categories: Automation, Integrations
- 601 sites report using this module
- Created by e0ipso on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-1.x-dev updated 16 Apr 2016 at 06:23 UTC