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.

megadose/facebook_totem

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 7, 2020 18:12
December 28, 2020 11:15
July 7, 2020 18:26
July 7, 2020 18:26

Totem

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