Share via


/messages/open_graph_objects/[:id].json - Get

Definition

https://www.yammer.com/api/v1/messages/open_graph_objects/:open_graph_object_id.json

Parameters

Name In Required Type Description
id Path long ID of the open graph object
older_than query integer Returns messages in threads where the thread's latest message is older than the specified message ID. Any thread with a most recent message ID that is newer than or equal to the specified ID will not have any of its messages returned by this query.
newer_than query integer Returns messages in threads where the thread's latest message is newer than the specified message ID. Any thread with a most recent message ID that is older than or equal to the specified ID will not have any of its messages returned by this query.
threaded query boolean threaded=true will only return the thread starter (first message) for each thread. This parameter is intended for apps which need to display message threads collapsed. threaded=extended will return the thread starter messages and the two most recent messages all ordered by activity, as they are viewed in the default view on the Yammer web interface.
limit query integer Return only the specified number of messages. Works for threaded=true and threaded=extended.

Documentation

Feed of all messages the user has access to relating to a particular link. You can get all the open graph object IDs that you have access to for a particular URL by making a GET request to /open_graph_objects.

A 200 OK response includes the following fields.

Field Description
id Id of the message
sender_id Id of the user posting the message
created_at Date and time when the message was created
group_id Id of the group in which the message was posted
thread_id Id of the thread
attachments Contains the following Open Graph Fields: id, name, description, web_url, object_type, object_name.
liked_by Shows the reactions count on the message and the ids of the users who reacted to the message