Get Microsoft Teams/Graph user status message via API - microsoft-graph-api

It looks like you can get a user's presence via API: https://learn.microsoft.com/en-us/graph/api/presence-get?view=graph-rest-1.0&tabs=http. But I can't find any way to get the Teams status itself, specifically this thing:
I've seen various people asking about it in other forums, I assume it doesn't exist yet but maybe somebody knows how, perhaps there's an undocumented way? Thanks!

Currently we do not have any Graph API to get the status set in Teams.
You can raise a user voice here: https://microsoftteams.uservoice.com/forums/555103-public/filters/new

Related

Get specific logs from SendWithUs with API

I was just trying to get a specific logs from SendWithUs, but cannot really find any info. Googled all around the place. API documentation on SWU does not say how to pull like "email_name" with a specific text in it. I want to pull the logs where "email_name" could be specified or at least "email_name" like '%specificemailname%'. Any ideas?
I will really appreciate every single answer.
There isn't a way to filter logs programatically. Sendwithus has two log API endpoints. One to get information about a log using the receipt_id returned an a send API call. The second lists email event information (opens, clicks, etc) for a given log.
Did you reach out to the support team for help?

How to invite Facebook friends from iOS app?

The current solution I found involves a complex set of process, I have not figured out 100% yet. Thus, I wanted to know an expert opinion on this.
This is what I have so far:
Access Graph API endpoint /friends which will give the list of friends who are also using the app
Invite them (I have no idea how)
For an invite, I have found this, but that's already deprecated. Which uses FBSDKAppInviteDialog.
I also found this but it seems like she is just promoting their own product. If they can do it then there must be a way for me to achieve this as well. Still, I can't find it in Facebook docs.
The sad thing is, why would Facebook make this simple stuff very hard to do?

Add Last Login to Users api call

Our customer wants to see a report of all their current users' last login dates, but I couldn't find a way to get that information from the current API:
http://docs.valence.desire2learn.com/res/user.html
It's a little frustrating, because it's so easy to get this data in the UI itself:
Is there any way we can get that data through the API? Thanks!
Currently, there is no way to get this information via an API call; however, you are not the first person to inquire about this, and I suspect it's on D2L's list of improvement items for their developer platform.

Return Users ordered by followers Instagram API

I have an issue, I want to get the biggest accounts in Instagram using the API for ruby. When I said "biggest", I meant the accounts ordered by the amount of followers.
I found the service /search, but I don't know how to make the query. It seems that it's only to search by username.
Any idea or workaround?
Thanks!
As far as Instragrams documentation goes this is not possible: https://www.instagram.com/developer/endpoints/users/#get_users_search
From what I can see you can only search by username and I don't see any other way to add parameters. So unless there is an unknown hidden param I don't think this is possible.
If you have a specific user you can see how many users follow that user here: https://www.instagram.com/developer/endpoints/relationships/#get_users_follows but you would need an access token for that user.

Tweeting as different user using REST API

I'm currently writing a shop-related site that has it's own community in different social networks. While posting to VKontakte and Facebook is less of an issue (I can understand the concept of "group", and VK actually has an option to write posts using the group's name), Twitter is more troublesome.
Two questions:
Is there even such a thing as "groups" in Twitter? The closest I have seen is lists and timelines, but neither appears to solve my issue.
I cannot give the operator access to the twitter account. VK has a specific option when posting in a group to use that group's name as poster name. How does this work in Twitter?
I need something akin to what lamoda has set up. (It appears to be a user, and every post is labeled as written by that user, however I doubt they give their ops access to the actual twitter account).
P.S.: I'm already done with getting past OAuth and using REST to actually post, thus no code provided. I'm just having trouble with the statuses/update.json call, if that's what I should actually be using.
Talk about simple solutions to simple problems.
It appears I have been overcomplicating. There are no groups in twitter, or even comments at that. You can only post to your own feed or re-post from somebody else's.
Posting to someone's feed (a shop account's, say) is simple enough using that account's pre-generated access token which can be stored in the configs.

Resources