Hummingbird v1

무료
분류별 vikhyat | 업데이트됨 a month ago | Entertainment
인기

5 / 10

지연 시간

109ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Getting the user ID

Rapid account: Richardr
richardr
10 years ago

When we authenticate a user, the only thing returned is a token. We know either the username or email address because that’s what we sent.

To get the library though, we need the ID of the user. As far as I can see, there is no way to get this via the API. Additionally, library updates require only the token.

It would be nice if I could just do everything with the token though as it’s easy to store securely on my platform.

Rapid account: Misaka
misaka Commented 10 years ago

+1

Rapid account: Halvkant
halvkant Commented 10 years ago

+1

Rapid account: Inket
inket Commented 10 years ago

+1

Rapid account: Kwartel
kwartel Commented 10 years ago

+1

Rapid account: Kbkarma
kbkarma Commented 10 years ago

+1

Rapid account: Wolfemm
wolfemm Commented 10 years ago

+1

Rapid account: Nmsicoco
nmsicoco Commented 10 years ago

+1

Rapid account: Nerothos
nerothos Commented 10 years ago

+1

Rapid account: Vikhyat
vikhyat Commented 10 years ago

It should now be possible to use “me” as the user ID to refer to the current user, when an auth_token is supplied.

Rapid account: Kbkarma
kbkarma Commented 10 years ago

As was pointed out here, this token is the same for everyone, so using the token will succeed, but nothing will be returned. I’ll open a new issue for that in a moment for tracking it.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입