{"action":"closed","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/717","labels_url":"https://api.github.com/repos/square/retrofit/issues/717/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/717/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/717/events","html_url":"https://github.com/square/retrofit/issues/717","id":55451511,"number":717,"title":"Retrofit query parameter is not taking values greater than 2^32","user":{"login":"kshitijb","id":4145434,"avatar_url":"https://avatars.githubusercontent.com/u/4145434?v=3","gravatar_id":"","url":"https://api.github.com/users/kshitijb","html_url":"https://github.com/kshitijb","followers_url":"https://api.github.com/users/kshitijb/followers","following_url":"https://api.github.com/users/kshitijb/following{/other_user}","gists_url":"https://api.github.com/users/kshitijb/gists{/gist_id}","starred_url":"https://api.github.com/users/kshitijb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshitijb/subscriptions","organizations_url":"https://api.github.com/users/kshitijb/orgs","repos_url":"https://api.github.com/users/kshitijb/repos","events_url":"https://api.github.com/users/kshitijb/events{/privacy}","received_events_url":"https://api.github.com/users/kshitijb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-26T06:47:39Z","updated_at":"2015-01-26T06:48:08Z","closed_at":"2015-01-26T06:48:08Z","body":"I'm working on a project where I'm trying to fetch some data from twitter APIs by using user_id. But retrofit fails to connect for userId > Integer upper limit (of int type variables) even though id variable is set to be a long and I keep on getting ERROR.\r\n\r\nI have a way to fetch this information via other means, but I wanted to know if retrofit doesn't support long type variables?\r\n\r\n```java\r\n    cs.getUser(userId, new com.twitter.sdk.android.core.Callback<User>() {\r\n        @Override\r\n        public void success(com.twitter.sdk.android.core.Result<User> userResult) {\r\n            AddUserObject userObject = createAddUserObject(userResult.data);\r\n            addUserToDB(userObject);\r\n        }\r\n\r\n        @Override\r\n        public void failure(TwitterException e) {\r\n            Log.e(\"CONNECTION ERROR\", e.getLocalizedMessage());\r\n        }\r\n    });\r\n```\r\nFollowing is the interface for the same.\r\n\r\n```java\r\npublic static interface CustomService {\r\n\r\n    @GET(\"/1.1/users/show.json\")\r\n    void getUser(@Query(\"user_id\") long id, Callback<User> cb);\r\n\r\n    @GET(\"/1.1/statuses/user_timeline.json\")\r\n    void getTweets(@Query(\"user_id\") long id, @Query(\"count\") long count, Callback<List<Description>> cb);\r\n}\r\n```"}}