Quick and dirty set of tools for Facebook power users and page admins
-
Python 2.7: https://www.python.org/download/releases/2.7/
Download the appropriate release for the OS you're on, install, and reboot. You can then download fb-batchtools and the scripts should start working. -
Facebook for Python: https://facebook-sdk.readthedocs.org/en/latest/install.html
No need to worry about this; fb-batchtools will automatically attempt to install this for you if you don't have it. -
Facebook Graph API access token https://developers.facebook.com/tools/explorer/
Remember to enable the relevant permissions for page publishing, page management, ads and insights!
User files are stored at ~/Documents/fb-batchtools, and outputs are exported to ~/Documents/fb-batchtools/export.
IDs can be obtained from the exported Page Insights XLS (recommended), of from the URL of the link itself:
http://facebook.com/PAGE_ID_HERE/posts.or.photos.or.stuff/POST_ID_HERE.
Page names can be used to subsitute IDs as well. IDs from the URL sometimes may result in invalid ID errors; you can check the validity of an ID using the Graph API Explorer (mentioned above).
Place your input IDs and input content in IDs.txt and Content.txt respectively. Some functions use both, some only use one.
fb-batchtools uses the GNU General Public License.