Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Importing json file  #430

@SimVid

Description

@SimVid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions