Trip Advisor Integration

518 views
Skip to first unread message

Sreelash Bruce

unread,
Jun 7, 2015, 4:12:45 AM6/7/15
to tripadvis...@googlegroups.com
Hi,

Recently, I created an account with Trip Advisor to request an API key, which I got on my mail.

My requirement is to get the reviews and submit reviews from website as well as mobile app. Here is the hotel's trip advisor link which i am trying to get reviews - "http://www.tripadvisor.in/Hotel_Review-g293797-d628036-Reviews-Airport_View_Hotel-Accra_Greater_Accra.html".

So I constructed an http request to Trip Advisor - "http://api.tripadvisor.com/api/partner/2.0/location/293797/hotels?key= MY_API_KEY". But I am getting the following the error and I am stuck at that point.

{
  "error": {
    "code": "160",
    "type": "UnauthorizedException",
    "message": "invalid client key:  MY_API_KEY"
  }
}

Also, I have one more question, Isn't possible to submit review comments through our custom app rather than fetching the reviews?

Thanks,
Sree

TripAdvisor Content API Support

unread,
Jun 12, 2015, 3:12:38 PM6/12/15
to tripadvis...@googlegroups.com
Hello Sree,

Please send the TripAdvisor Content API Team an email directly as though you are submitting a request to go live so they can review your key and what could be causing your error.

Traveler reviews cannot be submitted through a third-party product, they must be submitted directly to TripAdvisor on the site or using a review collection tool.

Best,

Emily
Reply all
Reply to author
Forward
0 new messages