Skip to content
Browse files

Updated README.md

  • Loading branch information...
1 parent ff22399 commit 01c9742920fd1cd44bbe54739af8abc0b0fa7f1e @mikefowler committed
Showing with 5 additions and 7 deletions.
  1. +5 −7 README.md
View
12 README.md
@@ -22,7 +22,7 @@ To use Instajam, just include it in your page. For now, Instajam also requires j
Instajam doesn't care how you do OAuth authentication. Want to handle it server-side and just pass the access token in? Cool. Would you rather do client-side authentication and pull your access token from a cookie or localStorage? Legit, brah. Instagram has [documentation on their developer site](http://instagram.com/developer/authentication/) to help you out. Regardless of how you do it, initialize Instajam like this:
-```javascript
+```html
<script type="text/javascript">
$(function() {
@@ -43,12 +43,10 @@ Keep in mind, ```client_id``` is optional if you pass in ```access_token```. How
After inializing, we're all set to request some information from Instagram. To get the authenticated users Instagram feed:
```javascript
- INSTAJAM.user.feed(function(feed) {
-
- // The object passed back, 'feed', will contain the data
- // passed back from the Instagram API.
-
- });
+INSTAJAM.user.feed(function(feed) {
+ // The object passed back, 'feed', will contain the data
+ // passed back from the Instagram API.
+});
```
The full set of endpoints included in Instajam are listed below, along with links to the descriptions of the endpoints in the Instagram developers documentation.

0 comments on commit 01c9742

Please sign in to comment.
Something went wrong with that request. Please try again.