Regading fetching the messgae in particular group in yammer

%3CLINGO-SUB%20id%3D%22lingo-sub-1393086%22%20slang%3D%22en-US%22%3ERegading%20fetching%20the%20messgae%20in%20particular%20group%20in%20yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1393086%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Team%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20the%20below%20api%20to%20fetch%20all%20messages%20from%20group%20-%3CSPAN%20class%3D%22definition-url%20ng-binding%22%3E%3CA%20href%3D%22https%3A%2F%2Fwww.yammer.com%2Fapi%2Fv1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.yammer.com%2Fapi%2Fv1%3C%2FA%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22definition-path%20ng-binding%22%3E%2Fmessages%2Fin_group%2F%3Agroup_id.json%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20also%20using%20query%20parameters%20older_than%20and%20newer_than%20for%20fetching%20more%20than%2020%20messages%20.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20below%20case%20i%20am%20not%20getting%20correct%20results%20from%20api%20where%20i%26nbsp%3B%20need%20to%20fetch%20main%20thread%20of%20each%20post%20and%20it%20should%20be%26nbsp%3B%20older%20than%20particular%20thread%20id%26nbsp%3B%20but%20it%20is%20showing%20me%20all%20types%20of%20thread%20i.e%26nbsp%3B%20older%20and%20newer%26nbsp%3B%20.I%20am%20only%20want%20to%20see%20older%20than%20particular%20thread%20id%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.yammer.com%2Fapi%2Fv1%2Fmessages%2Fin_group%2F26762575872%3Fthreaded%3Dtrue%2520and%2520older_than%3D677365500747776%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.yammer.com%2Fapi%2Fv1%2Fmessages%2Fin_group%2F267625752%3Fthreaded%3Dtrue%2520and%2520older_than%3D6773655007776%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20please%26nbsp%3B%20share%20the%20exact%20approach%20to%20solve%20this%20issue%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1393086%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EREST%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hello Team

 

I am using the below api to fetch all messages from group -https://www.yammer.com/api/v1/messages/in_group/:group_id.json

 

I am also using query parameters older_than and newer_than for fetching more than 20 messages .

 

In below case i am not getting correct results from api where i  need to fetch main thread of each post and it should be  older than particular thread id  but it is showing me all types of thread i.e  older and newer  .I am only want to see older than particular thread id 

 

https://www.yammer.com/api/v1/messages/in_group/267625752?threaded=true%20and%20older_than=677365500...

 

Can you please  share the exact approach to solve this issue ?

 

 

 

 

0 Replies