Build you own yammer app

1,014 views

Published on

Currently Yammer integration is handled by a SharePoint App in SharePoint Online and in on premise environments. What if you want to create your own Yammer App? What do you need to know and how can you achieve this? During this session I will get into some of the basic knowledge of how Yammer works and explain which steps you need to take to build your own Yammer App based on a real life examples

Published in: Software, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,014
On SlideShare
0
From Embeds
0
Number of Embeds
52
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • http://msdn.microsoft.com/en-us/library/fp179930(v=office.15).aspx
  • http://developer.yammer.com/connect/#action-buttons
  • Build you own yammer app

    1. 1. Build your own Yammer App
    2. 2. About me http://www.sharepointinspiration.com
    3. 3. Agenda
    4. 4. Yammer
    5. 5. What is Yammer?
    6. 6. Yammer main structure
    7. 7. Versions Basic (Freemium) Enterprise (paid) Basic Yammer Features X X Collaboration Features X X Yammer Mobile X X Apps X X Admin Tools X Network level Apps and integration X Support and Services X
    8. 8. Roles and permissions Member All users are at least a member of the Yammer network. Ability to use yammer. Group admin The person who created a group becomes the group admin of that group. It allows to add and remove members from that group. Network admin / admin This role manages the network. This requires a “paid” network. Verified admin The role has all the abilities and is sometimes called the one with “God” rights. This requires a “paid” network. http://www.collabshow.com/2014/01/06/yammer-roles-permissions-drill-down
    9. 9. Current integration with SharePoint http://support.microsoft.com/kb/2835453
    10. 10. Yammer Apps in SharePoint
    11. 11. What are the possibilities?
    12. 12. SharePoint Apps explained SharePoint Web On-premise SharePoint SharePoint Web Azure Parent Web (Host) App Web Provider-Hosted App Use your own server hosting architecture Autohosted App Windows Azure + SQL Azure provisioned inivisibly as apps are installed (DEPRECATED!!!) Cloud-based Apps The app runs in a separate host Or as a service SharePoint-Hosted App Creation of isolated sub web on a parent web Contains only web elements Examples are lists, out-of-the box Web Parts No server code allowed, only client JavaScript for logic and UX
    13. 13. Best practices - APIs Embed code on page User Control Web Part SharePoint- Hosted App Provider- Hosted App Yammer Embed Yes Yes Yes Yes, with some exceptions as like, follow and commenting No Yammer JS SDK No Yes Yes Yes No REST API No Yes, using .NET code Yes, using .NET code Yes, only through JavaScript calls Yes, using .NET code
    14. 14. Yammer API
    15. 15. Yammer API overview http://developer.yammer.com
    16. 16. Register a Yammer App https://www.yammer.com/client_applications http://www.yammer.com
    17. 17. Register a Yammer App
    18. 18. Demo – Round up
    19. 19. REST API
    20. 20. REST API http://developer.yammer.com/restapi/
    21. 21. REST API – Authenticate https://www.yammer.com/dialog/oauth?client_id=8dLIaFanMB6SjDg31nI1LA&redirect_uri=http://www.y ammer.com https://www.yammer.com/portiva.nl/?code=v3lMbrkJxFFcKg2gMBuA
    22. 22. REST API - Authenticate https://www.yammer.com/oauth2/access_token.json?client_id=8dLIaFanMB6SjDg31nI1LA&clien t_secret=dXHD9f0hGYG0I268rtgnJNuUaq8j3FYStUqelVHKKwg&code=v3lMbrkJxFFcKg2gM BuA
    23. 23. REST API - Authenticate https://www.yammer.com/dialog/oauth?client_id=8dLIaFanMB6SjDg31nI1LA&redirect_uri=http://ww w.yammer.com&response_type=token https://www.yammer.com/portiva.nl/#access_token=qE3mHnueSIhBDV7B3S5zQ
    24. 24. Authentication
    25. 25. Demo – Round up
    26. 26. REST API - Resources
    27. 27. REST API – Interesting Endpoints Endpoints Parameters Messages https://www.yammer.com/api/v1/messages.json https://www.yammer.com/api/v1/messages/following.json https://www.yammer.com/api/v1/messages/private.json older_than newer_than threaded limit Users https://www.yammer.com/api/v1/users/current.json https://www.yammer.com/api/v1/users/[:id].json Relationships https://www.yammer.com/api/v1/relationships.json user_id Notifications https://www.yammer.com/api/v1/streams/notifications.json Search https://www.yammer.com/api/v1/search.json search page num_per_page
    28. 28. REST API Call
    29. 29. Demo – Round up
    30. 30. REST API – Rate Limits http://developer.yammer.com/restapi/#rest-ratelimits Requests Per Seconds Messages 10 30 Notifications 10 30 Autocomplete 10 10 All other resources 10 10
    31. 31. JavaScript SDK
    32. 32. JavaScript SDK https://assets.yammer.com/assets/platform_js_sdk.js
    33. 33. JavaScript SDK- Authenticate
    34. 34. Authenticate with JavaScript SDK
    35. 35. Demo – Round up
    36. 36. JavaScript SDK- Access data
    37. 37. Yammer Embed
    38. 38. Yammer Embed
    39. 39. Yammer Embed – Feed widget https://www.yammer.com/widget/configure
    40. 40. Yammer Embed – Action buttons
    41. 41. Yammer Embed – Commenting
    42. 42. Use Yammer Embed
    43. 43. Demo – Round up
    44. 44. Open Graph
    45. 45. Open Graph Actor Action Object App Name Message Alexander created Company meeting YammerTestAppForPortiva Lets meet! Actor A Yammer user Action A verb describing what happens. E.g. created, updated, deleted, liked, followed Create your own verbs per App on yammer.com Object Represents an instance in your App and are uniquely identified. Supported are place, person, department, team, project, folder, file, document, image, audio, video and company App Name Name of your App doing the post Message The message shown
    46. 46. Open Graph – Custom
    47. 47. Open Graph – Post https://www.yammer.com/api/v1/activity.json { "activity":{ "actor":{"name":“Alexander Meijers", "email":“ameijers@portiva.nl"}, "action":"create", "object": { "url":“http://www.yammer.com", "title":“Corporate Meeting" }, "message":“Lets meet!", }
    48. 48. Open Graph
    49. 49. Demo – Round up
    50. 50. Yammer and .NET
    51. 51. Yammer.NET http://blogs.technet.com/b/speschka/archive/2013/10/05/using-the-yammer-api-in-a-net- client-application.aspx
    52. 52. Search Yammer
    53. 53. Demo – Round up
    54. 54. Takeaways & round up
    55. 55. THANK YOU

    ×