diff --git a/examples/Applications/SendTwitterDirectMessage/SendTwitterDirectMessage.ino b/examples/Applications/SendTwitterDirectMessage/SendTwitterDirectMessage.ino index d7d300f..e6cf8cc 100644 --- a/examples/Applications/SendTwitterDirectMessage/SendTwitterDirectMessage.ino +++ b/examples/Applications/SendTwitterDirectMessage/SendTwitterDirectMessage.ino @@ -79,7 +79,7 @@ void setup() Twitter.err_actions(true, true); Serial.print("Sending Direct Messsage: " DM_MESSAGE "to \"" DM_SCREENNAME "\" ... "); - Twitter.directMessage(DM_SCREENNAME, DM_MESSAGE); + Twitter.sendDirectMessage(DM_SCREENNAME, DM_MESSAGE); Serial.println("OK"); Twitter.stop(); diff --git a/stm32/libraries/AdafruitTwitter/adafruit_twitter.cpp b/stm32/libraries/AdafruitTwitter/adafruit_twitter.cpp index 18e7de9..8ab78ea 100644 --- a/stm32/libraries/AdafruitTwitter/adafruit_twitter.cpp +++ b/stm32/libraries/AdafruitTwitter/adafruit_twitter.cpp @@ -245,7 +245,7 @@ bool AdafruitTwitter::send_request(const char* http_method, const char* json_api } -bool AdafruitTwitter::directMessage(char const* screen_name, char const* text) +bool AdafruitTwitter::sendDirectMessage(char const* screen_name, char const* text) { // Data contents: ASSUME key are already in urlencoded char const* contents_para[][2] = diff --git a/stm32/libraries/AdafruitTwitter/adafruit_twitter.h b/stm32/libraries/AdafruitTwitter/adafruit_twitter.h index ee3b7b5..1e6a486 100644 --- a/stm32/libraries/AdafruitTwitter/adafruit_twitter.h +++ b/stm32/libraries/AdafruitTwitter/adafruit_twitter.h @@ -68,7 +68,7 @@ class AdafruitTwitter : public AdafruitSDEP bool stop(void); bool tweet(char const* status); - bool directMessage(char const* screen_name, char const* text); + bool sendDirectMessage(char const* screen_name, char const* text); virtual void err_actions (bool print, bool halt) {