#social-sdk-dev-chat

1 messages · Page 2 of 1

static oak
#

401 from the api means no, or bad auth

prisma cedar
#

i thought maybe that it means that i don't have rights to send an message in the channel which would be weird since i am admin

static oak
#

that would be a 403 unless the sdk works completely different from the rest of the api

prisma cedar
#

hmm ok

prisma cedar
#

Ok i think i fixed it i used client.GetDefaultScopes and not GetDefaultCommunicationScopes

prisma cedar
#

ok i have another question 😅 is there an way to "control" provisional accounts like automatically adding them to an discord server upon creation?

icy compass
#

they can show up in a linked lobby, but that's about it.

prisma cedar
dim meadow
#

Found a glitch

icy compass
royal canyon
torpid aurora
#

not sure if this is the right place, but is the discord social SDK used for simply having my game registered as a "game" on discord with a game page / visual assets? that's all i'm interested in doing (not rich presence or anything) but haven't been able to find any concrete info about how games get registered for that

shut jetty
torpid aurora
prisma cedar
full iron
#

@icy compass Do you guys accept PRs to libdave on GitHub?

sudden lava
#

does SDK have any safety issues? am working on the extension for vs code and the sdk pull out all channels from this servers. so i seen channels which should not be visible to unauthorized members. lucky the sdk wont let me see the messages content of each channels

sinful torrent
#

The API returns all channel objects regardless of user permissions

icy compass
icy compass
#

We'll be updating the contributing guide shortly.

full iron
icy compass
sudden lava
#

Hi! Quick question about our Discord Social SDK extension:

We relay stateless lobby messages through a third-party API = vercel (no storage, immediate pass-through only).
DMs go directly via SDK, never through our API.

Is the stateless lobby message relay TOS-compliant ?
Also - safe to use Discord_Client_StartCall() for lobby voice?

Thanks!

dusty mango
#

is there a nodejs/npm implementation for this?

sly ocean
weak pike
#

Good morning/afternoon/evening, I have a question about the Social SDK.

Is there a version or wrapper for the SDK in Javascript?

dull obsidian
#

The Social SDK is for compiled languages and as far as I know it's only available in C++. if you want to write games for Discord using JavaScript there's Discord Activities

weak pike
#

I'm looking into Discord Activities and it might be better for what I'm trying to do. Thank you.

mortal topaz
#

Will the Social SDK ever support x86? Unfortunately a lot of developers, such as myself, are stuck on x86 and do not have the option to shy away from it what-so-ever.

full jasper
#

i have a question about the social sdk (Public Client)

what does the option change because i already have oAuth for my website does this setting change anything in my existing auth or only for the sdk

static oak
#

it just enables the public auth as well, shouldn't impact that at all

mortal topaz
#

But yes

full jasper
#

did someone allready used the social sdk with rust?

if yes did you use any compiler like llvm or cxx.rs

humble bolt
#

so how can i set rich pressence without having the user auth with my app? because how do other games automatically set this up for me?

static oak
humble bolt
#

and can i count on this working magically on linux? 😭

static oak
#

it should, if it's a proper linux install with the proper client

humble bolt
#

its the flathub pkg, so im assuming

tranquil robin
tranquil robin
#

if you use the social sdk and the user auths, the sdk connects directly to discords api and sets your presence. if the user doesn't auth, it uses rpc which connects to the locally running discord client

spice barn
#

Hey guys, does anyone know if there's any moderation on the chat lobbies? I was looking at using Automod but it appears like it may only be for channels not for lobbies, can anyone confirm? We're using lobbies in our game and we'd like to moderate them if they are not linked so there's no profanity

icy compass
icy compass
vernal prairie
#

Hi folks, i'm using the Discord client social SDK for my unity app. I'm supporting both provisional account and full discord merged accounts , letting them add each other as friends using the _client.SendDiscordFriendRequest() function. I attach our discord bot token for this action.
Overall this has been working fine for friend requests for provisional <-> provisional , full <-> provisional , and full <-> full.
But I do sometimes run into this error response from the sdk
"{Type=HTTPError, Error=Incoming friend requests disabled, ErrorCode=80000, Status=BadRequest, ResponseBody={"message": "Incoming friend requests disabled", "code": 80000}"
The code 80000 maps in the docs to "Incoming friend requests disabled" but this isnt accurate because the users im adding cant disable friend requests. Is there anything that can trigger this response?

