{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/messages/open_graph_objects/:open_graph_object_id.json","auth":"required","method":"get","examples":{"codes":[{"language":"text","code":""}]},"settings":"","results":{"codes":[]},"params":[{"name":"id","type":"long","default":"","desc":"ID of the open graph object","required":false,"in":"path","ref":"","_id":"5850b08f5dbf4d0f00652286"},{"name":"older_than","type":"int","default":"","desc":"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.","required":false,"in":"query","ref":"","_id":"59b2e74d0d38c8001078508f"},{"name":"newer_than","type":"int","default":"","desc":"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.","required":false,"in":"query","ref":"","_id":"5c82b48b168e5400383881cd"},{"name":"threaded","type":"boolean","default":"","desc":"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=false will return the most recent message in the thread.","required":false,"in":"query","ref":"","_id":"59b2e74d0d38c8001078508d"},{"name":"limit","type":"int","default":"20","desc":"Return only the specified number of messages. Works for threaded=true and threaded=extended.","required":false,"in":"query","ref":"","_id":"59b2e74d0d38c8001078508c"}]},"next":{"description":"","pages":[]},"title":"/messages/open_graph_objects/[:id].json","type":"endpoint","slug":"messagesopen_graph_objects","excerpt":"","body":"Feed of all messages relating to a particular open graph object (web link).  You can get the open graph object ID for a particular URL by making a GET request to [/open_graph_objects](doc:open_graph_objects).\n\nA 200 OK response includes the following fields.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Field\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"id\",\n    \"0-1\": \"Id of the message\",\n    \"1-0\": \"sender_id\",\n    \"1-1\": \"Id of the user posting the message\",\n    \"2-0\": \"created_at\",\n    \"2-1\": \"Id of the network in which this message was posted\",\n    \"3-0\": \"group_id\",\n    \"3-1\": \"Id of the group in which this message was posted\",\n    \"4-0\": \"thread_id\",\n    \"4-1\": \"Id of the thread\",\n    \"5-0\": \"attachments\",\n    \"5-1\": \"Contains the following Open Graph Fields:\\nid, name, description, web_url, object_type, object_name.\",\n    \"6-0\": \"liked_by\",\n    \"6-1\": \"Shows the reactions count on the message and the ids of the users who reacted to the message\"\n  },\n  \"cols\": 2,\n  \"rows\": 7\n}\n[/block]","updates":[],"order":11,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5c82b03f5e2b30001fad9604","project":"545137a814af501a00b50cf9","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["545137a814af501a00b50cfd","545138eaa66f020800dbab4a","546b9072b47b5d1400109edf","546b9082b47b5d1400109ee0","546b9088b47b5d1400109ee1","546b909462515a14007ebc43","546b90a0b47b5d1400109ee2","546ced235884600e007a92f6","5481008eea7fd40b00cd7c2b","573b9d83ee2b3b220042291f","57be1efa15efc70e006a5f99","5ee004f52c97b4004c7a5876"],"_id":"545137a814af501a00b50cfc","project":"545137a814af501a00b50cf9","__v":12,"createdAt":"2014-10-29T18:53:28.525Z","releaseDate":"2014-10-29T18:53:28.525Z"},"category":{"sync":{"isSync":false,"url":""},"pages":["546fdf54a179880800187e8b","54738e24007eb108007e03ff","54738e7d1a20c70800e189b0","54738e8a007eb108007e0404","54738e9b1a20c70800e189b2","54738ec0007eb108007e0407","54738ed21a20c70800e189b5","54738ee2007eb108007e0414","54738f05007eb108007e0416","54738f23007eb108007e0418","54738f31007eb108007e041a","547f80f9b7c1e40800dcf46f","547f9758b7c1e40800dcf4c2","547f9a3f3031bc0800e5fec4","547fa5f63031bc0800e5fef3","547fa632b7c1e40800dcf4e9","547fa696b7c1e40800dcf4ec","547fa6cc3031bc0800e5fef6","547fab89b7c1e40800dcf511","547facedb7c1e40800dcf51f","547faeef3031bc0800e5ff2d","547fafb03031bc0800e5ff31","547fb05ab7c1e40800dcf52a","547fb07a3031bc0800e5ff38","547fb0c4b7c1e40800dcf531","547fb100b7c1e40800dcf535","547fb18c3031bc0800e5ff41","547fb2433031bc0800e5ff44","547fb2feb7c1e40800dcf539","547fb335b7c1e40800dcf53b","547fb4aa3031bc0800e5ff49","547fb4f4b7c1e40800dcf541","547fb553b7c1e40800dcf544","54809ecd5f83dd0800c38fd3","54809f715f83dd0800c38fd6","54809fa8a3e4ea22000976b7","54809fd3a3e4ea22000976ba","5480a00ba3e4ea22000976bc","5480f44dea7fd40b00cd7c06","5480f4fb0e664d0b00be35f9","5480f5a5ea7fd40b00cd7c0b","5480f607ea7fd40b00cd7c10","5480f657ea7fd40b00cd7c12","5480f69a0e664d0b00be35ff","5480f77aea7fd40b00cd7c14","5480f7e7ea7fd40b00cd7c18","5480f83dea7fd40b00cd7c1b","5480f950ea7fd40b00cd7c1e","5480f9a6ab84321d00eaf538","5480faa8ea7fd40b00cd7c22","5480fb0aea7fd40b00cd7c25","5480fbd8ea7fd40b00cd7c27","5480fc64ab84321d00eaf53c","54c01ec89290010d00934956","55581594e54fe019002a4f2c","556e8b29fc3aa80d00e1a953"],"title":"REST API","slug":"rest-api","order":2,"from_sync":false,"reference":true,"_id":"546b909462515a14007ebc43","project":"545137a814af501a00b50cf9","version":"545137a814af501a00b50cfc","__v":56,"createdAt":"2014-11-18T18:31:48.943Z"},"user":"56c1e903deff570d005689c7","createdAt":"2019-03-08T18:11:11.972Z","__v":6,"parentDoc":null}

get/messages/open_graph_objects/[:id].json


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
long
ID of the open graph object

Query Params

older_than:
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:
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:
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=false will return the most recent message in the thread.
limit:
integer20
Return only the specified number of messages. Works for threaded=true and threaded=extended.

Documentation

Feed of all messages relating to a particular open graph object (web link). You can get the open graph object ID for a particular URL by making a GET request to [/open_graph_objects](doc:open_graph_objects). A 200 OK response includes the following fields. [block:parameters] { "data": { "h-0": "Field", "h-1": "Description", "0-0": "id", "0-1": "Id of the message", "1-0": "sender_id", "1-1": "Id of the user posting the message", "2-0": "created_at", "2-1": "Id of the network in which this message was posted", "3-0": "group_id", "3-1": "Id of the group in which this message was posted", "4-0": "thread_id", "4-1": "Id of the thread", "5-0": "attachments", "5-1": "Contains the following Open Graph Fields:\nid, name, description, web_url, object_type, object_name.", "6-0": "liked_by", "6-1": "Shows the reactions count on the message and the ids of the users who reacted to the message" }, "cols": 2, "rows": 7 } [/block]