Integrations

Yammer Integrations

7min

Affinities Yammer Integration allows Events, Announcements, and Newsletters created in Affinities ERG’s to be published on Yammer Groups as announcements.

Add & Configure Yammer Application:

Create a service account e.g. affinities_ergs. Log in as a service account to your Yammer network and type in the address https://www.yammer.com/client_applications.

Register a new application. You can put a fake address in the expected redirect URL field. Since we will be using developer token, redirects will not be used. Once registered, generate a developer token for this application.

Register New App
Register New App


Save the developer token for a later step. It will be used as Access Token when configuring integrations in Teleskope Admin Panel.  Note the developer token will be used as a bearer token by Affinities platform to post announcements in the connected Yammer groups.

For each Yammer Group that needs to be integrated

  1. Make the service account an Admin of the Yammer Group
  2. Note the Group ID

Group id can also be extracted from the Yammer Group URL. For example, if the Yammer Group URL is https://web.yammer.com/main/groups/eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIyMjMzNjUyIn0K Then the groupid can be extracted from the last fragment as:

Which will print the groupid: {"_type":"Group","id":"2233652"}



Next go to Teleskope Admin Panel and associate the Yammer groups with corresponding Teleskope Group, Chapter or Subgroup.

For this step, Login into the admin panel. Now navigate to the Groups > Manage Groups section

Click on Integration icon       next to the group you want to add the integration link. For this document, we will choose the icon next to the group “Asian Affinities Link”.

Manage Groups
Manage Groups


This is the page where you’ll see all integrations linked to the group. Click on the + icon to add integration.

Integrations Page
Integrations Page


This is the page where we create integration for the group. Follow these steps

  • Select “Yammer” from the dropdown
  • Add a name for integration
  • Checkmark where you want the integrations to work
  • Paste Yammer Group Id and Access Token
  • Click Save
Add New Integrations Page
Add New Integrations Page


You’ll see the integration listed. Click on the unlock icon to activate this integration.

Activate Integration
Activate Integration


Teleskope Affinities will use the following Yammer REST API end points to publish updates. Content updates will be posted as Yammer Announcements.

Yammer Announcement
Yammer Announcement


Note: Service account developer token will be used as HTTP Bearer token for authorization. 

Security Considerations

  • Teleskope does not need to sign in to the service account, so the service account credentials should never be shared with Teleskope.
  • Teleskope application functions as a Service Account Bot. Thus it is important to create developer token from the Service Account. Use of Service account instead of real person account ensures there is no disruption of service in case the person who created the token leaves the organization.
  • Please apply security controls on the service account and restrict the access only to API’s listed on this page. Disable access to all other API’s.
  • Restrict service accounts access to the groups that need to be integrated.
  • If there is a mechanism to implement IP allowlist for the API’s please implement it. A list of source IP’s can be obtained from Teleskope support team.