Presence API

%3CLINGO-SUB%20id%3D%22lingo-sub-55167%22%20slang%3D%22en-US%22%3EPresence%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-55167%22%20slang%3D%22en-US%22%3E%3CP%3EWith%20SfB%2C%20we%20could%20create%20a%20web%20page%20that%20showed%20people's%20presence%20using%20an%20API.%20%26nbsp%3BI%20probably%20have%20missed%20it%2C%20but%20I%20have%20searched%20for%20a%20bit%20and%20not%20seen%20anything%20about%20this.%20%26nbsp%3BIs%20this%20something%20that%20is%20possible%20with%20MS%20Teams%20right%20now%2C%20or%20is%20it%20planned%20for%20anytime%20in%20the%20near%20future%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-55167%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-358773%22%20slang%3D%22en-US%22%3ERe%3A%20Presence%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-358773%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20I%20get%20official%20answer%2Ffeature%20from%20MS%3F%20Current%20need%20to%20implement%20this%20feature%20but%20I%20can't%20find%20any%20information%20of%3A%3C%2FP%3E%3CP%3E-%20query%20teams%20user%20status%20(by%20user%20principal%20(email))%3C%2FP%3E%3CP%3E-%20make%201%3A1%20conservation%20between%20two%20users%20(by%20user%20principal)%3C%2FP%3E%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-66562%22%20slang%3D%22en-US%22%3ERe%3A%20Presence%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-66562%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Jaime%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20apologize%20for%20not%20seeing%20this%20sooner.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Fskype%2Fskypedeveloperplatform%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EHere%3C%2FA%3E%26nbsp%3Bis%20a%20good%20resource%20for%20general%20documentation%2C%20and%20%3CA%20href%3D%22https%3A%2F%2Fwww.matthewproctor.com%2Fskype-web-sdk-creating-a-presence-dashboard%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20is%26nbsp%3Ba%20specific%20example.%20%26nbsp%3BThere%20are%20others%20out%20there%20if%20this%20is%20not%20good%20for%20what%20you%20are%20wanting%20to%20do.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENote%20that%20not%20all%20APIs%20work%20with%20all%20versions%20of%20SfB.%20That%20info%20is%20in%20the%20first%20link.%20%26nbsp%3BI%20hope%20this%20is%20not%20too%20late%20and%20can%20be%20of%20some%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-58590%22%20slang%3D%22en-US%22%3ERe%3A%20Presence%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-58590%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3ECan%20I%20ask%20how%20you%20did%20the%20web%20page%20with%20the%20presence%20indicators%3F%20Do%20you%20have%20any%20documentation%20or%20pointers%20of%20where%20to%20look%20for%20code%20samples%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20written%20an%20internal%20phone%20search%20for%20work%2C%20and%20want%20to%20add%20presence%20indicators%20to%20the%20results%20page.%20I%20found%20some%20scripts%20that%20talk%20to%20the%20local%20running%20S4B%20client%20(via%20ActiveX)%20which%20works%2C%20but%20has%20some%20interesting%20'features'%20that%20I'm%20not%20fond%20of.%3CBR%20%2F%3EThe%20documentation%20for%20other%20API's%20using%20S4B%20Online%20is%20flaky%20at%20the%20best.%20A%20couple%20of%20people%20I've%20spoken%20to%20have%20ended%20up%20writing%20their%20own%20services%20to%20what%20I'm%20after.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-55180%22%20slang%3D%22en-US%22%3ERe%3A%20Presence%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-55180%22%20slang%3D%22en-US%22%3E%3CP%3EThanks!%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%20it%20was%20a%20big%20push%20for%20SfB%20online%2C%20but%20they%20didn't%20have%20the%20necesary%20APIs.%20%26nbsp%3BThen%20the%20finally%20got%20the%20APIs%2C%20and%20they%20did%20not%20have%20a%20Mac%20client%20(only%20MS%20Lync).%20%26nbsp%3BThen%20they%20got%20the%20client%2C%20but%20it%20apparently%20does%20not%20support%20some%20of%20our%20required%20feature%20set.%20%26nbsp%3BNow%20we%20are%20full%20circle%20wth%20MS%20Teams...%20%26nbsp%3BI%20am%20so%20frustrated%20atm.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20guess%20I%20will%20go%20post%20on%20their%20feature%20request%20page.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-55171%22%20slang%3D%22en-US%22%3ERe%3A%20Presence%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-55171%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20only%20found%20this%20API%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Fmicrosoft-teams%2Fjslibrary%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Fmicrosoft-teams%2Fjslibrary%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20not%20tried%20it%20out%20yet%2C%20but%20it%20looks%20like%20it's%20very%20new%20and%20it%20doesn't%20seem%20to%20include%20presence%20yet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Brian Lovett
New Contributor

With SfB, we could create a web page that showed people's presence using an API.  I probably have missed it, but I have searched for a bit and not seen anything about this.  Is this something that is possible with MS Teams right now, or is it planned for anytime in the near future?

5 Replies

I've only found this API:

 

https://msdn.microsoft.com/en-us/microsoft-teams/jslibrary

 

I've not tried it out yet, but it looks like it's very new and it doesn't seem to include presence yet.

 

 

Thanks!  

 

First it was a big push for SfB online, but they didn't have the necesary APIs.  Then the finally got the APIs, and they did not have a Mac client (only MS Lync).  Then they got the client, but it apparently does not support some of our required feature set.  Now we are full circle wth MS Teams...  I am so frustrated atm.

 

I guess I will go post on their feature request page.

Hi,
Can I ask how you did the web page with the presence indicators? Do you have any documentation or pointers of where to look for code samples?

I've written an internal phone search for work, and want to add presence indicators to the results page. I found some scripts that talk to the local running S4B client (via ActiveX) which works, but has some interesting 'features' that I'm not fond of.
The documentation for other API's using S4B Online is flaky at the best. A couple of people I've spoken to have ended up writing their own services to what I'm after.

Hi Jaime,

 

I apologize for not seeing this sooner.

Here is a good resource for general documentation, and here is a specific example.  There are others out there if this is not good for what you are wanting to do.

 

Note that not all APIs work with all versions of SfB. That info is in the first link.  I hope this is not too late and can be of some help.

Hi,

 

Can I get official answer/feature from MS? Current need to implement this feature but I can't find any information of:

- query teams user status (by user principal (email))

- make 1:1 conservation between two users (by user principal)

Thanks in advance.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
description for autoplay blocking in settings page
HotCakeX in Discussions on
8 Replies