AUSPC2014_STP1426_Integrating-Yammer-With

SHAREPOINT
CONFERENCES
2014
Elaine van Bergen
Chris O’Connor
bit.ly/
STP1426
What’s available OOB
Authentication
Embed
Rest API
#auspc #nzspc
Integration options with no code
#auspc #nzspc
Yammer integrated features
#auspc #nzspc
 SharePoint
 Office
2013 SP1 – Newsfeed replacement
365 for the most integrated experience
 Embed
for any platform
#auspc #nzspc
Infrastructure components before coding
#auspc #nzspc
 Need
to preserve user experience
 Single connected system not two separate
#auspc #nzspc
Directory
Sync
Single
Sign-On
#auspc #nzspc
Process is not self-service
Provide identity provider metadata
If you have a SAML 2.0
Identity Provider then
configuration is pretty
straightforward
Yammer implements service
provider configuration
Create Relying Party Trust with
Yammer metadata
Test SSO
Tests happen against your
Yammer network at a
scheduled time
Make email address changes
Activate SSO
#auspc #nzspc
Installs on a single server
No database required
AD and LDAP expertise required to
configure custom filters (queries)
First sync sends all data,
subsequent syncs are incremental
Install Directory Sync
Connect to Yammer
Connect to AD
Validate user queries
Enable syncs
#auspc #nzspc
Basic integration
#auspc #nzspc
 400px
(or beta skinny mode)
 Desktop Only

Internet Explorer 12+, 11, 10





IE9 (until approx. 31/12/2015)
IE8 (until approx. 31/12/2014)
Chrome newest version
Firefox newest version
Safari newest version
 “Trusted
Site Zone”
#auspc #nzspc
Embed
#auspc #nzspc
 Yammer
 Widget
 Blog

developer site
example
post example by Vesa
Some examples use the old API – be careful…
 Yammer
app for SharePoint
#auspc #nzspc
Deeper Integration
#auspc #nzspc
Messages
Users
Groups
Search
Autocomplete
Invitations
Suggestions
Networks
Activities
#auspc #nzspc
Object
URI
Messages
https://www.yammer.com/api/v1/messages.json
https://www.yammer.com/api/v1/messages/my_feed.json
https://www.yammer.com/api/v1/messages/following.json
https://www.yammer.com/api/v1/messages/private.json
Groups
https://www.yammer.com/api/v1/group_memberships.json?group_id=[:id]
Users
https://www.yammer.com/api/v1/users.json
https://www.yammer.com/api/v1/users/current.json
Notifications
https://www.yammer.com/api/v1/streams/notifications.json
Search
https://www.yammer.com/api/v1/search.json
#auspc #nzspc
 Register
App first in Yammer first
 Note the Client ID and Secret
#auspc #nzspc
Redirect user to
the OAuth dialog
URL.
Process the
response at your
Redirect URI when
user allows the
app.
#auspc #nzspc
Authentication
Wraps authentication for you
Login with Yammer button
Requests/Actions
Helpers for requests to Yammer
<script type="text/javascript" data-app-id="[APP CLIENTID]"
src="https://assets.yammer.com/platform/yam.js"></script>
OpenGraph
Actor, Action, Object using JSON payload
#auspc #nzspc
 Watch
out for CORS
 Old API’s
#auspc #nzspc
Rest API
#auspc #nzspc
#auspc #nzspc
#auspc #nzspc
#auspc #nzspc
.
#auspc #nzspc
#auspc #nzspc
REST API
#auspc #nzspc
 Throttling




Autocomplete: 10 requests in 10 seconds.
Messages: 10 requests in 30 seconds.
Notifications: 10 requests in 30 seconds.
All Other Resources: 10 requests in 10 seconds.
 Designed



(rate) limits
to run as the current user – HTTPCONTEXT
Article : information on impersonation
.NET app, impersonation, token
~ run with scissors elevated privileges
#auspc #nzspc
 What’s
available OOB
 Authentication
 Embed
 Rest API
 Questions
 Come

& Answers
and see Elaine + Chris at the OBS stand
Prize draw
#auspc #nzspc
Thank you to our sponsors
#auspc #nzspc