Yelp / yelp-api

Examples of code using our v2 API
http://yelp.com/developers
MIT License
581 stars 1.09k forks source link

the node js API library returns "One or more parameter is missing: oauth_consumer_key" #58

Closed franklingu closed 9 years ago

franklingu commented 9 years ago

as title

mittonk commented 9 years ago

Hm, I remember this working last time I ran it.

@franklingu : Have you already filled in your own oauth_consumer_key value into the example script?

franklingu commented 9 years ago

Yes, the default node oauth actually puts those info in header but I think yelp requires them as parameter in url

Gu Junchao Major in Computer Engineering, National University of Singapore Primary Email: franklingujunchao@gmail.com franklingujunchao@gmail.com NUS Email: A0105750@ A0105750@nus.edu.sgu.nus.edu http://u.nus.edu

On Mon, Jun 29, 2015 at 7:03 AM, Ken Mitton notifications@github.com wrote:

Hm, I remember this working last time I ran it.

@franklingu https://github.com/franklingu : Have you already filled in your own oauth_consumer_key value into the example script?

— Reply to this email directly or view it on GitHub https://github.com/Yelp/yelp-api/issues/58#issuecomment-116358762.

mittonk commented 9 years ago

OK, looks like the Node.js example is actually part of a separate repo, https://github.com/olalonde/node-yelp . Poking.

(Same error also being tracked in https://github.com/olalonde/node-yelp/issues/8 ).

franklingu commented 9 years ago

well, that is actually reported by me too ;P

I found some post online that actually works and refactored a bit here my own blog post

mittonk commented 9 years ago

@franklingu : That's a pretty snazzy blog post.

Debugging over in https://github.com/olalonde/node-yelp/issues/8 , closing this as a duplicate.

mittonk commented 9 years ago

Duplicate of https://github.com/olalonde/node-yelp/issues/8 , debugging over there.