Skip to content

Telegram bot to authorize to facebook and search for people using Node and Phantom.JS

Notifications You must be signed in to change notification settings

jehy/facebook-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook search via PhantomJS

This was just a funny experiment for me to play with PhantomJS which is damn cool.

Please check facebook automated data collection terms before doing anything.

This repository contains two complimentary pieces of code:

  • searchUsers.js - Auth to facebook via login form, make search query and parse user data - all while making screenshots of pages for debug purposes.
  • index.js - simple telegram bot which takes authorisation and search commands, and forwards search output to user.

Please note that this will only work if you set english as your language in account preferences.

For starting bot, just create config/config.json with the following JSON (please fill with your own cridentials):

{
  "facebook": {
    "login": "my@email.com",
    "password": "coolPassword"
  },
  "telegram": {
    "token": "123:AAAAAAAAAAAAAAAAAAAAAAAAAAAA"
  }
}

And then run npm start.

About

Telegram bot to authorize to facebook and search for people using Node and Phantom.JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages