Open rkkiiit opened 8 years ago
It helps to mention errors and to format your code for readability.
Try using the example first. Be sure to use the success.php file as your uri redirect when requesting for a client id. If you're on a windows, you can try using 127.0.0.1/navigating to where success.php is.
<?php session_start(); require '../src/Instagram.php'; use MetzWeb\Instagram\Instagram; $instagram = new Instagram(array( 'apiKey' => 'API KEY', 'apiSecret' => 'API SECRET', 'apiCallback' => callback url' )); $loginUrl=$instagram->getLoginUrl(); ?> <!DOCTYPE html>
Instagram display your photo stream
» Login with Instagram
Use your Instagram account to login.