Hi folks - I'm having an issue importing a json file. I've added the name of the bin and name of the json file to the import-jsondump.php script:
// specify the name of the bin here
$bin_name = 'leadershippaper';
// specify dir with the user timelines (json)
$dir = 'sample';
// set type of dump ('import follow' or 'import track')
$type = 'import track';
// if 'import track', specify keywords for which data was captured
$queries = array();
The sample.json file is in the 'import' directory, and when I run the script this is what I get:
root@server:/var/www/dmi-tcat/import# php import-jsondump.php
[debug] querybin_id = 15
Number of tweets: 0
Unique tweets: 0
Unique users: 0
Processed 0 tweets!
Total number of timelines: 0
Valid timelines: 0
Invalid timelines: 0
Populated timelines: 0
Empty timelines: 0
Help will be much appreciated.
Hi folks - I'm having an issue importing a json file. I've added the name of the bin and name of the json file to the import-jsondump.php script:
The sample.json file is in the 'import' directory, and when I run the script this is what I get:
root@server:/var/www/dmi-tcat/import# php import-jsondump.php
[debug] querybin_id = 15
Number of tweets: 0
Unique tweets: 0
Unique users: 0
Processed 0 tweets!
Total number of timelines: 0
Valid timelines: 0
Invalid timelines: 0
Populated timelines: 0
Empty timelines: 0
Help will be much appreciated.