Skip to content

Accessing data #41

@fredylg

Description

@fredylg

Hi,
I feel kind of stupid asking but I guess is worse not to leaner, I have installed the package on larvel and it seems to work fine but all data is protected , Ive try doing things like

$this->instagram = new Instagram\Instagram( $this->token );
$raw_data = $this->instagram->getTagMedia( $tag , array('count' => '100') );
$this->instagram->setData($raw_data);

but still Im not able to do
json_encode( $this->instagram->getData() );

since everything is coming back as protected...

Im I missing something? what would be the right way to access the data?

Thanks for any help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions