Skip to content
New issue

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

*.media_popular function using non-existant endpoint #84

Open
MPolymath opened this issue Feb 18, 2016 · 1 comment
Open

*.media_popular function using non-existant endpoint #84

MPolymath opened this issue Feb 18, 2016 · 1 comment

Comments

@MPolymath
Copy link

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/)

  1. /media/media-id
  2. /media/shortcode/shortcode
  3. /media/search

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

@fsebbah
Copy link

fsebbah commented May 17, 2016

I have the same problem. It seems the package is out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants