Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rettiwt.user.details('<username>') seem to require authentication #591

Open
improwise opened this issue Aug 17, 2024 · 2 comments
Open

rettiwt.user.details('<username>') seem to require authentication #591

improwise opened this issue Aug 17, 2024 · 2 comments

Comments

@improwise
Copy link

rettiwt.user.details('') is listed as being able to use as Guest, but when trying to do so, you will get an auth error.

    if (!Groups_1.allowGuestAuthentication.includes(resource) && this.isAuthenticated == false) {
        throw new Error(Api_1.EApiErrors.RESOURCE_NOT_ALLOWED);

rettiwt.tweet.details on the other hand will work without authentication it seems.

@Rishikant181
Copy link
Owner

Getting user details by using username works without authentication, while getting user details by using id requires authentication.

I didn't clarify it in the README. Will make changes to it asap.

@improwise
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants