https://github.com/lttkgp/r2-d2
Facebook connector for C-3PO
https://github.com/lttkgp/r2-d2
facebook golang hacktoberfest scheduler
Last synced: 5 months ago
JSON representation
Facebook connector for C-3PO
- Host: GitHub
- URL: https://github.com/lttkgp/r2-d2
- Owner: lttkgp
- License: mit
- Created: 2018-12-24T17:35:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-31T20:02:13.000Z (over 4 years ago)
- Last Synced: 2023-02-28T19:05:44.761Z (about 2 years ago)
- Topics: facebook, golang, hacktoberfest, scheduler
- Language: Go
- Homepage:
- Size: 2.24 MB
- Stars: 7
- Watchers: 4
- Forks: 4
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# R2-D2
R2-D2 is [C-3PO](https://github.com/lttkgp/C-3PO)'s beloved sidekick, helping with fetching and managing all the Facebook group data for Listen To This KGP. He saves a copy of the Facebook public data (no user information - mostly because he can't get it even if he wanted to) and keeps it in sync with C-3PO.
## Getting started
### Prerequisites
- Docker
-
Facebook Graph API CredentialsYou will need 'User access tokens' to work with the Graph API. You can find more information here: [Graph API documentation](https://developers.facebook.com/docs/graph-api/overview#step2).
As explained in the link above, create a new Facebook app (My Apps -> Add a new app) and generate user access tokens through the Graph API explorer.
### Setting up
- Create a `.env` file, using the `.env.template` file as reference.
```sh
cp .env.template .env
```
Fill all the fields using the credentials created as part of the pre-requisites.### Running the scheduler
Run the scheduler with
```sh
docker-compose up
```## Contributing
Contributions are always welcome. Your contributions could either be creating new features, fixing bugs or improving documentation and examples. Find more detailed information in [CONTRIBUTING.md](.github/CONTRIBUTING.md).## License
[MIT](LICENSE)