Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

Queries on Yammer to filter out Open Graph objects and replies

$
0
0

Hi,


We are currently working on Yammer web part development and have a requirement to filter out open graph objects, along with filtering out the conversations that are NOT made from a specific user id - which also means that if the user has replied to a conversation that too should NOT be fetched.


For both the above scenarios, we are fetching the messages and then checking if type==ymodule and sender_id==userId for filtering out the details.

But this approach poses a risk as Yammer REST API fetches only 20 messages at a time, and there can be a case that all those 20 messages are open graph objects (article page comments) or none of the messages are posted by the specific user. This will retrieve no data even if there are any old messages for the same.


Therefore, we would like to know if there is a way through which we can filter out open graph conversations or threads ONLY posted by a specific user directly via the Yammer REST call, so that only the filtered data is retrieved and the code need not be implemented further.


Any help on the above would be appreciated.


Thank you.


Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>