Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Update snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Mar 15, 2016
1 parent a76d579 commit ca492a8
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,10 @@ Here you can see an example of just how simple this package is to use. Out of th
// You can alias this in config/app.php.
use Vinkla\Instagram\Facades\Instagram;

// Get code parameter.
$code = Request::get('code');

// Request the access token.
$data = Instagram::getOAuthToken($code);

// Set the access token with $data object.
Instagram::setAccessToken($data);

Instagram::users()->get(30);
// We're done here - how easy was that, it just works!
Instagram::getUserLikes();

Instagram::likes()->get(101);
// This example is simple, and there are far more methods available.
```

Expand Down

0 comments on commit ca492a8

Please sign in to comment.