Skip to content

Totem allows you to retrieve information about ads of a facebook page , we can retrieve the number of people targeted, how much the ad cost and a lot of other information.

Notifications You must be signed in to change notification settings

megadose/facebook_totem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Totem

👋 Hi there! For any professional inquiries or collaborations, please reach out to me at: [email protected]

📧 Preferably, use your professional email for correspondence. Let's keep it short and sweet, and all in English!

PyPI PyPI - Week PyPI - Downloads PyPI - License

For BTC Donations : 1FHDM49QfZX6pJmhjLE5tB2K6CaTLMZpXZ

Educational purposes only

Totem allows you to retrieve information about ads of a facebook page , we can retrieve the number of people targeted, how much the ad cost and a lot of other information.

forthebadge made-with-python

Project example : Totem maltego

Demo

HD Demo

hammer_and_wrench Installation

With PyPI

pip3 install facebook_totem

With Github

git clone https://github.com/megadose/facebook_totem.git
cd facebook_totem/
python3 setup.py install

Usage of Totem.py

python3 Totem.py [-h] --mode MODE [--url URL] [--urls URLS] [--columns COLUMNS] [--target TARGET] --output OUTPUT

-h, --help show the help message and exit
--mode MODE There are different modes:

​ - single : to get all ads on a page

​ - multi : to get the ads on different pages

​ - search : to search a page

--url URL The url of the target page (single mode)
--urls URLS Csv file with the lists of the target urls (multi mode)
--columns COLUMNS The name of the column with the urls (multi mode)
--target TARGET Target name (search mode)
--output OUTPUT Name of the csv output file ( single and search mode )

The output is in the output folder, for the multi mode the name of the file is the name of the page + id of the page.

Usage of facebook_totem with python:

from facebook_totem import *
getIdFromUrl(url) #to get a ID of a facebook page from the url of this page the output is the id
getFacebookPageFromName(name) #to search facebook page with a name the output is a list of the pages with this name
getAdsFromId(id) #to get all ads of a facebook page from the id of this page the output is a list of all ads

About

Totem allows you to retrieve information about ads of a facebook page , we can retrieve the number of people targeted, how much the ad cost and a lot of other information.

Topics

Resources

Stars

Watchers

Forks

Languages