API v1.1 statuses/user_timeline since_id parameter is invalid


#1

Hi all,

Been using API v1.1 to get a user’s timeline, but when I try to use since_id parameter I get an error telling me that since_id parameter is invalid.
According to this page it should be valid:
https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline

Any help would be appreciated.

Cheers


#2

Can you share the type of since_id values you’re passing to this method? I can’t reproduce.


#3

Fixed it.
Apparently you can’t send 0 as a since_id value anymore. We used to do this in v1 when a feed hadn’t ever been fetched.
Sorted a work around now.


#4

It’s best when working with the identifiers to consider them strings rather than numbers that can be manipulated with math.


#5

Hi WillowSV-Devs…how to use version v1.1 ? To get user timeline does it require authentication ? In version 1 I used to hit the URL and fetch JSON data through Java program. Now where should i provide authentication. Can you help me with some code


#6

i am lost hw to use this wow


#7

Is there any way to get all the statuses of a particular ‘screen_name’? If not, how many statuses can I download and how to do that?


#8

200 is the max number. I’m using ruby gem https://github.com/sferik/twitter and the user_timeline function does that


#9