Mojang / AccountsClient

Java client for accessing Mojang's account/profile API
115 stars 37 forks source link

Only Mojang accounts work #12

Closed Phreyr closed 10 years ago

Phreyr commented 10 years ago

Accounts from minecraft.net return no results while Mojang.com accounts work fine.

jomo commented 10 years ago

I don't think this is true, can you provide examples?

Phreyr commented 10 years ago

I don't think this is true, can you provide examples?

Sure! cedeel is a migrated account and gives the UUID as expected. Johnny_Tables is not and doesn't return one.

Dinnerbone commented 10 years ago
POST /profiles/minecraft HTTP/1.1
Host: api.mojang.com
Content-Type: application/json
Content-Length: 27

["Johnny_Tables", "cedeel"]
[
  {
    "id": "628fa8ab6599402ab08c5665fe2a36c1",
    "name": "cedeel"
  },
  {
    "id": "da4a1c7f771743db96f827e8b31206dd",
    "name": "Johnny_Tables",
    "legacy": true
  }
]
jomo commented 10 years ago

Seems to be working, guess this can be closed.

btw, @Dinnerbone your avatar is (not) rotated on GitHub :D