Skip to main content

Simple python library using graph api and scraping.

Project description

About

A simple Facebook library focused on Facebook brut3f0rce.

pip install fbruch

API: First access

Example code

from fbruch import Api

# Login using cookies string.
# Download cookies using the cookiedough extension
fb = Api(cookies='cookie string')
# Login using email and password 
fb = Api(mailpass={'email': 'fbmail@gmail.com', 'password': 'fbpassword'})

print(fb.islogin) # if login success
print(fb.token) # your facebook token

API: Account info

Get name and user id facebook

Example code

info = fb.account_info(id='meizug')
print(info)

API: Dump friendlist

Get name and user id friendlist using graph api

Example code

dump = fb.dump_friendlist(id='meizug', cursor=None)
print(dump)

UTILS: Password generator

Create a list of passwords from names.

Example code

from fbruch.utils import password_generator

password = password_generator(name='dinda ayunda')
print(password)

LOGIN: Facebook login

Example code

from fbruch import Login

fb = Login(subdomain='mbasic')
response = fb.__regular__(email='mailfb@gmail.com', password='facebook password')
print(response)

Example success output

{'status': True, 'data': {'session': b'example session', 'useragent': 'Useragent example', 'email': 'output@gmail.com', 'password': 'example password', 'cookies_string': 'example cookies'}, 'error': None}

Subdomain list

  • mbasic
  • d
  • m
  • free
  • touch

Project details


Download files

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

Source Distribution

fbruch-1.0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

fbruch-1.0.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file fbruch-1.0.2.tar.gz.

File metadata

  • Download URL: fbruch-1.0.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for fbruch-1.0.2.tar.gz
Algorithm Hash digest
SHA256 1195910cd6379be1b82cc84cd77a3e52453288704bdeb44d0a703cb922439929
MD5 bec2ecca214474dfa9c50e67025d997e
BLAKE2b-256 e9f87a0f63f6557f145daa7a35d16d528e837ecd74352c4264c58e3a3ca7122a

See more details on using hashes here.

File details

Details for the file fbruch-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: fbruch-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for fbruch-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f5c824fd2527225557b215f3cf6f2d72411852167dbe80210b70421252fa2314
MD5 dd923bdaa2d3fe33ae2bfaaba61b7b47
BLAKE2b-256 7ad94836453cf695caa8c882045a174867466c93ffb9dc3f7033bf205e510543

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page