{"title":"URL changes to user, communities, or network photos","slug":"url-changes-to-user-communities-or-network-photos","body":"Beginning January 11, 2021, we will be updating how we return photos for Yammer users, communities (group), and networks. You may need to make changes to your applications that use Yammer APIs. No end user changes are expected in any Yammer clients.\n[block:api-header]\n{\n  \"title\": \"How this affects your organization\"\n}\n[/block]\nWith this change, any new URLs that you receive for a Yammer user, community (group), or network photo will now be dynamic and expire after 90 minutes.\n\nSpecifically, `mugshot_url` and `mugshot_url_template` properties for user and group objects, and `masthead_banner_url` and `masthead_logo_url` properties for the network object will be impacted. The URLs these properties provide will now expire after 90 minutes, instead of being valid indefinitely.\n\nInstead, a new set of corresponding properties are now available—`mugshot_redirect_url`, `mugshot_redirect_url_template`, `masthead_bannerl_redirect_url`, and `masthead_logo_redirect_url` respectively, that will be valid indefinitely. However, these will require user authentication to retrieve the photos.\n\n\n[block:api-header]\n{\n  \"title\": \"What you need to do to prepare\"\n}\n[/block]\nIf you or your partners are using users, community, or network photos, update your app so to ensure photos shown in your applications continue to work after January 11. You could consider caching the photos or use authentication to access the photos with the new properties.","_id":"5ff635cfe8f2e6006db4b49d","changelog":[],"createdAt":"2021-01-06T22:12:31.166Z","user":{"name":"Ethan Li","username":"","_id":"5ff4d0cfa5c6e30054316a00"},"initVersion":{"version":"1.0","_id":"545137a814af501a00b50cfc"},"project":"545137a814af501a00b50cf9","__v":0}

URL changes to user, communities, or network photos


Beginning January 11, 2021, we will be updating how we return photos for Yammer users, communities (group), and networks. You may need to make changes to your applications that use Yammer APIs. No end user changes are expected in any Yammer clients. [block:api-header] { "title": "How this affects your organization" } [/block] With this change, any new URLs that you receive for a Yammer user, community (group), or network photo will now be dynamic and expire after 90 minutes. Specifically, `mugshot_url` and `mugshot_url_template` properties for user and group objects, and `masthead_banner_url` and `masthead_logo_url` properties for the network object will be impacted. The URLs these properties provide will now expire after 90 minutes, instead of being valid indefinitely. Instead, a new set of corresponding properties are now available—`mugshot_redirect_url`, `mugshot_redirect_url_template`, `masthead_bannerl_redirect_url`, and `masthead_logo_redirect_url` respectively, that will be valid indefinitely. However, these will require user authentication to retrieve the photos. [block:api-header] { "title": "What you need to do to prepare" } [/block] If you or your partners are using users, community, or network photos, update your app so to ensure photos shown in your applications continue to work after January 11. You could consider caching the photos or use authentication to access the photos with the new properties.