Discord URI Schemes for developers

Comentarios

3 comentarios

  • Wolftallemo

    This exists actually (but is not documented). To redirect to a certain channel, the uri would be:

    discord:///channels/<guild>/<channel>

    Omit the channel param to send them to the last channel they viewed in the server.

    Most things that can be hotlinked to on the web app can be opened with the associated discord:// url

    1
  • ferretwithabéret

    This exists actually (but is not documented).

    They should document this in my opinion.

    Another idea would be to have some links that would happen next, like "View <guild_name> #<channel_name>" with 2 buttons, the first one would be "Continue in the desktop/mobile(based on user device) app" and the other one "Continue in the browser".

    Also, if this does not exist already, there could be a "Share my profile" button somewhere in the profile settings pane, which would lead to the app with the text "Add <username> to your friends".

     

    Edit: Seems like this kind of exists already, the link looks something like
    https://discordapp.com/users/<user_id>/

    0
  • alaa

    I want to Share a link via URL scheme to Discord from my iOS App

    other apps supports sharing text or URL using URL Scheme like “some_app_url_scheme://share?text=someSharedTextOrURL”

    I'm able to open Discord app using "discord://"

    However I need a way to mimic the same behaviour when I tap on native share sheet where Discord is opened with share in/ share to window, like what's appearing in this screenshot:

     

    I've added my question to Stack overflow as well 

    Share a link via URL scheme to Discord

     

    Your help is really appreciated!

    0

Iniciar sesión para dejar un comentario.