Support the ongoing development of Laravel.io →
posted 10 years ago
Packages
Last updated 2 years ago.
0

What happens when you try to fetch photo's?

look at this https://github.com/galen/PHP-Instagram-API Something like this should work.

$current_user = Instagram::getCurrentUser();
$media = $current_user->getMedia();
foreach( $media as $photo ) {
    ...
}
Last updated 2 years ago.
0

Before i write this code, i get error

Instagram \ Core \ ApiException You must provide a client_id

and if i provide client_id in Instagram/Core/Proxy.php i still get an error :/

Last updated 2 years ago.
0

Hello Zimoonline,

I have not tried this package but I know what in order for you to get your own time line you must register your app with Instagram: http://instagram.com/developer/clients/manage/

Instagram provides an open public API but you do have to register to pull specific people ( your own account ).

You may also need to register the app using Oauth but I think it can be done through the command line or via a URL without to much trouble.

Hope that helps.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.