Zoe-Immersive / SketchfabCSharp

C# wrapper for the Sketchfab API (Unity)
MIT License
51 stars 12 forks source link

Unauthorized request #11

Closed a962097364 closed 1 year ago

a962097364 commented 1 year ago

Hello! Thanks for your great work! I know there is a closed issue about this question, but I still want to ask: What is the correct form about the client id and secret need to input?

I think in Sketchfab Settings, you can input like this:

Client ID: The email you used to login in Sketchfab client, such as: XXXXX@gmail.com Client Secret: The password you used to login in Sketchfab client, such as 123456aB!

I think in TestAPI C# script, you can input like this: Email: The email you used to login in Sketchfab client Password: The password you used to login in Sketchfab client

Is this need to input like this? Or this is not correct?

If it is correct, I input it like this but I still face : Unauthorized request.

I am using Unity 2021.3.8f1c1, I use this 1.0.0 plugin.

Thank you.

a962097364 commented 1 year ago

Ok, I think I need to apply for client id and client secret from Sketchfab team. However, I see I need a Redirect URI, which URI I need to set? Thank you.