2017 © Pedro Peláez
 

symfony-bundle fb-messenger-api-bundle

Symfony Facebook Messenger Api Bundle

image

samiaraboglu/fb-messenger-api-bundle

Symfony Facebook Messenger Api Bundle

  • Tuesday, March 13, 2018
  • by samiaraboglu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 100 % Grown

The README.md

fb-messenger-api-bundle

Use the Facebook Messenger PHP API., (*1)

Download the Bundle

$ composer require samiaraboglu/fb-messenger-api-bundle

Enable the Bundle

Registered bundles in the app/AppKernel.php file of your project:, (*2)

<?php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Samiax\FbMessengerApiBundle\FbMessengerApiBundle(),
        );
        // ...
    }
    // ...
}

Config

Add this to config.yml:, (*3)

fb_messenger_api:
    access_token:   %fb_messenger_api_access_token%
    verify_token:   %fb_messenger_api_verify_token%

Example

Send text message:, (*4)

$messenger = $this->get('fb_messenger_api.messenger');
$message = $messenger->message;

$message->text('<MESSAGE_TEXT>');

$messenger->send(<PSID>, $message);

The Versions

13/03 2018

dev-master

9999999-dev https://github.com/samiaraboglu/fb-messenger-api-bundle

Symfony Facebook Messenger Api Bundle

  Sources   Download

MIT

The Requires

 

api symfony facebook symfony-bundle messenger

13/03 2018

0.2.0

0.2.0.0 https://github.com/samiaraboglu/fb-messenger-api-bundle

Symfony Facebook Messenger Api Bundle

  Sources   Download

MIT

The Requires

 

api symfony facebook symfony-bundle messenger

11/03 2018

0.1.0

0.1.0.0 https://github.com/samiaraboglu/fb-messenger-api-bundle

Symfony Facebook Messenger Api Bundle

  Sources   Download

MIT

The Requires

 

api symfony facebook symfony-bundle messenger