There’s still the issue with the query ‘dconstruct’. I found others queries with which there is the same issue, and I looked for the value for the count parameter with which the request works as expected :
-
dconstruct
- is fixed with
count to 91
-
#TEDxBern
- is fixed with
count to 76 or 77 (it depends)
-
Switzerland AND chocolate (only Switzerland works)
- is fixed with
count to 23 or 24 (it depends)
If I waits for some time between request (~17-20 seconds) it’s works as expected.
There is an exemple of results with #TEDxBern query.
#TEDxBern with count setted to 100
Issue for the second request : only one status
// First request
{
"statuses": [
/* 100 stasuses
from id 510449020201107456
...
to id 510195833497976832*/
],
"search_metadata": {
"completed_in": 0.069,
"max_id": 510449020201107456,
"max_id_str": "510449020201107456",
"next_results": "?max_id=510195833497976831&q=#TEDxBern&count=100&include_entities=1",
"query": "#TEDxBern",
"refresh_url": "?since_id=510449020201107456&q=#TEDxBern&include_entities=1",
"count": 100,
"since_id": 0,
"since_id_str": "0"
}
}
// Second request
{
"statuses": [
/* only 1 stasus
id 510195833497976832 */],
"search_metadata": {
"completed_in": 0.009,
"max_id": 510195833497976832,
"max_id_str": "510195833497976832",
"query": "#TEDxBern",
"refresh_url": "?since_id=510195833497976832&q=#TEDxBern&include_entities=1",
"count": 100,
"since_id": 0,
"since_id_str": "0"
}
}
#TEDxBern with count setted to 77
Second request works as expected
// First request
{
"statuses": [
/* 77 stasuses
from id 510449020201107456
...
to id 510195873008328704*/
],
"search_metadata": {
"completed_in": 0.154,
"max_id": 510449020201107456,
"max_id_str": "510449020201107456",
"next_results": "?max_id=510195873008328703&q=#TEDxBern&count=77&include_entities=1",
"query": "#TEDxBern",
"refresh_url": "?since_id=510449020201107456&q=#TEDxBern&include_entities=1",
"count": 77,
"since_id": 0,
"since_id_str": "0"
}
}
// Second request
{
"statuses": [
/* 77 stasuses
from id 510195873008328704
...
to id 510101731829903360*/
],
"search_metadata": {
"completed_in": 0.05,
"max_id": 510195873008328704,
"max_id_str": "510195873008328704",
"next_results": "?max_id=510101731829903359&q=#TEDxBern&count=77&include_entities=1",
"query": "#TEDxBern",
"refresh_url": "?since_id=510195873008328704&q=#TEDxBern&include_entities=1",
"count": 77,
"since_id": 0,
"since_id_str": "0"
}
}
Do you have the same results as @edsu and me? Thank you in advance and sorry for my english.
Maxime Burri