How to add links to pidgin / slack

Simona Stanciu July 3, 2020

I have a confluence page in https://confluence.oraclecorp.com

I need to create a link to our internal pidgin user and also slack user.

The link will directly open discussion with a person in pidgin. Another one to open discussion in slack.

Thanks

 

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 7, 2020

Hi Simona, welcome to the Community!

Slack allows you to create custom URLs that launch the Slack client (if the person clicking the link has the Slack client installed) with a chat selected, or switch an already-open client to a particular channel or direct message.

For a direct message to a specific user, the format is:

slack://user?team={TEAM_ID}&id={USER_ID}

You can get the Team ID the fastest by opening Slack in a web browser, and looking in the URL bar. the Team ID is the portion of the URL after the "client/" part that starts with a T. Example (not a real team): TJ2AT0145

The User ID starts with a U and can be found by going to a user's profile in Slack, clicking the "More" button under their name/job title, and selecting the "Copy member ID" option.

Once you've got a valid slack:// URL, you can use the Link format option to paste the link on text or an image in Confluence.

 

Unfortunately it looks like setting this up for Pidgin might be a bit more involved:

  1. There's no guarantee that a browser/OS will know what to do with an XMPP link, so some additional setup may be required client-side 
  2. Once XMPP links are working, you can trigger a message with the URL format
    xmpp:user@example.com?message
    

    but the Pidgin mailing list notes that Pidgin must already be open to process that type of link

Cheers,
Daniel

Note that for Cloud users, there's currently an open issue around custom protocols such as "slack://" not being recognized by the new Cloud editor: CONFCLOUD-65866 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events