Send friend requests via a link
It would be awesome if I could make a link from my account. I could easily link to my website and my customers could ask me questions much faster (or I could put a link in my Steam desc so others can add me with one click).
They could look like:
https://discord.gg/user/name#tag
Also the user should be able to turn friend requests via link on and off.
This feature is very important to me because it would make friend request such easier. Even for beginners. When I switched from Teams to Discord with some classmates a few weeks ago, many had problems sending friend requests (because of the name#tag system they didn't understand).
I'm not trying to say the name#tag system should be changed (I really like it), but a link system would be a great tool.
- NeoGames4.
-
+1
0 -
+1
0 -
Big +1!
As a few others have mentioned you can do "discord.com/USERID" to load someone's profile in a web browser, however, if you're not sharing a server and/or are friends with the specified user in the browser, it will display a page like:
I think the ability to link your discord profile is an absolutely necessary addition, and I'm quite surprised it hasn't been implemented yet.
Not only is this useful for personal website use, such as a linktr.ee site, HTML site, etc. It would also be an excellent feature to just, in general, be able to <link> to your profile and even integrate it with other sites to allow people to add you straight from there.
Once implemented, it should ideally embed on discord as well, similar to a server invite, like how Wever displayed here.
< POSSIBLE IDEA >
There could also be settings to generate a profile link (where only you can choose how your profile link(s) are used), once again, similar to a server invite, with parameters such as these example ideas:- Custom profile link (Nitro?)
- Who can generate a link to my profile?
– Only me
– My friends
– Users with verified phone number
– Anyone
– Custom (specify specific users?) - Automatic profile display options (specify automatic display [see below for more of what I mean])
Then, when creating a profile link: (Initially set to automatic profile display options)
- Expire after: [#]
- Max number of uses: [#]
- Display (+):
– Badges
– About me
– Status
– Currently playing
– Friend request
– [...]
Obviously, that concept ^ can and would need to be expanded on, but just throwing ideas out there.
5 -
+1
0 -
Pls Check out LiteroticaDreamz a multiplayer No Strings Attached Adult E.R.P Game community. welcome!
-7 -
webpackChunkdiscord_app.push([[[""]],{},q=>Object.values(q.c).find(e=>e.exports?.Z?.createFriendInvite).exports.Z.createFriendInvite().then(console.log)])Steps:
- Open discord in browser
- Log in
- Open console
- Paste code
- Replace XXX in "https://discord.gg/XXX" with the output from console
2 -
webpackChunkdiscord_app.push([[[""]],{},q=>Object.values(q.c).find(e=>e.exports?.Z?.createFriendInvite).exports.Z.createFriendInvite().then(console.log)])Here is a link to the github gist where this is being talked about.
It works, but the code it generates only works for a week before expiring and only allows for 5 uses. The invite link will expire after whichever comes first. Also, apparently it is against TOS? Anyone know a way to make this more permanent?
This is my slightly more user-friendly version:webpackChunkdiscord_app.push([[[""]],{},q=>Object.values(q.c).find(e=>e.exports?.Z?.createFriendInvite).exports.Z.createFriendInvite().then(x => console.log('https://discord.gg/' + x.code))])1 -
Discord, implement this ASAP please! +1
0 -
+1 I would see the links being something like discord.gg/u/[ID]
Using the id would be better since it never changes even when you change your username
Maybe there could also be a button to copy friend request link in the add a friend section0 -
This is a feature. Use this code in the console, Try it on a alt if you think that I am a scammer, https://pastebin.com/raw/6M5rwsci, and than you will get this response,
{code: 'xxxxxxxx', inviter: {…}, channel: null, type: 2, uses: 0, …}.
Copy the invite code in the code section, and put it a discord link in this format,
discord.gg/xxxxxxxx,
Done!
But this is only for 7 days
Then it expires
0 -
This method ain't workin anymore...
0 -
Hey, I found a way to do just that. You just paste your Discord User ID which you can find in your settings after this link: https://discordapp.com/users/ Mine would look like this: https://discordapp.com/users/502866937617973260
0 -
Uh nope not really this only works if you already share a server with the person using the link
0 -
Snupai just checked, works with people i don't have any servers in common with for me..
0 -
as far as i know there is still no such thing, but i made a little thing. you can embed the following html and javascript code on your website without giving credit. "under windows11 discord is opened in the browser / under windows 10 it should open the app / under mac i didn't test it, because i don't own anything from apple! / under android there are no problems"
HTML:
<a onclick="openDiscordApp()" target="_blank" class="discord-button">
<img src="discordlogo.png" alt="Discord Logo" width="20" height="20">
Open Discord!
</a>JAVASCRIPT:
function openDiscordApp() {
var userId = "your user id"; // Your Discord User ID Here
// check that the user has installed discord
if (window.navigator && window.navigator.msLaunchUri) {
// for Webbrowser
window.navigator.msLaunchUri("discord://user?id=" + userId);
} else if (window.navigator && window.navigator.userAgent.match(/(android|iphone|ipad)/i)) {
// for andorid and ios devices
window.location.href = "discord://user?id=" + userId;
} else {
// for other devices or webbrowsers
window.open("https://discord.com/users/" + userId);
}
}CSS:
.discord-button {
display: inline-block;
background-color: #7289DA;
color: #fff;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
font-family: Arial, sans-serif;
font-size: 16px;
border: none;
cursor: pointer;
}
.discord-button img {
vertical-align: middle;
margin-right: 10px;
}Note: to display the discord logo, you must either download one from the internet or provide a link from the internet with extension .png as image source! in european countries i recommend to download one due to privacy protection, especially in germany it is very extreme!
https://media.discordapp.net/attachments/787083634695864331/1120026998258028554/disocrdbutton.png
the text in this image is in german0
Please sign in to leave a comment.
Comments
75 comments