vernal prairie
#

I'm also curious if i should be using the Discord_Client_SendGameFriendRequest function since i'm working with provisional accounts.

vernal prairie
static oak
gritty wasp
#

@static oak

icy compass
twin pier
#

Is there a way to download the sdk directly without the google auth thing? I cannot add 900mbs of sdk to a github repo, downloading it with cmake would be better

grim token
#

you arent supposed to have the sdk in the repo afaik

twin pier
#

Then how am I supposed to declare it as a dependency?

coral kindle
#

is the social sdk thread safe?

shut jetty
coral kindle
#

like if is accessed by multiple threads at the same time no race condition

shut jetty
#

Oh "thread safe" sorry I misread... Sorry I'm not 100% sure. My assumption is yes but I don't know with confidence

coral kindle
#

i dont either but i think i've seen things in stack traces involving something of it

jade spear
# coral kindle is the social sdk thread safe?

Since most of the way you interface with the Social SDK is callbacks from the client you could kick off threads to react to those callbacks when you get them. I'm not fully sure accessing the client from multiple threads is safe though so you could also put a lock around it. What's your multithreaded use case?

coral kindle
#

i've been tinkering for roughly about a year now on just porting the 'cdiscord' file to swift so i can make random apps with it and other functionalities of my macbook

coral kindle
#

how can i use the social sdk for just rich presence

#

i'm trying to not login/auth at all on purpose rn

coral kindle
#

thx

coral kindle
#

unless i cant see it

#

ah wait it might be bc i was using the activity assets my b

twin pier
#

Are there language bindings other than C++ and Unity?

dull obsidian
#

There’s also Unreal Engine bindings

twin pier
#

that's c++

dull obsidian
#

The bindings themselves are C bindings with a C++ header file to “C++ ify” the code. So you might be able to create bindings for other languages that have some sort of C compatibility layer

frigid gorge
#

yeah the SDK is still C based, I bet it's an extension of the legacy game SDK lol.

There's a C header in social sdk you can use from your language. I did that with Swift, cause I didn't want to learn how to use the C++ Swift interop (there was even a prepared library included for iOS i think, but i havent looked at it yet)

tranquil robin
#

no the GameSDK was written in Rust, the Social SDK is C++ for console reasons

frigid gorge
spring skiff
#

Hello Guys Using Custom RPC In Mobile Is Legal?

coral kindle
#

Way nicer to work with and I made a kind of copy on write between the smaller objects

spring skiff
#

Okay

grim token
#

<@&1050493473033289778>

spiral cosmos
frigid gorge
coral kindle
#

It doesn’t feel polished enough to me to publish

#

Also how to distribute it since you need the lib to link against and you can’t redistribute it either

twin pier
#

Is there a reason why rich presence activity time is updated every x seconds instead of being a fluid timer?

vernal prairie
# icy compass "sometimes" does not make a debuggable problem 😁 Can you provide reproduction...

ah ok i found what it is. There were some users who did have their friend requests turned off in their discord settings but were not aware.
A follow-up to my second question: Can I use the discord sdk to only support game-friend relationships? or am i required to support both types? Theres a line in the docs "If the user is not yet a friend, show both options of adding as either a Game or Discord Friend" , so I wanted to check if thats a hard requirement to support both.

vernal prairie
#

Got it, so game-friends is optional but full-discord-account linking is a hard req.

dusk bough
#

Is there an official SDK for rich presence on Swift? Or is anyone working on an open source version

#

Oh

#

nvm I literally see it 2 chats above lol

dusk bough
#

dunno how to make it dynamic though so if someone want to play around with it then feel free

frigid gorge
#

i think it's a module or whatever swift wants you to usually make when doing c++ interop

dusk bough
#

no i didnt check

dawn shell
#

How do I put my id in for the verification cause I went to the service page and couldn't find it

sinful torrent
#

There is a verification tab on the dev portal, then you can click on either the text that says "bot owner must complete identity verification" or there might be a separate button, I cant remember.

