https://github.com/jehy/facebook-search
Telegram bot to authorize to facebook and search for people using Node and Phantom.JS
https://github.com/jehy/facebook-search
facebook facebook-login node nodejs phantom phantomjs telegram telegram-bot
Last synced: about 1 month ago
JSON representation
Telegram bot to authorize to facebook and search for people using Node and Phantom.JS
- Host: GitHub
- URL: https://github.com/jehy/facebook-search
- Owner: jehy
- Created: 2017-08-18T07:31:15.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-18T07:31:39.000Z (almost 9 years ago)
- Last Synced: 2025-01-07T21:44:56.805Z (over 1 year ago)
- Topics: facebook, facebook-login, node, nodejs, phantom, phantomjs, telegram, telegram-bot
- Language: JavaScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](https://www.facebook.com/apps/site_scraping_tos_terms.php)
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):
```javascript
{
"facebook": {
"login": "my@email.com",
"password": "coolPassword"
},
"telegram": {
"token": "123:AAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
}
```
And then run `npm start`.