Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing data #41

Open
fredylg opened this issue Sep 2, 2014 · 1 comment
Open

Accessing data #41

fredylg opened this issue Sep 2, 2014 · 1 comment

Comments

@fredylg
Copy link

fredylg commented Sep 2, 2014

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

@fredylg
Copy link
Author

fredylg commented Sep 25, 2014

for anyone out there use Instagram\Collection\TagCollection;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant