Yammer

Table of contents

Description

Source to access data for a yammer network with dedicated support for writing back comments and likes.

Responsible Person

Status

Status

Ready for Use

Possible Values: Ready for Use, In Development, Plannend, Broken

Info

Aggregation Features

Fill

Yes

Update

Yes

Enrich

No

Source Code

Project: https://github.com/soziotech/CommunityMashup/tree/master/sources/YammerSourceService

Tracking

0%

Planned Todos

0%

Bugs

0%

Feature Request

Used Service

Name

Yammer

Link

https://www.yammer.com/

Developer Portal

http://developer.yammer.com/

Api Documentationhttp://developer.yammer.com/api/

Authentication

OAuth

 

Used Libraries

Name

Version

License

Usage

Link

Scribe OAuth

1.3.0

MIT License

Compiled

https://github.com/fernandezpablo85/scribe-java/

Google gson2.1Apache Licence 2.0Compiledhttp://code.google.com/p/google-gson/

Possible Usage Values: Compiled, Source, Extended Source, Modified Source

Info

Configuration

Key

Description

Possible Values

Default

Required (Yes/No)

consumerKey

Consumer key for authentication.

Text

empty

Yes

consumerSecretConsumer secret for authentication.TextemptyYes
accessTokenAccess token of authenticated user. The access token will be generated by yammer for one network. So the provided access token determines the network a source accesses.TextemptyYes
accessTokenSecretAccess token secret of authenticated user.TextemptyYes 
commandLineAuthenticationSwitch to turn on a command line authentication with mendeley. This should only be used in development environments. The access token and its secret should be empty in this case.true/falsefalseNo
messageBodyTypeThe type of the message body.plain, parsed, richplainNo
loadAllUsersIf this property is set to true than all available users will be loaded.true/falsefalseNo
initialNumberOfMessages

Defines the number of messages that should be loaded initially.

1..n10No
newestMessageId

Keeps the newest loaded message id, dont set manually.

true/falsefalseNo
writeBackComments

If set to true, then comments will be written back to yammer.

true/falsefalseNo
writeBackLikesIf set to true, then likes will be written back to yammer.true/falsefalseNo
writeWithAccountOwner

If set to true, then the account owner will be used as user for likes and comments if not author is set.

true/falsefalseNo
waitBetweenAPIRequests

Time to wait between api requests in seconds. Only used if an operation needs more than one api call.

true/falsefalseNo
loadNewestLikesIf set to true, then it will be polled for new likes.true/falsefalseNo

Example:

<sources bundleId="org.sociotech.communitymashup.source.YammerSourceService" name="Yammer">
   <configuration>
      <properties Key="consumerKey" Value="-"/>
      <properties Key="consumerSecret" Value="-"/>
      <properties Key="accessToken" Value="-"/>
      <properties Key="accessTokenSecret" Value="-"/>
      <properties Key="messageBodyType" Value="plain"/>
      <properties Key="loadAllUsers" Value="false"/>
      <properties Key="initialNumberOfMessages" Value="80"/>
      <properties Key="writeBackComments" Value="false"/>
      <properties Key="writeBackLikes" Value="false"/>
      <properties Key="waitBetweenAPIRequests" Value="3"/>
   </configuration>
</sources>

Description

Initially loads the newest 80 messages and creates persons for the authors. It automatically updates and adds all new messages. The overall number of messages is not restricted to 80. Note: access token and secret as well as consumer key and secret must be replaced to run this configuration.

Meta-Informations

Type

Description

Value

Items

MetaTag

Meta tag for all items of a yammer source

yammer

Items

MetaTagMeta tag for all Organisations created for departments.departmentOrganisations

Transformation

External

CommunityMashup

Message

Content

Shortened message bodyName of content
Message creation dateContent creation date
Messages typeMeta tag added to Content
Hashtags in content, Topics of contentTags added to Content
Replies to messageSubcontents of Content
Likes of messageThumb Up added to Content
Liker of messageRanker of Thumb Up
Message authorPerson, author of Content
Department in author profileOrganisation with Person as participant
Author profile imageImage attached to person
Job title of authorTag of person