Controlling Arduino With twitter via Thingspeak

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
justjoe
 
Posts: 5
Joined: Tue May 15, 2012 10:53 am

Controlling Arduino With twitter via Thingspeak

Post by justjoe »

I came across a new service called http://thingSpeak.com which allows you to control your arduino+ethernet via twitter by looking for keywords. However I've run into some problems while getting it setup, and the sites documentation is lacking. Does anyone have any experience with thingspeak or controlling arudino via twitter?

documentation: http://community.thingspeak.com/documen ... etcontrol/
Tweet a gumball: http://community.thingspeak.com/2012/06 ... k-arduino/

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: Controlling Arduino With twitter via Thingspeak

Post by Franklin97355 »

I'm sure there are many people here that can help, what is your question, what part are you having trouble with?

justjoe
 
Posts: 5
Joined: Tue May 15, 2012 10:53 am

Re: Controlling Arduino With twitter via Thingspeak

Post by justjoe »

Well my specific problem is that I get a network error of 502 when I try send a "POST" request to the my page. I followed this tutorial http://community.thingspeak.com/tutoria ... -channels/ but was unable to "200 status ok"


Name: ThingSpeak Channel Updater
API Key: U179LE5GJOEBHMC5
URL: http://api.thingspeak.com/update
Method: POST
Content Type: application/x-www-form-urlencoded
HTTP Version: 1.1
Body: key=8774XHB3OO8N2D3Z&field1=%%trigger%%&status=%%status%%

justjoe
 
Posts: 5
Joined: Tue May 15, 2012 10:53 am

Re: Controlling Arduino With twitter via Thingspeak

Post by justjoe »

okay I got it to work. I did not have my content type set to application/x-www-form-urlencoded on my "POST"

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”