From 13f7439940ce698bb333a314d1a4198ddc50191e Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Tue, 9 Jul 2013 20:07:54 +0200 Subject: [PATCH] temboo examples updated --- .../GetYahooWeatherReport.ino | 4 ++-- .../examples/Temboo/ReadATweet/ReadATweet.ino | 21 +++++++++++++++++++ .../examples/Temboo/SendATweet/SendATweet.ino | 6 ++---- .../Temboo/SendAnEmail/SendAnEmail.ino | 4 ++-- .../examples/Temboo/SendAnSMS/SendAnSMS.ino | 4 ++-- .../SendDataToGoogleSpreadsheet.ino | 4 ++-- .../ToxicFacilitiesSearch.ino | 4 ++-- .../UpdateFacebookStatus.ino | 4 ++-- .../UploadToDropbox/UploadToDropbox.ino | 4 ++-- 9 files changed, 37 insertions(+), 18 deletions(-) diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino b/hardware/arduino/avr/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino index e198ee62d..9d218f7e0 100644 --- a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino +++ b/hardware/arduino/avr/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/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino b/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino index b17346cbc..1f93661b1 100644 --- a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino +++ b/hardware/arduino/avr/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/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino b/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino index d1117239e..5a530b3d6 100644 --- a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino +++ b/hardware/arduino/avr/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/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino b/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino index a602cc1ee..ad51340b1 100644 --- a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino +++ b/hardware/arduino/avr/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/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino b/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino index 9b017e4a8..e4d0ec916 100644 --- a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino +++ b/hardware/arduino/avr/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/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino b/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino index c5fc8c42d..efa121998 100644 --- a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino +++ b/hardware/arduino/avr/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/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino b/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino index e7d4e5efb..8539b531e 100644 --- a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino +++ b/hardware/arduino/avr/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/hardware/arduino/avr/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino b/hardware/arduino/avr/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino index 1a4451dea..a52583e32 100644 --- a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino +++ b/hardware/arduino/avr/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/hardware/arduino/avr/libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino b/hardware/arduino/avr/libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino index 78025aa06..2a405594f 100644 --- a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino +++ b/hardware/arduino/avr/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. */