Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/core23/facebookbundle
This bundle provides a block service for using the Facebook API inside the sonata-project.
https://github.com/core23/facebookbundle
api bundle facebook php sonata sonata-block symfony symfony-bundle
Last synced: about 2 months ago
JSON representation
This bundle provides a block service for using the Facebook API inside the sonata-project.
- Host: GitHub
- URL: https://github.com/core23/facebookbundle
- Owner: core23
- License: mit
- Archived: true
- Created: 2017-02-25T20:37:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-22T06:05:50.000Z (over 4 years ago)
- Last Synced: 2024-09-25T05:33:00.207Z (about 2 months ago)
- Topics: api, bundle, facebook, php, sonata, sonata-block, symfony, symfony-bundle
- Language: PHP
- Homepage: https://core23.de
- Size: 258 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
FacebookBundle
==============
[![Latest Stable Version](https://poser.pugx.org/core23/facebook-bundle/v/stable)](https://packagist.org/packages/core23/facebook-bundle)
[![Latest Unstable Version](https://poser.pugx.org/core23/facebook-bundle/v/unstable)](https://packagist.org/packages/core23/facebook-bundle)
[![License](https://poser.pugx.org/core23/facebook-bundle/license)](LICENSE.md)[![Total Downloads](https://poser.pugx.org/core23/facebook-bundle/downloads)](https://packagist.org/packages/core23/facebook-bundle)
[![Monthly Downloads](https://poser.pugx.org/core23/facebook-bundle/d/monthly)](https://packagist.org/packages/core23/facebook-bundle)
[![Daily Downloads](https://poser.pugx.org/core23/facebook-bundle/d/daily)](https://packagist.org/packages/core23/facebook-bundle)[![Continuous Integration](https://github.com/core23/FacebookBundle/workflows/Continuous%20Integration/badge.svg)](https://github.com/core23/FacebookBundle/actions)
[![Code Coverage](https://codecov.io/gh/core23/FacebookBundle/branch/master/graph/badge.svg)](https://codecov.io/gh/core23/FacebookBundle)This bundle adds some basic auth mechanisum for using the [Facebook API] inside symfony.
## Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
```
composer require core23/facebook-bundle
```### Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles in `config/bundles.php` file of your project:
```php
// config/bundles.phpreturn [
// ...
Core23\FacebookBundle\Core23FacebookBundle::class => ['all' => true],
];
```### Configure the Bundle
Create a configuration file called `core23_facebook.yaml`:
```yaml
# config/packages/core23_facebook.yamlcore23_facebook:
api:
field: 'app_id'
class: 'app_secret'
permissions: ['public_profile', 'user_likes']
```## License
This bundle is under the [MIT license](LICENSE.md).
[Facebook API]: https://developers.facebook.com/