How to get the current status of a Microsoft Teams user - c#

Is there an API where I can get the current Status of a Team User ? Like "Available", "In Meeting" etc ?
I have used the user's presence on Skype For Business using the 2013 lync SDK. I am not finding anything similar for Teams. Ultimately my goal is to find the current status and display it on an IOT Device.
Any code snippet, links will be much appreciated.

Graph API endpoints to get presence information is now available in beta version. Please check Graph API - Presence resource type

I don't think it is available yet.
Please check the following post:
[Accessing user presence with REST API for Microsoft Teams

We are working on it to get the Presence API for all our customers. We don't have timeline to share with you. Stay Tuned...

Related

Microsoft Graph - Allow User Access to Application / Service Principal

We are in the process of rolling out a major application to members of staff, it has been setup to use Azure AD/SSO and we currently have to manually set each user to have access to the application through Azure AD -> Applications -> Users. We have a small c# web application that we use to manage AD users are looking to use the new Microsoft Graph API to set users to allowed access when they are created but can't find the correct endpoint/api call to use.
We have tried the following but the documentation/errors returned are quite lacking.
https://graph.microsoft.com/beta/servicePrincipals
https://graph.microsoft.com/beta/groups/{id}/members
Which endpoint/api call should we use to accomplish this?
It looks like you are looking to try and set appRoleAssignments. This is currently only exposed on the Microsoft Graph /beta version. The /beta documentation needs a little love and attention as you've discovered. However this pretty much should work as it does in AAD Graph (so you could reference the AAD Graph API reference), but with the different root of https://graph.microsoft.com/beta. This blog post also has some examples https://blogs.msdn.microsoft.com/aadgraphteam/2014/12/12/announcing-the-new-version-of-graph-api-api-version1-5/.
Are there any specific challenges that you are facing? What operations and errors are you seeing?
Hope this helps,

How can I retrieve data regarding screen views from the Google Analytics API

With use of the tracker in my mobile apps I'm retrieving data for every screen. Now there's one problem, I would like to request this data through the Google Analytics API.
I thought I could request this info with either the dimensions "ga:pageTitle" or "ga:pagePath". The data I'm receiving is pagetitle: "(not set)".
Is it even possible to retrieve data like that through the API or is it only visible through the Analytics website?
Any help is welcome.
Thanks for any help or thought,
Bart
ga:appViews is your friend ;-)
UPDATE
Starting from July 2013 ga:appViews has been deprecated and now you should use ga:screenviews

How to return subscribers from one user from youtube api?

I'm having a hard time trying to find it in the poor official documentation and in the community
any directions?
It seems that this isn't possible before the version 3.0 experimental API. If you're using the V3 API, you can get the Channels list and set the mySubscribers filter to true. Set the properties you want to retrieve in the part parameter (such as contentDetails which includes information such as the subscriber's Google+ ID). This filter is authorized so you need to have permission from the the user to call this method.

How to get Messenger contact list through .NET

I want to be able to get the list of Messenger contacts of a certain user through .NET.
I've seen Messenger Connect, but it's still under beta and with limited access.
Any ideas for easier alternatives? I thought it would be as easy as invoking a WCF service.
Thank you for your help.
One option is the Windows Live User Data APIs, which contains the Windows Live Contacts API. See the documentation on retrieving contacts.
Keep in mind that the API is considered deprecated, and will eventually be replaced by Messenger Connect. See this post for more information on a possible timeframe for the service being discontinued.
Try Jbuddy from Zion Software, multiprotocol support.

How to invite users to connect to your application using Facebook Application Development interfaces

I think that this question already questioned, and probably the answer is here:
http://wiki.developers.facebook.com/index.php/Notifications.send
but the real problem is that facebook says:
Facebook discontinued support for this method March 1, 2010. Calling this method returns error code 3 -- Unknown method.
while, I couldn't find any other JS-api for the invitation,
anyone know how we can invite users, using the JS api or the .net api?
thanks.
Application-to-user and user-to-user notifications have been removed. Instead you should use counters, news (in the dashboards), or send email (to users who have granted that permission), and check out our best practices for the new communication channels.
http://wiki.developers.facebook.com/index.php/Roadmap_Notifications

Categories

Resources