Is there a way to use the "ms-outlook://" URI in iOS to open a specific email message by id? - ios

I am attempting to create a QR code that opens a specific email message in the Outlook App for iOS.
I am specifically looking for something like:
ms-outlook://messages/view?id=1dfffe43-0d4e-4130-467e-08d5b4ee98bd
I have tried a lot of different combinations with no luck...
I am already aware of the "ms-outlook://compose" URI schema referenced here:
URL Scheme Attachment Microsoft Outlook app
I have already successfully pulled this off with trello, workfront, and zendesk. Just want to add outlook to the list.
Examples I have working with other apps:
Trello:
trello://x-callback-url/showCard?shortlink=h836Wd8k
Zendesk:
zendesk://agent/tickets/35436
Workfront:
workfront://TASK?ID=564f71b200d4b8f4a393335ed5a816c1
Any help is appreciated!

Related

Unexpected password autofill with Firebase Dynamic Links

I have integrated Firebase Dynamics Links into my app (using <myapp>.page.link domain) and it's all working fine. However, I have now found that in my login and registration screens I get username/password autofill appearing for website page.link. I'm not currently using autofill, and don't have the webcredentials entitlement, so this is very strange. Has anyone else come across this and know how to prevent it?
I'm seeing it every time for each new project with dynamic links.
I think that firebase's apple-app-site-association posted at <yourapp>.page.link is the only credible source of info it can find (even though it doesn't have webcredentials). Basically it looks like after failing to find webcredentials anywhere it falls back to the only available file with applinks.
The easiest way to prevent this is to take initiative from firebase and post own apple-app-site-association file with webcredentials at your site (with proper "webcredentials:<your.domain>" counterpart added into the Associated Domains capability).

"Via MyApp" tag using Twitter4J in a Java Desktop Application

Well, the title explains my question. I'm developing an app that will be something like a Twitter client, and I can't find a way to make that when I publish a tweet in my account using the app the tweet shows "via MyApp". I'm using another Twitter account, not the one that I used to create the app (I don't know if that has something to be with all this, but could be so I'm telling you). Does anyone know if this is posible?
Thanks!
According to the field guide, your JSON object (named obj) has a field obj["source"] with the following meaning:
Utility used to post the Tweet, as an HTML-formatted string. Tweets from the Twitter website have a source value of web.
This means that "via MyApp" value is the client used to post the tweet. You can find the user that posted this tweet in the field obj["user"]["screen_name"]
References:
https://dev.twitter.com/overview/api/tweets
https://dev.twitter.com/overview/api/users

custom url schemes in twitter posts it does not work

I am an ios app developer. We have implemented a custom URL scheme 'my_app://section_name' or so where if the link is opened in the user's mobile browser, it will redirect the user to a specific section in the app.
We would like to be able to tweet these URLs and have users on their mobile device click on them to open up the app, however it just can click once
(when you click close , maybe you click wrong then you want to click it second but it does not work )
I hope this isn't too silly of a question. Thanks
Make sure to check the tweet body after it have been posted.
This may be due of an URL shortener, especially if the tweet is posted from the iOS 5 Twitter framework.
I'm having a similar issue with url schemes. We can include them in emails and text messages, and they highlight and work properly.
Unfortunately, when we do the same with a tweet, the iOS Twitter client fails to recognise the special URL scheme and so the user cannot tap on it to open our app.
Pretty big oversight, methinks. Anyone else had any joy including special URL scheme links in tweets?
A solution that you should consider involves not sharing the URI scheme directly, but rather creating a page on your web server to handle this. In fact, if you want to be able to share full URI schemes with paths, you're better off building a web server to dynamically generate a page with a URI scheme redirect.
This is a over-simplified representation of what we built at Branch. This includes some code to get you started though the web server will require a bit of setup not described here.
instead of testapp://some.data.here, you'll link to http://yoursite.com/hosted-redirect/some.data.here.
your server should listen at the route /hosted-redirect, grab some.data.here and build the following page (body here):
(source: derrrick.com)
So your server will have to generate and respond with this page, filling in some.data.here, anytime http://yoursite.com/hosted-redirect/some.data.here is requested.
A lightweight node app could do this with a single file.

Link on Facebook with custom prefix/protocol (like myapp://blahblah)

I added to my iOS application option to detect and response to custom URL schemes to launch application ( http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html ).
Link is working perfectly on different sites (using href), but I'm having problem with Facebook. If I'm trying to post link (using Graph API) which looks like:
myapp://blabla
Facebook return error:
The url you supplied is invalid
And for feed with link return
link URL is not properly formatted.
I can't just post url as a message because it's not being detected as a URL and appear like text only.
Is there any way to post to Facebook wall with custom links?
Edit:
I have an idea, but I don't know if it gonna work. Putting
myapp://blabla directly into address field in mobile browser is launching application so probably accessing an webpage (like http://www.mywebpage/myapp) with only redirection to
myapp://blabla gonna work too, but is Facebook gonna accept that link?
I think your suggestion in the edit is the correct method, and should work. However applications like spotify seem to use an intersticial page which fires the "app link" with javascript, the advantage to this approach is that you can use that page to "sell" the app to users who don't have it and also provide lovely open graph tags for people who want to share it.

Lauching Lotus Notes with mailto:

I have a mailto url in a web page. The target system contains both Microsoft Outlook and Lotus Notes. Microsoft Outlook is the default Mail Client. So when i click on mailto link it opens up Microsoft Outlook.
I want it to open Lotus Notes when i click on the link and i do NOT want change the default mail client settings in Internet Options as well. Please suggest a solution or work around to achive this.
You can use a notes:// style URL, which will work for users with recent versions of the Notes client installed. This URL format can be used to launch a database (or open a known document in a database) whose file path is known. Unfortunately, for creating an email document in the current user's mailbox, the NSF path will be different for each user. But there is a technique you can use, if you have a Notes server in your environment. You can have the link on your page actually link to a static Notes database, which has an "OnDatabaseOpen" event handler set up to look up the user's mailbox path, and then redirect the user there. It's a few steps - not as simple as a mailto: URL - but if you are desperate, it can be made to work.
You can use this URL to open Notes and a new memo: Notes:///0000000000000E00/Memo?OpenForm
source: http://www-10.lotus.com/ldd/dominowiki.nsf/dx/notes-urls
This however does not solve the problem of filling out the To address, Subject, etc.
A mailto link is always going to use the default mail app. You may be able to use a lotus notes shortcut and pass the email address as arguments.

Resources