1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2025-02-17 04:00:48 +01:00

Fix user lookup. Fixes #199

This commit is contained in:
Gran PC 2015-09-03 15:03:24 +02:00
parent 8b9fba078f
commit c405937400

View File

@ -99,10 +99,10 @@ public interface UsersResources {
@POST("/users/lookup.json")
@Body(BodyType.FORM)
ResponseList<User> lookupUsers(@Form("id") long[] ids) throws TwitterException;
ResponseList<User> lookupUsers(@Form("user_id") long[] ids) throws TwitterException;
@GET("/users/lookup.json")
ResponseList<User> lookupUsers(@Form("id") String[] screenNames) throws TwitterException;
ResponseList<User> lookupUsers(@Form("screen_name") String[] screenNames) throws TwitterException;
@POST("/account/remove_profile_banner.json")
@Body(BodyType.FORM)