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

Post.comments 报错 Unexpected token < in JSON at position 0 #37

Open
SherryFu0315 opened this issue Feb 8, 2019 · 0 comments
Open

Comments

@SherryFu0315
Copy link

您好,

感谢开发这个API~ 我在尝试获取post评论的时候遇到如下报错,请问是我哪里写错了吗。。?谢谢!

zhihu.Post.comments(postUrl,{limit:10, offset:10}).then(function(comments){
  console.log(comments);
});

Unhandled rejection SyntaxError: Unexpected token < in JSON at position 0

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

1 participant