dawn shell
#

Ok bet thx

lyric granite
#

hm

marble grotto
lyric granite
#

Hum not rn, ty

shell wadi
#

Hello everyone, I just wanted to ask if there is a way to download the most recent SDK zip (a link to always download it)
My intention is to put in a CI/CD so I can update my project whenever a new version is out
(I want to avoid making a crawler)

dusk bough
#

just inspect elemtn the link to download and it should show s3 distrubituin link

#

then call it in your github actions to pull

#

@shell wadi

shell wadi
#

doesn't that link change each release?

#

oh sorry, you are right I think that it changes

#

it would require me to login to get the newest version if true

neon jungle
#

are there any open source android projects that use discord’s standalone c++ social sdk for rich presence?

carmine umbra
#

Why is the mobile discord community setting so buggy

harsh granite
#

Do you have to have a company and/or game in order to apply to use the social sdk? I've been making a hobby project, a geometry dash mod that deafens the user when they get to a certain point in the level, and I would like to switch from just simulating the user's keybind to something more formal and consistent. I tried RPC, and that works well, but by the looks of it I can't publish it without every user having to make their own application because of authentication. I would like to apply to use the social sdk, as it looks like it could fit my use case, but there are required fields for "Company Name" and such. Am I able to apply just as a hobbyist without a company?

near flint
#

Guys How To Fıx Developer portal Its crashed for me

near flint
unreal prairie
indigo flax
#

because the app isn't available on the Play Store

fallow bluff
#

Ohhhh interesting

near flint
bright bison
#

Why can't I text man

#

I tried to say hi

woven token
spring skiff
#

Pls add custom RPC for mobile đŸ„Č

woven token
feral gorge
#

Hi. Does anybody know how to interface with per user voice settings for the client? I've hunted around the docs and can only see an ability to touch that via RPC, which to my knowledge is now depricated. My application for this is a physical user voice mixer, i.e. a mixing desk like device. I would prefer using an official API, but otherwise I am considering having a look into the IPC routes/adding a script to the electron app itself. I assume this would be the correct channel to ask in?

shut jetty
#

Discord's RPC scope is currently in Private Beta and is not accepting new projects/developers... hypothetically, you could have users create their own Application to enable the scope but to my knowledge, that is the only way to interact with voice settings autonomously

feral gorge
#

I assumed private beta meant it wouldn't work in any way

shut jetty
#

If you have a restricted scope enabled, people other than you (and likely other members of a Developer Team in the dev portal) cannot authorize your application

#

-# I am not 100% certain on this so worth double checking

feral gorge
#

That will work completely fine, as it is a personal project. Thank you! I will have a play around with it then

feral gorge
#

Does anyone know how to set RPC (as in Remote Procedure Call) origin? I get a forbidden error at the moment citing an invalid origin received 4001 (private use) Invalid Origin; then sent 4001 (private use) Invalid Origin. I've looked online and it seems is was in the past set when an application was made, but that is no longer asked at app creation, and I cannot see RPC Client in the developer app settings

median hull
#

hey friends! curious if it is possible to only have a small amount of these. i'd use openid sdk.social_layer but my game doesn't need access to voice chat or direct messaging, just the lobbies and linked channels. i can't seem to find a scope that would limit to additionally adding just those two

olive heron
primal socket
#

is there an endpoint to check for registered games w/ discord sdk ?

tranquil robin
dusky epoch
#

What does DISCORD_API void Discord_SetFreeThreaded() do? It's undocumented and not in the C++ header

#

context: I am writing a rust binding and want to know if Client or its callback futures can potentially be Send

dense lynx
#

Hello, i have a question, why doesn't the SDK show who invited whom?

narrow yew
#

most SDKs don’t automatically expose “who invited whom” because referral/invite relationships are considered application-level data, not core SDK data.

dense lynx
narrow yew
#

: )

rustic cargo
#

Hello, could you advise if it is possible to implement Discord Social SDK (chat) into a Minecraft plugin or mod?

icy compass
tribal shoal
#

Hello.
I want to use the voice chat feature of the Unity SDK with anonymous OAuth.
Because I don't want my users to have a discord account.
I just want to make them able to speak in a multiplayer room.
I think it's called provisional accounts

