Skip to content

Trying to understand WeConnectId login to make it work in c++ #31

Answered by robske110
JimKnopf1503 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! Unfortunately I can not find anything wrong in the 2 code snippets you sent, at least not without context. I am also not very proficient in C++.
I'd strongly recommend using a library like curl (which IDDataLogger is also doing), which massively simplifies things.
I obviously don't know the specifics of your project (for example if it is supposed to be something embedded or public), but if it is just a home project another option would be to run IDDataLogger and query its API, which is very straightforward to do. (It's just a simple HTTP request with a static api key in the URL as a query parameter and it returns JSON)
See: https://github.com/robske110/IDDataLogger/wiki/API-reference#…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JimKnopf1503
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants