Multiple API calls to Yammer

%3CLINGO-SUB%20id%3D%22lingo-sub-1546781%22%20slang%3D%22en-US%22%3EMultiple%20API%20calls%20to%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1546781%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EWe%20are%20using%20yammer%20get%20API%20to%20retrieve%20thread%20details%20from%20the%20yammer.%20In%20my%20page%20I%20have%20multiple%20yammer%20thread%20details%20being%20shown%20and%20for%20that%20I%20have%20to%20make%20more%20than%2020%20asynchronous%20calls%20to%20Yammer%20to%20get%20the%20details.%20For%20each%20yammer%20thread%20we%20are%20capturing%20Number%20of%20comments%2C%20the%20users%20who%20all%20commented%20on%20tread%2C%20number%20of%20likes%2C%20the%20user%20details%20who%20all%20liked%20the%20thread%20and%20number%20of%20shares.%20For%20this%20I%20have%20to%20call%20the%20Yammer%20API%20a%20number%20of%20times%2C%20precisely%20more%20than%2020%20calls.%20The%20fetching%20of%20details%20is%20quite%20slow.%20The%20whole%20page%20elements%20load%20first%20and%20then%20one%20by%20one%20the%20yammer%20elements%20load%20and%20that%20also%20takes%20lot%20of%20time.%20Can%20anybody%20tell%20what%20is%20the%20precise%20way%20to%20make%20multiple%20API%20calls%20to%20Yammer%20without%20slowing%20up%20the%20process.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1546781%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EYammer%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%20API%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

We are using yammer get API to retrieve thread details from the yammer. In my page I have multiple yammer thread details being shown and for that I have to make more than 20 asynchronous calls to Yammer to get the details. For each yammer thread we are capturing Number of comments, the users who all commented on tread, number of likes, the user details who all liked the thread and number of shares. For this I have to call the Yammer API a number of times, precisely more than 20 calls. The fetching of details is quite slow. The whole page elements load first and then one by one the yammer elements load and that also takes lot of time. Can anybody tell what is the precise way to make multiple API calls to Yammer without slowing up the process.

0 Replies