#
  1. Does Discord Social SDK let's Unity dev to have positionnal voice chat ? I mean, can I put the voice on any AudioSource I want ? even a 3D one ? For each user talking in the same lobby ?
icy compass
tribal shoal
icy compass
fair wave
#

gonna see if i can get past the burnout of doing this again

cerulean trellis
#

Can a client be in more than one voice lobby at once? I would like to have two lobbies in my game:

  • A "team" lobby for each side
  • A "global" lobby where everyone can talk
sacred spear
mortal topaz
#

Still praying for a 32bit distributable

hollow echo
#

..

#

...

#

Yes yeah

tranquil robin
#

Windows doesn't even support 32 bit devices anymore, and Discord is 64 bit only, so we have no plans to support the sdk on 32 bit

lean sorrel
#

Hey Discord team, I'm implementing the Discord social SDK for our product, and I'm looking for some clarification on the relationship between Linked Channels and Lobbies. The documentation for linked channels says you recommend using channel linking only for persistent lobbies, but the docs for lobbies say that they're intended to be ephemeral. We have a use case where linked channels could be great (we want a server manager to be able to connect their in-game server's chat to their discord channel), but the docs seem to imply that they'll have to make a new lobby and reconnect their channel every time they come back from a break. Is increasing the lobby lifetime to 7 days our best option here?

dusky epoch
# lean sorrel Hey Discord team, I'm implementing the Discord social SDK for our product, and I...

I'm not Discord staff, but IIUC it's not possible to use the Discord Social SDK alone to link a lobby to a channel. See https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1LobbyHandle.html#autotoc_md10

Lobbies can be linked to a channel on Discord, which allows messages sent in one place to show up in the other. Any lobby can be linked to a channel, but only lobby members with the LobbyMemberFlags::CanLinkLobby flag are allowed to a link a lobby. This flag must be set using the server APIs, which allows you to ensure that only clan/guild/group leaders can link lobbies to Discord channels.

lean sorrel
dusky epoch
# lean sorrel Oh yeah it's no problem to implement that server-side, I just wanted to understa...

considering your use case, the game-server itself would count as a client and your lobbies would never expire assuming the server doesn't go offline for more than the expiration time, you can just check that the lobby is still valid on startup and if not spin up a new one

do note that lobbies created through the server api are not joinable by clients using the social sdk

Clients will not be able to join or leave a lobby created using this API via the SDK functions (such as discordpp::Client::CreateOrJoinLobby). Returns the created Lobby object.
https://discord.com/developers/docs/social-sdk/server_apis.html#autotoc_md92

additional constraint:

CreateOrJoinLobby
This function shouldn't be used for long lived lobbies. The "secret" value expires after ~30 days, at which point the existing lobby cannot be joined and a new one would be created instead.
https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a8b4e195555ecaa89ccdfc0acd28d3512

lean sorrel
dusky epoch
# lean sorrel ahh I see, we don't run dedicated servers though, we only run them when the user...

your flow would likely look like

  • gameserver starts up
  • gameserver authenticates with your centralized server
  • gameserver sends create lobby request to centralized server
  • centralized server calls the discord server API to create lobby (and set permissions for server lobby member)
  • gameserver can then ask your centralized server to link the lobby to a channel
  • when users join your gameserver, you'll call the centralized server and ask it to add members to your lobby for you

this handshake would have to happen every time you restarted the server

dusky epoch
lean sorrel
dusky epoch
grim token
#

<@&1050493473033289778>

ruby minnow
static oak
#

well your app is giving 404s all the time, that probably has something to do with it

mortal topaz
#

Every time I see an announcement ping I pray it's 32bit support

grim token
knotty birch
lean sorrel
floral stump
#

Is there a way to link a channel in my unity app and have messages appear in the discord channel itself that are sent from in game? I managed to get a working channel between users, but it didn't populate the discord channel. This is specifically for unity sdk

floral stump
#

@knotty birch ^ when you get a chance

lean thistle
#

Abee ye wale me

kind galleon
#

A

deep valley
#

