Skip to content

Search in Facebook open groups for posts according to given keywords, get the results in a HTML file.

Notifications You must be signed in to change notification settings

eladc/Facebook-Search-in-Groups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook-Search-in-Groups

Search in Facebook open groups for posts according to given keywords, using Facebook's GraphAPI.

The script will yield the results in a HTML file.

I wrote it to automate the search for job openings in relevant facebook groups.

Usage:

###Edit settings.ini -

Create an app at:

https://developers.facebook.com/

and get your App ID and App Key.

Get your user access token:

https://developers.facebook.com/tools/explorer

It is required to compile a list of group IDs on the first run.

Set your desired words to search.

Add groups

Add your favorite groups in urls file

Run:

The first run will yield a csv file with a list of group IDs to search in.

CL Arguments:

search for posts since the previous day:

main.py 

Search for posts since any given day:

main.py YYYY-MM-DD

Use cron to run it daily.

About

Search in Facebook open groups for posts according to given keywords, get the results in a HTML file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages