Nodegram
Simplest Instagram Api library in Javascript
Call any Instagram Api method in just 10 lines of code
var Nodegram = ;var token = 'ACCESS_TOKEN';var gram = accessToken: token;var mediaOptions = '{user-id}': 10499416 maxId: 12345 count: 30;var likeOptions = '{media-id}': 1234; gram;gram;gram; { console;} { console;}
Authentication
1- Retrieve auth code
var options = clientId: 'CLIENT_ID' clientSecret: 'CLIENT_SECRET' redirectUri: 'REDIRECT_URI'; var gram = options;var url = gram;
2- Exchange code for access_token
var code = 'CODE'; gram;
Now, you are authenticated ^^
var gram = accessToken: token; gram;
Motivation
The problem I found while trying to use a Node Instagram library was that you have to learn:
- The Instagram Api methods
- The Javascript library methods
So, in order to just learn the first point I built this simple Node.js Instagram library to comunicate with Instagram using the exactly syntax that you already now...