hey, just hopped on the dev docs unity quickstart, however, I am stumped on how it just fully assumes you'll go with a public client right after telling you thats a bad idea, and has no instructions on how to eventually not do that, and even when you click through, it does not tell you which methods are limited by not doing that.

So, I just wanted to suggest/request clarifications on which "Some Social SDK methods" a confidential client restricts you from, and if/how it changes the quickstart.

static oak
#

it uses public client cause its the easiest way of showing what the sdk can do and to help you get started faster. you can always change it after

#

because confidential clients require all token exchanges to happen on the backend, this is a lot more work

deep valley
#

I understand, but is there an actual bit of documentation on how to implement it as confidential?

static oak
#

isn't it just oauth?

deep valley
#

"just oauth" doesn't tell me much, I've not done much web stuff before, reading through the docs it explains what a conf v public client is, but not the specific bits of the api it affects nor how to make it not public

static oak
#

ah oauth is an industry standard auth protocol really

#

discord tends to not explain those

#

not very beginner friendly i agree, but they kinda assume if you're building anything you know these things already

deep valley
#

I've got almost 10 years in gamedev now, but I've never done anything that required an account, so

#

anywhere else on the internet explain how to convert from public to confidential? also I wouldn't say this is just "not beginner friendly", it's unreal-tier missing documentation. I'll simply try going through the quickstart w/o setting it to public until it explodes I guess

static oak
#

doesn't seem like they wrote anything about that

#

i would assume the individual method docs mention it if they need anything specific?

deep valley
#

okay, thankfully, after doing a lot of digging, I managed to find the rich presence without auth flow, which I assume I will be able to do without setting it to public, assuming I can get that far down the main tutorial. The docs are rather circular, but if you dig through it, they specifically do have a section on how to set it up for a confidential client, which definitely just needs linked on the many mentions of client types that send you in circles

static oak
#

the one without auth iirc is only for connecting to a local client

deep valley
#

that's more than fine enough with me, it's a way smoother user flow than asking for a login

#

if and when the console port comes I can look into all that

static oak
#

may be enough for what you need if the game and discord run on the same pc, but you need the auth to set it without the local discord client running on pc

deep valley
#

I don't know why I'd want rich presence or game invites without being online on discord

static oak
#

it's not about being online

#

it's about the user having the discord desktop client installed and running on the same machine

deep valley
#

yes, I understand, but the main use case of discord for games is that someone has a discord account, and a game running on their computer. Highly likely that both are running at once, or the player's purposefully shut discord off

#

I don't really need to make the UX worse so you can report the map you're playing on while having discord shut off on the Gaming PC

static oak
#

social sdk is for more then just destkop. on mobile or consoles there can't be a local discord client to connect to

deep valley
#

I know, that sounds like a mobile/console dev problem

static oak
#

¯_(ツ)_/¯

#

no clue what you're making so i mentioned it

deep valley
#

I appreciate your clarification

#

well, given all that digging, I'll leave the following suggestions here for the API team:

  • clearly link this (that's part of the mobile section, but I imagine it'll apply to games as well) here
  • considering the existing userbase of discord, I'd put rich presence without account linking at the very top of your features list, and start the game engine quick start guides with that, given it's by far the best result/effort ratio for devs to get going
knotty birch
knotty birch
#

linked channels will look like this in your discord server

floral stump
knotty birch
# floral stump do we know when this will be out of beta and available for everyone?

its not in beta, you can prototype with it in its current state and but it is considered a Communication Feature and requires reaching out to us for full production-use. https://docs.discord.com/developers/discord-social-sdk/core-concepts/communication-features

Documentation - Discord

Learn about Discord Social SDK's communication features including direct messages and voice chat.

agile girder
#

Yall

#

I made my first bot.

#

Who rf gave me the active building role?

agile girder
#

Im blind asf😭

wintry ice
#

Smh

#

Also you're in the wrong category lol -> #dev-chat

#

Welll you picked all three

nimble axle
#

Does Social SDK have x86 libs/dlls for windows?
Even if it is older, that would be fine for now.
I mainly just want to add rich presence. Updating to 64bit likely won't be possible anytime soon.

past osprey
#

🚀

nimble axle
#

I'm not talking about 32bit cpus. Microsoft themselves even acknowledge there are benefits and use cases for 32 bit apps over 64 bit ones which is why 32 bit is still supported unlike 16 bit.

