brainsum/yammer

Drupal 8 的 Yammer 集成模块。

安装: 26

依赖者: 0

建议者: 0

安全性: 0

星标: 0

关注者: 5

分支: 0

公开问题: 0

类型:drupal-module

1.1.1 2019-10-08 09:33 UTC

This package is auto-updated.

Last update: 2024-09-08 20:34:03 UTC


README

Drupal 的 Yammer 集成模块

设置

创建加密密钥。

  • 使用以下命令生成密钥:dd bs=1 count=32 if=/dev/urandom | openssl base64 > yammer.key
  • 将其移动到 <path to the private file system>/keys/yammer.key

将以下非示例数据添加到您的 settings.php 文件中

// 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>',
];