Permalink
Browse files

Adding disclaimer

  • Loading branch information...
1 parent fc45794 commit 7f7a551044f24131284eaf722f23b33ebca09338 @gabriel gabriel committed Sep 7, 2011
Showing with 17 additions and 1 deletion.
  1. +8 −0 v2/js/business.html
  2. +9 −1 v2/js/search.html
View
@@ -1,3 +1,9 @@
+
+<!--
+This example is a proof of concept, for how to use the Yelp v2 API with javascript.
+You wouldn't actually want to expose your access token secret like this in a real application.
+-->
+
<html>
<head>
<title>Yelp OAuth Example</title>
@@ -13,6 +19,8 @@
consumerKey: "YOUR_CONSUMER_KEY",
consumerSecret: "YOUR_CONSUMER_SECRET",
accessToken: "YOUR_TOKEN",
+ // This example is a proof of concept, for how to use the Yelp v2 API with javascript.
+ // You wouldn't actually want to expose your access token secret like this in a real application.
accessTokenSecret: "YOUR_TOKEN_SECRET",
serviceProvider: {
signatureMethod: "HMAC-SHA1"
View
@@ -1,3 +1,9 @@
+
+<!--
+This example is a proof of concept, for how to use the Yelp v2 API with javascript.
+You wouldn't actually want to expose your access token secret like this in a real application.
+-->
+
<html>
<head>
<title>Yelp OAuth Example</title>
@@ -8,11 +14,13 @@
<script type="text/javascript">
var auth = {
//
- // Update with your auth tokens
+ // Update with your auth tokens.
//
consumerKey: "YOUR_CONSUMER_KEY",
consumerSecret: "YOUR_CONSUMER_SECRET",
accessToken: "YOUR_TOKEN",
+ // This example is a proof of concept, for how to use the Yelp v2 API with javascript.
+ // You wouldn't actually want to expose your access token secret like this in a real application.
accessTokenSecret: "YOUR_TOKEN_SECRET",
serviceProvider: {
signatureMethod: "HMAC-SHA1"

0 comments on commit 7f7a551

Please sign in to comment.