#

Wasn't there an older discord library for doing rich presence that supported 32 bit?

sage seal
#

How does this SDK work guys

coral kindle
#

What is the minimum OS version that the SDK supports on macOS/iOS

wintry ice
coral kindle
#

thx

coral kindle
wintry ice
#

that's 10.5 and that looks to be the minimum supported version so yeah

coral kindle
#

just surprised

wintry ice
#

oh I read that as a question xD

coral kindle
#

i mean it is but just like huh

#

wow

#

also this should be configured not confused?

coral kindle
#

is the callback provided to authorize a one time use or is it stored and used continuously

steep jungle
#

What

coral kindle
#

Is the discordpp::Client::AuthorizationCallback callback stored after being used or is it just used once and then thrown away

mossy heart
#

Anyone know if theres a way to have rich presence for a game without having the user to grant access similar to the legacy SDK or has it completely been changed?

void yarrow
#

How does discord handle a message if it’s sent from a game (linked chat)?
-# The user didn’t connect their account with SDK + Discord client is not running

#

Like, what is the avatar gonna be

spiral crown
#

@icy compass sorry for ping but does Discord have document for how to transform text like text or text

steady dagger
#

grr

sage seal
#

guys, anyone using Discord SDK in python? somehow using pypresence? i don't KNOW how that work tbh

shut jetty
sage seal
#

even NodeJS have an SDK

void yarrow
#

Is it possible to run sdk in server side, like

#

Wait lemme make it a thread if someone asks about this

#

Flash Game Lobby Chat

shut jetty
#

the latter is more likely to be noticed

void yarrow
#

I didn’t know that channel existed

twin pier
#

I followed the tutorial on the website but I keep getting Error: UnexpectedClose (4004) after client connect and then immediately disconnects

inland wharf
#

Does anyone know where the documentation for socialsdkk profile widgets is located?

pine slate
#

does anyone know where the u can use a sdk using pypresence?

shut jetty
pine slate
#

Ohh thanks for the help.

vast gate
#

I ned help

shut jetty
# vast gate I ned help

we cant help if you dont ask...

is your question related to coding or specifically the social sdk?

shut jetty
#

if your question is related to making a bot, you should either ask in #dev-chat or make a #1478857869960019968 post... this channel is for the social SDK, not bot development

livid tartan
livid tartan
#

this was an error years back does it still exist

#

i mean i cant join

prime ferry
#

Ok

supple crow
#

Uh hi

void yarrow
#

How do we add custom emojis to buttons or send a button request as that "Connect account"?

spiral crown
#

How to spoil time like || time user set || in profile

tranquil robin
untold moss
#

Hello, how are you?

fickle knoll
#

does the RPC still does invite party? for some reason, it's not showing

#

or is it only available on social sdk instead of legacy?

slow merlin
#

Heyy just question, i do have Playing and it will not show up in discord RPC whats the new Activity type for it? Language is C#

woven token
fickle knoll
#

i switched over to social sdk since i found in the docs that joins are only available for social sdk

woven token
#

Oh I see

fickle knoll
#

but i am experiencing a problem now

#

the auth doesnt pop up at all

#

when i was following the setup guide for c++ standalone

#

it was able to detect discord but it wasnt able to send the auth

#

?

#

not sure if that contributed to what im asking about

woven token
#

Does Steam games with Profile Features Limited (776) category flag are explicitly excluded from Discord's games list despite the game is released and everyone can try and play our game/mod, resulting in unable to game identity claim in Developer Portal
If so, can I contact Discord support for assistance for game identity claim for specific case?

icy compass
# woven token Does Steam games with Profile Features Limited (776) category flag are explicitl...

Hey - thanks for your question! This made me update our docs: https://docs.discord.com/developers/platform/claim-your-game - to add this sentence (and a few more details), which should help:

Discord must have an official record of your game. Discord automatically recognizes games that have established a sufficient playerbase and play time among Discord users over an extended period.

So while the game is new, and the player base may be relatively low, it's not got an automatic record from Discord, so there is no path to game claiming at this time.

Documentation - Discord

