aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorFederico Fissore <f.fissore@arduino.cc>2013-07-09 20:07:54 +0200
committerFederico Fissore <f.fissore@arduino.cc>2013-07-09 20:07:54 +0200
commit95ae8c4a59342cd7df0b765e9998fd24d20280b1 (patch)
tree5d5e8e240afdfcea2ee5e88d930dbd46265039b5 /libraries
parentacf38a634ab0f5530ca5f0b15bc4c474b1091195 (diff)
temboo examples updated
Diffstat (limited to 'libraries')
-rw-r--r--libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino4
-rw-r--r--libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino21
-rw-r--r--libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino6
-rw-r--r--libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino4
-rw-r--r--libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino4
-rw-r--r--libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino4
-rw-r--r--libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino4
-rw-r--r--libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino4
-rw-r--r--libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino4
9 files changed, 37 insertions, 18 deletions
diff --git a/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino b/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino
index e198ee6..9d218f7 100644
--- a/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino
+++ b/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino
@@ -110,6 +110,6 @@ void loop()
The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
- Keeping your account information in a separate file means you can save it once,
- then just distribute the main .ino file without worrying that you forgot to delete your credentials.
+ Keeping your account information in a separate file means you can share the main .ino file without worrying
+ that you forgot to delete your credentials.
*/
diff --git a/libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino b/libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino
index b17346c..1f93661 100644
--- a/libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino
+++ b/libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino
@@ -149,3 +149,24 @@ void loop()
Serial.println("Waiting...");
delay(90000); // wait 90 seconds between HomeTimeline calls
}
+
+/*
+ IMPORTANT NOTE: TembooAccount.h:
+
+ TembooAccount.h is a file referenced by this sketch that contains your Temboo account information.
+ You'll need to edit the placeholder version of TembooAccount.h included with this example sketch,
+ by inserting your own Temboo account name and app key information. The contents of the file should
+ look like:
+
+ #define TEMBOO_ACCOUNT "myTembooAccountName" // your Temboo account name
+ #define TEMBOO_APP_KEY_NAME "myFirstApp" // your Temboo app key name
+ #define TEMBOO_APP_KEY "xxx-xxx-xxx-xx-xxx" // your Temboo app key
+
+ You can find your Temboo App Key information on the Temboo website,
+ under My Account > Application Keys
+
+ The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
+
+ Keeping your account information in a separate file means you can share the main .ino file without worrying
+ that you forgot to delete your credentials.
+*/
diff --git a/libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino b/libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino
index d111723..5a530b3 100644
--- a/libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino
+++ b/libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino
@@ -132,8 +132,6 @@ void loop()
The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
- Keeping your account information in a separate file means you can save it once,
- then just distribute the main .ino file without worrying that you forgot to delete your credentials.
+ Keeping your account information in a separate file means you can share the main .ino file without worrying
+ that you forgot to delete your credentials.
*/
-
-
diff --git a/libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino b/libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino
index a602cc1..ad51340 100644
--- a/libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino
+++ b/libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino
@@ -133,6 +133,6 @@ void loop()
The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
- Keeping your account information in a separate file means you can save it once,
- then just distribute the main .ino file without worrying that you forgot to delete your credentials.
+ Keeping your account information in a separate file means you can share the main .ino file without worrying
+ that you forgot to delete your credentials.
*/
diff --git a/libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino b/libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino
index 9b017e4..e4d0ec9 100644
--- a/libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino
+++ b/libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino
@@ -150,6 +150,6 @@ void loop()
The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
- Keeping your account information in a separate file means you can save it once,
- then just distribute the main .ino file without worrying that you forgot to delete your credentials.
+ Keeping your account information in a separate file means you can share the main .ino file without worrying
+ that you forgot to delete your credentials.
*/
diff --git a/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino b/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino
index c5fc8c4..efa1219 100644
--- a/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino
+++ b/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino
@@ -174,6 +174,6 @@ unsigned long getSensorValue() {
The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
- Keeping your account information in a separate file means you can save it once,
- then just distribute the main .ino file without worrying that you forgot to delete your credentials.
+ Keeping your account information in a separate file means you can share the main .ino file without worrying
+ that you forgot to delete your credentials.
*/
diff --git a/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino b/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino
index e7d4e5e..8539b53 100644
--- a/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino
+++ b/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino
@@ -166,6 +166,6 @@ void printResult(String facility, String address) {
The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
- Keeping your account information in a separate file means you can save it once,
- then just distribute the main .ino file without worrying that you forgot to delete your credentials.
+ Keeping your account information in a separate file means you can share the main .ino file without worrying
+ that you forgot to delete your credentials.
*/
diff --git a/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino b/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino
index 1a4451d..a52583e 100644
--- a/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino
+++ b/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino
@@ -126,6 +126,6 @@ void loop() {
The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
- Keeping your account information in a separate file means you can save it once,
- then just distribute the main .ino file without worrying that you forgot to delete your credentials.
+ Keeping your account information in a separate file means you can share the main .ino file without worrying
+ that you forgot to delete your credentials.
*/
diff --git a/libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino b/libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino
index 78025aa..2a40559 100644
--- a/libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino
+++ b/libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino
@@ -197,6 +197,6 @@ String base64Encode(String toEncode) {
The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
- Keeping your account information in a separate file means you can save it once,
- then just distribute the main .ino file without worrying that you forgot to delete your credentials.
+ Keeping your account information in a separate file means you can share the main .ino file without worrying
+ that you forgot to delete your credentials.
*/