activity.json returning 410 Gone

Occasional Contributor

I have a number of solutions using the Yammer API to write Open Graph activities into yammer using the activity.json andpoint. Today they all started getting the response "410 Gone".  Even the sample requests in the documentation are bombing out like this.  This is a supported endpoint. Anyone have any idea what's going on? https://developer.yammer.com/docs/writing-activity 

4 Replies
Even 'm also getting same issue : platform_js_sdk.js:2 POST https://api.yammer.com/api/v1/activity.json 410 (Gone)

Hi Kamal,

 

I had a conversation with Yammer support, and they've altered the API without notifying anyone. They've promised to update the documentation, but, well, you know how that works :) .

 

I've been able to figure out what to do by Fiddling the user interface. Here's what I came up with:

 

fiddle.jpg

Thanks for the response, I had opened an incident with Microsoft 4 days ago but still, they are investigating the issue. Thanks!

var likePage = function(url, title) {
var deferred = $.Deferred();
$.when(lml.UserManager.getUserProfileProperties()).done(function(personProperties) {
yam.platform.request({
url: "https://api.yammer.com/api/v1/activity.json",
method: "POST",
data: {
activity: {
actor: {
name: personProperties.FirstName + " " + personProperties.LastName,
email: personProperties.UserName
},
action: "like",
object: {
url: url,
title: title,
image: "",
description: "description"
},
type: "page"
}
},
success: function(data) {
deferred.resolve();
},
error: function(jqXHR, textStatus, errorThrown) {
deferred.reject();
}
});
});
return deferred.promise();
};

 

Please suggest, do I need to update URL to 

 " url:"https://www.yammer.com/api/v1/open_graph_objects/update.json"