Invalid URL parameter


Hi there! I’ve been trying to figure this out for a little while but I’m not making any progress. I’m making some queries with the REST api where I’m searching for some tweets with specific keywords in a location given with center+radius in miles. I’m trying to use the since_id and max_id to make sure I don’t grab any duplicate tweets, so after each query I set the since_id to the highest id in the batch returned and max_id to the lowest id in that same batch. Shouldn’t then the next query only search for tweets after the since_id and before the max_id? Instead, however, the API returns the following error: [{u’message’: u’Missing or invalid url parameter.’, u’code’: 195}]

Anyone have any hints as to what could be the matter? I’m using a twitter python module if that makes any difference.