https://github.com/alexitc/fgir
Facebook Groups Information Retriever is a project to retrieve and organize publications from Facebook groups working almost in real time
https://github.com/alexitc/fgir
Last synced: 7 months ago
JSON representation
Facebook Groups Information Retriever is a project to retrieve and organize publications from Facebook groups working almost in real time
- Host: GitHub
- URL: https://github.com/alexitc/fgir
- Owner: AlexITC
- Created: 2016-07-26T09:39:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-07T17:34:15.000Z (about 9 years ago)
- Last Synced: 2024-12-29T03:23:26.309Z (over 1 year ago)
- Language: Java
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FGIR
Facebook Groups Information Retriever is a project to retrieve and organize publications from Facebook groups working almost in real time.
You can see this post for more details: https://halexv.blogspot.mx/2016/07/scrapping-facebook-groups-almost-in-real-time.html
## Requisites
- Gradle
- Postgresql
## How to build
- gradle build
## How to run
- java -jar build/libs/FGIR-1.0.jar [email] [password]
## Usage
This project provides a way to retrieve and organize publications from Facebook groups.
The project needs an email account which is used to parse Facebook emails, you can turn on email notification from Facebook groups.
Facebook sends two kind of email notifications:
- A notification that you get inside a group
- A notification about a new publication in a group.
The project is able to parse both kind of notification to get the relevant data which is stored in a database.
This assumes you have a database with the following specifications:
- A database called 'fgir_db' accesible with 'postgres' as user and password (required by com.alex.db.Connector which you can edit).
- A stored procedure called facebook.addGroup(group_id, group_name) which stores a new group.
- A stored procedure called facebook.addPublication(publication_id, group_id, user_id, username, description, photo_url, publication_time) which stores a new publication.
You can build another application to query the database or run plain sql queries.