Learn how to claim your game on Discord to unlock a verified checkmark and take control of your game's profile.

fickle knoll
#

it was able to detect my discord, but no authorization modal was shown

fickle knoll
#

the only error it shows is something about the token, which is supposed to be given after authorization and not before?

icy compass
#

you using the debug version of the libary?

#

it looks like you never auth

fickle knoll
icy compass
#

what engine are you on

#

are you doing just straight C++?

fickle knoll
#

yep

#

and latest sdk

#

the code im running is straight from the guide itself

icy compass
#

I expect you never call client->Authorize and there is a bug in your code.

#

or your application id could be wrong

fickle knoll
#

ill send the whole code hold on

icy compass
#

no thanks - not downloading a random zip off the internet 🙂

fickle knoll
#

i meant as in the main.cpp bit only within here

#

not the whole file as a download

icy compass
#

or chuck it in a gist

fickle knoll
#

yea

#

obviously lots of things are gonna be changed once i figure it out, but yea

icy compass
#

if you put a bunch of cout statements throughout - where do you see it stopping?

#

is the authorize callback fired?

#

I'd also look at the debugging doc mentioned above - you may want to switch to using the debug libraries in your CMake file - they will give you debug and verbose level logging, so you can see everything that is happening

fickle knoll
icy compass
#

Almost like

    while (running) {
        discordpp::RunCallbacks();
        std::this_thread::sleep_for(std::chrono::milliseconds(10));
    }

never runs

#

or as a silly question - how are you running the C++ code?

fickle knoll
icy compass
fickle knoll
icy compass
fickle knoll
#

alright

#

yea it updates the file

#

updated the cout and it gave me the updated line in the terminal when ran

fickle knoll
#

since it was already logging with info

icy compass
#

Just ran it... and it worked for me.

fickle knoll
icy compass
#

What Discord client are you running?

fickle knoll
icy compass
#

Yeah - there's your issue most likely

fickle knoll
#

should i be using the original client

#

for it

#

gotcha

icy compass
#

I can't help you with a custom client. no idea what they are doing.

fickle knoll
#

ill try out the original client and see how it goes

icy compass
#

I did find a bug from the old version of the docs on the CMakeLists.txt

#

so that's good - thanks for that 🙂

fickle knoll
#

no worries

fickle knoll
icy compass
fickle knoll
#

yea i was gonna mention that one, but completely forgot lol

icy compass
fickle knoll
#

also, it might be the client itself causing the issue yea

icy compass
fickle knoll
icy compass
#

close the client and give it a shot

fickle knoll
#

ill try that

fickle knoll
#

didnt open a tab or anything

#

nvm it did lol

#

100% the client then yea

#

Thank you for the help

icy compass
#

Yay - glad we got it working! 🙂

fickle knoll
#

Like if you have the linux binary file and you run it through termux for example

woven token
woven token
#

The game is not new tho, been released almost 5 years ago, I think we just need more players number so eventually will be automatically added
Probably with huge major game update and out of Early Access it would help in increasing the player base

dark kite
#

do i need to include any liscence if im using the social sdk?

inland wharf
#

When will the documentation for creating the widgets be available?

shut jetty
inland wharf
#

Here you can see how I have one

regal tiger
#

has anyone gotten UserApplicationProfile to work 0.o ? I keep getting 401 errors

coral torrent
gaunt cosmos
#

hi, is it normal when i develop in unity that everytime i press play i need to reauthenticate with discord?

icy compass
fickle knoll
#

I'm looking through the Get Started guide on the standalone section and I don't see anything related to having the sdk connected to android, am i supposed look through somewhere else?

#

nvm found it

coral torrent
#

Goodnight

void yarrow
#

Discord doesn’t show our games in their database too (it’s not in steam but IGDB).

#

I was also wondering if activities can have Party, party secret etc with rpc

icy compass
void yarrow
#

We don’t have a launcher so


#

And social SDK is like 200MB+

void yarrow
#

@icy compass was this helpful?

icy compass
#

Is there an error message you are getting? Some kind of blocker? not sure what's going on.

void yarrow
icy compass
void yarrow
icy compass
#

Swing back around when you've done so and read some docs blobdoggothumbsup

void yarrow
#

alright