ReticentJohn / Amaroq

A floofy Mastodon companion for iOS
https://appsto.re/us/OfFxib.i
Mozilla Public License 2.0
237 stars 56 forks source link

Add support for deep links to user profiles. #104

Closed timonus closed 5 years ago

timonus commented 5 years ago

Following up from this Mastodon conversation, this pull request adds support for opening user profiles via Amaroq's URL scheme. URLs that do this take the form

amaroq://user/[fully-qualified-mastodon-username]

For example

amaroq://user/timonus@mastodon.technology
amaroq://user/gargron@mastodon.social

Here's a video of this in action: https://db.tt/2pCCYe1pcp

timonus commented 5 years ago

Ah, looks like the /search endpoint will resolve URLs for statuses and accounts. May be better to use that, but I think this PR still stands :)

timonus commented 5 years ago

🙌

Sent with GitHawk