Message webLink not working for outlook.com accounts - microsoft-graph-api

I’m working on an add-in for Microsoft Outlook, and we need to provide our users with direct links to specific emails. We’ve been using the webLink property of the message object: https://learn.microsoft.com/en-us/graph/api/resources/message?view=graph-rest-1.0
At some point recently, it appears that these web links have stopped working for outlook.com users. Instead of opening up to the email, the page will either appear to load forever or show a page saying “Get Outlook on your phone for free” with a form to submit a phone number to receive an Outlook mobile app download link via text. These web links still work for all the Office 365 accounts we have tested.
Whether we fetch a message and its web link using the REST API V2 or the Graph API, we get the same web link that will not work for outlook.com accounts.
It looks like we’ve been seeing the same behavior described in this question: Outlook weblink does not always correctly open the mail
Is this a known issue, and if so are there any known workarounds? Thank you.

Is this the same issue on GitHub: https://github.com/OfficeDev/office-js/issues/1095
The fix for that is being worked on.

Related

Why Microsoft Graph MSAL SDK does not support Microsoft Emails(e.g. ****#hotmail.com, ****#live.com, ****#outlook.com) accounts to upload in Onedrive?

I am trying to create an iOS app which will upload photo to OneDrive using MSAL SDK for iOS. It works perfectly for users who login using other email domains except Microsoft like #gmail.com, #yahoo.com, #yandex.com works fine. But when using Microsoft email domains it does not upload photo. It sends status code = 404.
I have tested on multiple email accounts and seen that the problem persists for only Microsoft email accounts?
Any help to fix the issue will be highly appreciated. Thank you in advance for taking time to read my issue.

prevent twitter bot from taking over direct messages on page

Pls, I really need help asap.I have created a dialogflow bot for an institution and it is to integrated into twitter. after following dialogflow's documentation, I managed to place it on the company's official twitter page. but now, I'm having an issue with communicating with the bot. I always have to send a DM or tweet to the page in order to get response from the bot. but, the company uses the same page to receive customer complaints. Please, isn't there anyway that I could host the bot on the page and get users to be able to chat with the bot and/or also with customer care.
You can try deploying it on a dummy page for the time being and fixing the issue.
If I'm misunderstanding something here then I'm sorry but from what I can tell, you made a bot and deployed it on the official twitter page but the behaviour was not as expected. This has lead to the bot replying to customers when it wasn't supposed to? I'm sure you're in a hurry but its not perfectly clear but that's what I got from the post
Also, its always better to test on a dummy page before deploying to the official page.

Outlook api. How to search emails with oauth token?

Is there any working and complete code samples that demonstrate how to work with hotmail api?
For example I've already made for gmail api with web application:
oAuth
search mail by uuid inside mail body
get Message Content
get Message Attachment
some processing code
Now I need to integrate hotmail.
done only:
oAuth with scope https://graph.microsoft.com/mail.read
That code samples that I found in official documentation doesn't shows how to pass oauth token - thats why have a lot of questions
Share some links that will help me, please!
I recommend you use the Microsoft Graph to read and search emails. It works for work, school and personal Microsoft accounts (hotmail, live, outlook.com, etc).
Since you already have an access token, just pass it through with an Authorization header. More information about using access tokens with the Microsoft Graph can be found in their documentation.
Authorization: Bearer [Access Token]
For searching email, try the following query:
GET https://graph.microsoft.com/v1.0/me/messages?$search="hello world". If you're trying to search for emails in a different user's mail, try:
GET https://graph.microsoft.com/v1.0/users/{id | userPrincipalName}/messages?$search=foobar
I also recommend trying the Microsoft Graph Explorer since it has sample queries for Outlook Mail. To show the Outlook samples, click the show more samples link. Also, clicking the icon to the right of each query will bring you to the documentation page for that sample.

Is there a way to get write access to twitter api without mobile authentication?

I am currently working out of india and am trying to get to make my app post on behalf of my Twitter user account. However, for me to be able to do this, I need to create write access to my app on twitter, which I tried to. Unfortunately, twitter gives me the following error:
Error
You must add your mobile phone to your Twitter profile before granting your application write capabilities. Please read https://support.twitter.com/articles/110250-adding-your-mobile-number-to-your-account-via-web for more information
Now, I tried to add my mobile phone number following these instructions. Twitter, does not support any of the Indian mobile carriers in order to authenticate the same.
Is there a work around? Is there any way I can make write access work from here?
There are two ways to do this.
The official way to do this is to contact the Twitter API team directly using this form https://support.twitter.com/forms/platform
The unofficial way is
Authenticate against mobile.twitter.com (use your phone or computer).
Go to Settings
Go to Phone
Add
Add your mobile
A "manage" link should be available
All being well, you'll get a confirmation SMS
I've not tried this method - but I have seen other people say it works.

What are the alternatives for file upload on ios safari?

I have a mobile web app/site and I would like the users to upload a word document to our site.
As safari on the iPhone is not able to upload files what are the alternatives?
I have seen http://code.google.com/p/iphone-photo-picker/ however this is not photograph.
Is it documented anywhere that the Dropbox API, iCloud API or another API would allow selection a file from a user to copy to our servers?
Alternately is there another way for our iPhone users using safari?
No, iPhone does not offer input type file on it's browser (except for images or videos).
What i do is, have users to send file(s) via email to site and download it programmatically on the server side and assign it to user's account either according to email address or some sort of password in the email.
Investigation has shown that the drop box API for the user so select a via on the webpage using OAuth could be an option in the future.
However the dropbox api documentation at the time of writing says:
Web applications using the Dropbox API are currently not officially
supported.
iCloud API is in beta and only available to members of the iOS and Mac Developer Programs so I am unable to review it's possibilities.
Update: I have now found this site: http://filepicker.io that handles uploads from facebook and dropbox.

Resources