Skip to main content

A python library to automate facebook group administration

Project description

Supported Python versions License Development Status

Note: This library is under active development. Lots more to come. To update

pip install -U --no-deps fbadmin



Easiest way to install phantomjs is via npm
npm install phantomjs

other dependencies and the package itself can be installed via pip

pip install fbadmin


Login and instantiate FBgroup

from fbadmin import login,FBGroup

Block if member of more than 100 groups and approve if member of less than 10 groups

for applicant in group.applicants:
    if applicant.groupcount>100:
    elif applicant.groupcount<=10:

Get members

for page in group.get_members():
    for member in page:
        print #prints member names one page at a time

Get source of member’s homepage(for spam analysis)


Teardown when done with it


Please look at the code for other functionality. There are docstrings.

needs a config file of following format to be saved as credentials.cfg

#This is the configuration file. Enter FB credentials here.
email =
password = youcanttaketheskyfromme

Suggestions/Comments/Issues can be sent at

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fbadmin, version
Filename, size File type Python version Upload date Hashes
Filename, size fbadmin- (4.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page