ajax_crossdomain

13 views
Skip to first unread message

Yan Wang

unread,
May 7, 2017, 3:51:49 PM5/7/17
to JPassion.com: JavaScript Programming
 Dear Teacher,


For javascript homework ajax_crossdomain (jquery jsonp calling yelp  business api)


the link  is not valid anymore, please provide usable link 


error response is

{"error": {"text": "The Yelp API v1.0 is deprecated and no longer available. Please use the Yelp API v2.0 for your applications. For more information, please visit the Yelp Developers site: https://www.yelp.com/developers", "id": "PUBLIC_API_V1_SUNSET"}}

Thanks and rgds
Yan

Sang Shin

unread,
May 10, 2017, 2:21:28 PM5/10/17
to jpassion_...@googlegroups.com

Thanks for reporting it.  Use the following link

http://api.yelp.com/v2/search?term=starbucks&location=Boston%20MA&limit=1&ywsid=<Your YWSID>&callback=?

The lab is updated and posted to the class website.
Thanks.

-S
--
You received this message because you are subscribed to the Google Groups "JPassion.com: JavaScript Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpassion_javasc...@googlegroups.com.
To post to this group, send email to jpassion_...@googlegroups.com.
Visit this group at https://groups.google.com/group/jpassion_javascript.
For more options, visit https://groups.google.com/d/optout.

-- 
-------------------------------------------------------------------
             Sang Shin, sangshi...@gmail.com
         http://www.linkedin.com/in/javapassion (Linkedin)
          http://twitter.com/javapassion (Tweeter)
            Life is worth living... with Passion!
----------------------------------------------------------------------

Wang Yan

unread,
May 11, 2017, 3:48:35 PM5/11/17
to jpassion_...@googlegroups.com
sorry
i tried with new link


got below error
{"error": {"text": "One or more parameters are missing in request", "id": "MISSING_PARAMETER", "field": "oauth_consumer_key"}}

Rgds
Yan

On Wed, May 10, 2017 at 2:21 PM, Sang Shin <sangshi...@gmail.com> wrote:

Thanks for reporting it.  Use the following link

http://api.yelp.com/v2/search?term=starbucks&location=Boston%20MA&limit=1&ywsid=<Your YWSID>&callback=?

The lab is updated and posted to the class website.
Thanks.

-S

On 5/7/2017 3:51 PM, Yan Wang wrote:
 Dear Teacher,


For javascript homework ajax_crossdomain (jquery jsonp calling yelp  business api)


the link  is not valid anymore, please provide usable link 


error response is

{"error": {"text": "The Yelp API v1.0 is deprecated and no longer available. Please use the Yelp API v2.0 for your applications. For more information, please visit the Yelp Developers site: https://www.yelp.com/developers", "id": "PUBLIC_API_V1_SUNSET"}}

Thanks and rgds
Yan
--
You received this message because you are subscribed to the Google Groups "JPassion.com: JavaScript Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpassion_javascript+unsub...@googlegroups.com.
To post to this group, send email to jpassion_javascript@googlegroups.com.

-- 
-------------------------------------------------------------------
             Sang Shin, sangshi...@gmail.com
         http://www.linkedin.com/in/javapassion (Linkedin)
          http://twitter.com/javapassion (Tweeter)
            Life is worth living... with Passion!
----------------------------------------------------------------------

--
You received this message because you are subscribed to the Google Groups "JPassion.com: JavaScript Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpassion_javascript+unsub...@googlegroups.com.
To post to this group, send email to jpassion_javascript@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages