We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The path that is being visited by function .media_popular() is no longer an endpoint at https://api.instagram.com
method: "GET" path: "/media/popular"
Available media endpoints at https://api.instagram.com: (https://www.instagram.com/developer/endpoints/media/)
var api = require('instagram-node').instagram()
api.use({ client_id: '' client_secret:'' })
api.media_popular(function(err, medias, remaining, limit) { if (err) { console.log('ERROR: ' + err) } else { console.log('POPULAR MEDIA: ' + medias) } });
For the medias to be displayed in the console
Console displays ERROR: SyntaxError: Unexpected token <
OSX Yosemite
The text was updated successfully, but these errors were encountered:
I have the same problem. It seems the package is out.
Sorry, something went wrong.
No branches or pull requests
Issue
The path that is being visited by function .media_popular() is no longer an endpoint at https://api.instagram.com
method: "GET"
path: "/media/popular"
Available media endpoints at https://api.instagram.com: (https://www.instagram.com/developer/endpoints/media/)
Steps to reproduce
var api = require('instagram-node').instagram()
api.use({
client_id: ''
client_secret:''
})
api.media_popular(function(err, medias, remaining, limit) {
if (err) {
console.log('ERROR: ' + err)
} else {
console.log('POPULAR MEDIA: ' + medias)
}
});
Expected behavior
For the medias to be displayed in the console
Actual behavior
Console displays ERROR: SyntaxError: Unexpected token <
Server Specification
OSX Yosemite
The text was updated successfully, but these errors were encountered: