Yammer API message.json: newer_than is working based on updated date instead of created_at

%3CLINGO-SUB%20id%3D%22lingo-sub-229292%22%20slang%3D%22en-US%22%3EYammer%20API%20message.json%3A%20newer_than%20is%20working%20based%20on%20updated%20date%20instead%20of%20created_at%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-229292%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20pull%20yammer%20group%20all%20threads%20based%20on%20the%20newer_than%20%3CTHREAD_ID%3E%2C%20but%20the%20problem%20here%20is%2C%20its%20pulling%20data%20based%20on%20the%20edited%2F%20comment%20posted%20date.%3C%2FTHREAD_ID%3E%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%2F%3Agroup_id.json%3Fnewer_than%3D7%26amp%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.yammer.com%2Fapi%2Fv1%2Fmessages%2Fin_group%2F%3Agroup_id.json%3Fnewer_than%3D7%26amp%3B%3C%2FA%3E%3CSTRONG%3Ethreaded%3Dtrue.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ETo%20Recreated%20Issue%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EPosted%20Messages%20in%20a%20XYZ%20group%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EPost(Thread)%201%20-%20Post%20(Thread)7%20on%2015-Aug-2018%3C%2FP%3E%3CP%3ENow%20Latest%20Message%20Id%20in%20the%20group%20is%20%3CSTRONG%3E7.%3C%2FSTRONG%3E%20On%2016-Aug-2018%20again%20posted%20Thread%20from%208-10.%3C%2FP%3E%3CP%3EIf%20pulled%20newer_than%20%3D7%20than%20its%20returning%20posts%208-10.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EIssues%20happening%20here%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EIf%20I%20add%20comments%20to%20the%20threads%201-7%20and%20then%20trying%20to%20pull%20newer_than%3D7%20am%20getting%20threads%201-7%20because%20comments%20for%20that%20threads%20added%20on%2016-Aug-2018.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20API%20call%20is%20not%20responding%20as%20mentioned%20in%20the%20document.%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-229292%22%20slang%3D%22en-US%22%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
Occasional Contributor

I am trying to pull yammer group all threads based on the newer_than <thread_id>, but the problem here is, its pulling data based on the edited/ comment posted date.

 

https://www.yammer.com/api/v1/messages/in_group/:group_id.json?newer_than=7&threaded=true.

To Recreated Issue:

Posted Messages in a XYZ group:

Post(Thread) 1 - Post (Thread)7 on 15-Aug-2018

Now Latest Message Id in the group is 7. On 16-Aug-2018 again posted Thread from 8-10.

If pulled newer_than =7 than its returning posts 8-10. 

Issues happening here:

If I add comments to the threads 1-7 and then trying to pull newer_than=7 am getting threads 1-7 because comments for that threads added on 16-Aug-2018.

 

This API call is not responding as mentioned in the document.

 

 

0 Replies