Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

FacebookWebBot

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

FacebookWebBot

A python library to automatize facebook without the official API

  • 1.1.0
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc