Coder Social home page Coder Social logo

silentsoul04 / facebook_totem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from megadose/facebook_totem

0.0 0.0 0.0 30.46 MB

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.

Python 100.00%

facebook_totem's Introduction

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

facebook_totem's People

Contributors

megadose avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.