Skip to content

Hey! It worked!

August 25, 2015

15-08-25 firsttweet

I bodged together some code that established a session and issued a tweet! Nothing fancy like error checking but still, it worked! It’s using the technique in the arduino twitter library which uses sort of a twitter proxy at arduino-tweet.appspot.com. see https://arduino-tweet.appspot.com/

I don’t know if I have the nerve to put this stuff into the blinkenlights server. I would have to

  • initialize a second socket
  • keep track of when i wanted to tweet something (say a new ip address comes in)
  • in the main blinkenlights loop establish a safe spot
  • do the management and error control of the second socket the same way the main loop does socket 0
  • Advertisements

    From → web server

    Leave a Comment

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s

    %d bloggers like this: