diff --git a/examples/instagram_search_photos.php b/examples/instagram_search_photos.php new file mode 100644 index 0000000..dad8d96 --- /dev/null +++ b/examples/instagram_search_photos.php @@ -0,0 +1,17 @@ +get('https://api.instagram.com/v1/media/search', array( + 'client_id' => INSTAGRAM_CLIENT_ID, + 'lat' => '37.8296', + 'lng' => '-122.4832', +)); + +foreach ($curl->response->data as $media) { + $image = $media->images->low_resolution; + echo ''; +}