Yelp API using tHTTPRequest with OAuth 2

Five Stars

Yelp API using tHTTPRequest with OAuth 2

I am trying to access Yelp API in Talend using tHTTPRequest component please see the screen for setting for more details, every time i am getting 400 bad request error any help.
Community Manager

Re: Yelp API using tHTTPRequest with OAuth 2

Hi
Take a look at this page to know more about 400 bad request error and check the error in the URL as suggested.
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Six Stars

Re: Yelp API using tHTTPRequest with OAuth 2

OAuth 2.0 can be pretty tricky to get to grips with. I have not used Yelp, but I have got it working quite nicely with Google. I've written a tutorial on using OAuth 2.0 with Google's products here. You may be able to extrapolate from it.
I hope it helps
Four Stars

Re: Yelp API using tHTTPRequest with OAuth 2

Hi rhall

I am not able to access the link you provided, can you please send me the new link or content?

 

Four Stars

Re: Yelp API using tHTTPRequest with OAuth 2

It think they went bust so the links are broken, which is a shame as they were a very useful part of the Talend Community, the content linked to is still available at:

https://web.archive.org/web/20160315174809/http://rilhia.com/tutorials/using-oauth-20-talend-access-...

Four Stars

Re: Yelp API using tHTTPRequest with OAuth 2

Talend could do everyone a favour and see if they can buy the content and post it on this site.

Ten Stars

Re: Yelp API using tHTTPRequest with OAuth 2

You first need to get the oAuth2 token from the given url in your documentation.
Next is using the returned token and provide it in the header while doing a api call, like search.

add the header: "Authorization" and its value is "Bearer yourtokenformpreviousRestcomponentCall"

 

 

Four Stars

Re: Yelp API using tHTTPRequest with OAuth 2

Thank you Stephen, It should really help

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads