Skip to main content

A python library to automatize facebook without the official API

Project description

# FacebookWebBot

=======================

A simple library to automatize facebook without the official API
All the functions are made scrapping and parsing mbasic.facebook.com

## Available functions:

Login
Logout
Post in your timeline
Message friends
Get post in a facebook group
Post in a facebook group
Comment in a post
Get the members of a facebook group
Send friend request
Send message to any person
Get all post from a profile/fanpage
Send group request
Get number of likes and coments in a post
Post in a fanpage/friend timeline

## Basic usage example:

```
from FacebookWebBot import *
bot=FacebookBot()
bot.set_page_load_timeout(10)
bot.login("your@email.com","yourpassword")
allpost=bot.getPostInProfile("https://mbasic.facebook.com/your-gf-profile",deep=50)
for p in allpost:
print(p)
```
## Installing
pip install FacebookWebBot
## Know issues:

* Can't post images because PhantomJS limitations.

## Dependencies:

* Python 3.4

* Selenium

* PhantomJS


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 FacebookWebBot, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size FacebookWebBot-1.1.0-py3-none-any.whl (7.6 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page