galen / PHP-Instagram-API

PHP 5.3+ wrapper for the Instagram API
338 stars 159 forks source link

Accessing Tags without Auth #15

Closed yazinsai closed 11 years ago

yazinsai commented 11 years ago

I'm unable to access a tag (e.g. #fun) without having to redirect the user to the Authentication page - even though the tags method doesn't need this

yazinsai commented 11 years ago

Nevermind me

jdcauley commented 11 years ago

DId you ever over come this?

k0pernikus commented 11 years ago

Why is this closed? @floatingrock How did you solve this? I too am trying to get tags without having to request a user access token.

galen commented 11 years ago

use $instagram->setClientID();

rhnkyr commented 10 years ago

$instagram = new Instagram(); $instagram->setClientID('XXXXXXXXXXXX'); $tag = $instagram->getTag('blabla'); $media = $tag->getMedia();