Receiving diagnistic report for selected date range
GET https://api.truesocialmetrics.com/gamma/diagnostic/f84b188cdb114f7f67428c5c54ba5660?from=1392029313&to=1392634103&source=twitter&api_user=x@x.com&api_key=2999cccf4896592ebafc8cecdee529
or the same with CURL
curl https://api.truesocialmetrics.com/gamma/diagnostic/f84b188cdb114f7f67428c5c54ba5660?from=1392029313&to=1392634103&source=twitter&$TT_AUTH
f84b188cdb114f7f67428c5c54ba5660 - account id, from Account list twitter - unique source id, from Source list from=1392029313 to=1392634103 - daterange for analyze in unix timestamp format (notice: from < to).
Insted of using from:to for daterange you can use string representation from_str:to_str
GET https://api.truesocialmetrics.com/gamma/diagnostic/f84b188cdb114f7f67428c5c54ba5660?from_str=-1%20month&to_str=yesterday&source=twitter&api_user=x@x.com&api_key=2999cccf4896592ebafc8cecdee529
Data is not ready yet, you can re-call api in 2-5 seconds.
{
"status": "in process",
"id": "f84b188cdb114f7f67428c5c54ba5660",
"response": []
}
Analyzing is done.
{
"status": "ok",
"id": "f84b188cdb114f7f67428c5c54ba5660",
"response": [
{
"id": "284353004092653568",
"text": "Winning Strategy",
"replies": 1,
"reshares": 5,
"favorites": 2,
"date": 1356630013,
"link": "https://twitter.com/techstars/status/284353004092653568",
"followers": 65123,
"type": "text"
}
]
}