How to get the full derive chain of a product

xChaoz
by xChaoz · 10 posts
4 years ago in Javascript
Posted 4 years ago · Author
Hey Community,

according to my current development I'm trying get the full derive chain of a product.
I've already used Wireshark to analyze how IMVU works and I got some helpful API URLs.

For example the software IMVUKSA can get the full derive chain with hidden products etc.
If I want to use the API Call I need to be logged in and IMVUKSA can do it without login
needed.

Can someone lead me the right way? If making information public is critical it would be
nice if you still help me through PN.


Regards,
xChaoz
Posted 4 years ago
@xChaoz


I am pretty sure it is done by pro-grammatically logging in with a dummy account under the hood, instead of asking the user to login with their own account. Any garbage guest account will work, username and password hard-coded into the script.
Posted 4 years ago · Author
@Don Von Alpha Dom


So I still need to know how I can perform a login on IMVU´s Website. Do you have an idea? I use Electron and NodeJS to get a .exe file at the end.

Also, what if I try to get the derive chain of AP Products.. its still possible with Guest_ Account?


Regards,
xChaoz
Posted 4 years ago
Also, what if I try to get the derive chain of AP Products.. its still possible with Guest_ Account?


With the right API's, yes.

So I still need to know how I can perform a login on IMVU´s Website. Do you have an idea? I use Electron and NodeJS to get a .exe file at the end.


I have never done it before in NodeJS, but I imagine there are multiple NodeJS libraries out there for handling http requests with login / session handling.

Example: https://stackoverflow.com/questions/872 ... ng-node-js

Personally, I know how to login to IMVU in python, C#, and PHP cURL.
Posted 4 years ago · Author
@Don Von Alpha Dom


I know how to send HTTP Requests with NodeJS, thats not the problem. Can you give me examples of how you login to IMVU?
I don't know if a POST Request is enough but if so, can you tell me which parameters I have to use?


Regards,
xChaoz
Posted 4 years ago
@xChaoz


I have zero experience with NodeJS.

I would google for NodeJS libraries that handle HTTP Requests with login / session handling.

Then I would read the documentation for those libraries. The doc's for a library normally contain plenty of examples; should contain an example of a basic site login via http request and subsequent session handling.
Posted 4 years ago · Author
@Don Von Alpha Dom


A code snippet would already be enough but don't worry, I looked through the Code Section and found a login code
written in vb.NET, which I rewrote in JavaScript. It seems that it works now.


Regards,
xChaoz
Posted 3 years ago
I'm a bit late here, but you just need to send a valid "osCsid" (you could find it in your cookie)along with your request and use the fetch api provided by default in js, i could post an example if you are interested. If your nodejs backend work in nestjs, it is very similar with the httpClient service, and once again i could send a code snippet if needed.
the benefit of storing the cookie is that you don't store your login/pw in your source code or in database, and you don't have to login everytime.
Posted 3 years ago
Hey, I don't know if this helps but something I used to find a the derive tree of a product is known is IMVU-E (I-E) on google. Just go to services deriviation tree and enter Product ID (PID) within the blank spot. As for actually manually looking it up that I have no clue as I only ever used I-E.
Posted 3 years ago
anyway, if you sniffed the old imvu clients, you maybe have the old endpoints.
Here is the request url for the ones used by imvu next/imvu studio:
https://api.imvu.com/product/product-PID

Replace "PID" in the url by the wanted product id, then you could find "ancestor_products" and "parent" property in them, not sure if that's what the author was looking for

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT