PHP code example of brainsum / yammer

1. Go to this page and download the library: Download brainsum/yammer library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

brainsum / yammer example snippets


// Yammer.
$config['yammer.settings'] = [
  'client' => [
    'id' => '<client ID of the app>',
    'secret' => '<client secret of the app>',
    'network_id' => '<network ID>',
  ],
  'service_account' => [
    'name' => '<drupal user username of the service account>',
    'email' => '<drupal user email of the service account>',
  ],
  'date_format' => '<machine name of the date to be used>',
];