CC3000 & SendTweet

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jwb
 
Posts: 12
Joined: Fri Apr 16, 2010 8:18 am

CC3000 & SendTweet

Post by jwb »

Hi, I have a CC3000 and am trying to tweet using it. I plugged it into my Mega ADK, following the instructions on the Learn page. I created a Twitter application. Was able to successfully run the "buildtest" example so I know it's connecting.

When I run SendTweet, everything seems to work but no actual tweet is issued. Here's some jive from the serial monitor. Any ideas?

Hello! Initializing CC3000...Firmware V. : 1.24
OK
Deleting old connection profiles...OK
Connecting to network...Started AP/SSID scan

Connecting to Shubazz...Waiting to connect...OK
Requesting address from DHCP server...OK
IP Addr: 192.168.1.111
Netmask: 255.255.255.0
Gateway: 192.168.1.1
DHCPsrv: 192.168.1.1
DNSserv: 75.75.76.76
Locating time server...found
Connecting to time server...
Connect to 108.166.189.70:123
connected!
Issuing request...OK
Awaiting response...success!
Locating Twitter server...OK
Connecting to server...

Connect to 199.59.150.41:80
OK
Issuing HTTP request...OK
Awaiting response...success!
Waiting ~1 hour...

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

Re: CC3000 & SendTweet

Post by Franklin97355 »

Could you post your code and a description or drawing of your connections between it all?
Please use the code button "</>" .

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: CC3000 & SendTweet

Post by adafruit_support_rick »

Actually, SendTweet doesn't work anymore. Twitter updated their requirements to include SSL, and the CC3000 doesn't support it.

User avatar
tdicola
 
Posts: 1074
Joined: Thu Oct 17, 2013 9:11 pm

Re: CC3000 & SendTweet

Post by tdicola »

Unfortunately Twitter started requiring SSL for their APIs in the last few months and the CC3000 doesn't support communicating over SSL so SendTweet doesn't work anymore. The comments at the stop of the sketch has this note:
IMPORTANT: THIS SOFTWARE CURRENTLY DOES NOT WORK, and future
status is uncertain. Twitter has changed their API to require
SSL (Secure Sockets Layer) on -all- connections, a complex
operation beyond the Arduino's ability to handle. The code is
being kept around on the chance that a suitable proxy service
becomes available...but at present we have no such service, no
code for such, nor a schedule or even a firm commitment to
pursue it. For projects requiring Twitter we now recommend
using an SSL-capable system such as Raspberry Pi.

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

Return to “Other Arduino products from Adafruit”