Trying to understand WeConnectId login to make it work in c++ #31
-
Hi! First of all, thank you for you code and sharing your work! Did I name something wrong? I cant verify because in your code the values are not shown. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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++. |
Beta Was this translation helpful? Give feedback.
-
Hi! Thanks for your answer. Edit: I made it. I had trouble to understand parts of MobileAppApi.php. Thanks for your code and help! |
Beta Was this translation helpful? Give feedback.
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#…