Issues with ThingTweet | ThingSpeak Apps | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Issues with ThingTweet
No permission to create posts
August 14, 2019
2:11 pm
Avatar
JChristensen
Grand Blanc, MI

Gold
Members
Forum Posts: 55
Member Since:
July 15, 2011
sp_UserOfflineSmall Offline

Can anyone else confirm issues with ThingTweet? It worked OK for me yesterday, but today nothing gets through to Twitter even though I receive "HTTP/1.1 200 OK" back from the server.

August 14, 2019
6:30 pm
Avatar
Vinod

MathWorks
Members
Forum Posts: 339
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

It is possible this is related to Twitter's rate limits. See https://developer.twitter.com/en/docs/basics/rate-limiting.html

I see it was working since earlier today. https://twitter.com/search?q=%23thingspeak&src=typed_query&f=live

When did you notice this happening?

August 14, 2019
11:52 pm
Avatar
JChristensen
Grand Blanc, MI

Gold
Members
Forum Posts: 55
Member Since:
July 15, 2011
sp_UserOfflineSmall Offline

At 13:00 EDT 14Aug (17:00 UTC). I have a gadget that sends a tweet daily at that time. It's been working fine every day, then today no tweet.
Still not working as I write this.
I thought the rate limiting issue was fixed last year.

August 15, 2019
9:40 am
Avatar
JChristensen
Grand Blanc, MI

Gold
Members
Forum Posts: 55
Member Since:
July 15, 2011
sp_UserOfflineSmall Offline

No change this morning, still cannot get a tweet through.
There was a similar issue last October, I'm wondering if something similar is going on again now:
https://community.thingspeak.com/forum/thingspeak-apps/thingtweet-issues/

August 15, 2019
4:51 pm
Avatar
Vinod

MathWorks
Members
Forum Posts: 339
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

Jack, I can see TimeControls tied to ThingTweets working today. Can you check and let me know if you are still seeing an issue?

August 15, 2019
6:19 pm
Avatar
JChristensen
Grand Blanc, MI

Gold
Members
Forum Posts: 55
Member Since:
July 15, 2011
sp_UserOfflineSmall Offline

Hi Vinod,

Just tried again from the microcontroller, and also curl and Postman. Nothing is getting through for me. Any ideas how to troubleshoot this?

Thanks ... Jack

August 15, 2019
7:19 pm
Avatar
Vinod

MathWorks
Members
Forum Posts: 339
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

Hi Jack,

One thing to try is if your twitter account credentials work -- this is why I was asking if a TimeControl tied to your ThingTweet works.

-Vinod

August 16, 2019
1:17 pm
Avatar
JChristensen
Grand Blanc, MI

Gold
Members
Forum Posts: 55
Member Since:
July 15, 2011
sp_UserOfflineSmall Offline

Vinod said

Hi Jack,

One thing to try is if your twitter account credentials work -- this is why I was asking if a TimeControl tied to your ThingTweet works.

-Vinod  

Do you mean can I log on to Twitter ok? Yes, of course.

I do not know what a TimeControl is, can you enlighten me on that please.

Using curl or Postman, I can do a post to ThingTweet, and even though I get a good return code, the post never shows up on Twitter. That's about as simple a test as I can imagine:

curl --request POST \
--url http://api.thingspeak.com/apps/thingtweet/1/statuses/update \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'cache-control: no-cache' \
--data 'api_key=xxxxxxxxxxxxxxxx&status=181346%20hello%20world'

Would you test that? Does it work for you?

August 16, 2019
2:03 pm
Avatar
Vinod

MathWorks
Members
Forum Posts: 339
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

Thanks Jack. We're looking into this.

I believe we have a good idea of what is going on. I'll respond to this post once we are able to work out a resolution for ThingTweet app that works for everyone.

August 16, 2019
3:22 pm
Avatar
JChristensen
Grand Blanc, MI

Gold
Members
Forum Posts: 55
Member Since:
July 15, 2011
sp_UserOfflineSmall Offline

Thank you, Vinod! I may have one or two other things that I can test in the meantime. I'll let you know if I make any progress. Looking forward to hearing back from you.

Edit: I tried un-linking and re-linking my Twitter account. Still no joy. Return code looks good, but no tweet.

August 17, 2019
9:36 am
Avatar
JChristensen
Grand Blanc, MI

Gold
Members
Forum Posts: 55
Member Since:
July 15, 2011
sp_UserOfflineSmall Offline

Any progress? Still not working for me. Is there anything I can do?

August 20, 2019
8:29 am
Avatar
JChristensen
Grand Blanc, MI

Gold
Members
Forum Posts: 55
Member Since:
July 15, 2011
sp_UserOfflineSmall Offline

Hello Vinod,

Would you give an update on this please? It's been broken for a week now.

You say you have a good idea of what is going on. It'd be great if you could share some of that.

Thanks ... Jack

August 20, 2019
11:27 am
Avatar
Vinod

MathWorks
Members
Forum Posts: 339
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

Hi Jack,

An update is being tested and we hope to have it deployed by the end of day tomorrow. There will be no code changes needed on your end.

The underlying issue is twofold -- a Twitter imposed API rate limit, and, an incompatibility between the library we use to update Twitter and our framework. In your case when only a single tweet is sent per day, you should not see any change in behavior. For clients hammering the ThingTweet API with requests, we will need to impose rate limits.

-Vinod

August 20, 2019
8:25 pm
Avatar
JChristensen
Grand Blanc, MI

Gold
Members
Forum Posts: 55
Member Since:
July 15, 2011
sp_UserOfflineSmall Offline

Thank you for the update, Vinod. I'd be interested to know the particulars of the rate limits. My application will send one tweet every 10 minutes when an alarm status occurs. This is quite rare, usually not more than once or twice a year. On a system restart it sends two tweets just a few seconds apart. This too is quite infrequent.

August 22, 2019
11:53 am
Avatar
Vinod

MathWorks
Members
Forum Posts: 339
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

Jack,

Can you confirm this is resolved for your use cases? For now we have not enabled rate limits. When we do, it will be documented.

-Vinod

August 22, 2019
4:39 pm
Avatar
JChristensen
Grand Blanc, MI

Gold
Members
Forum Posts: 55
Member Since:
July 15, 2011
sp_UserOfflineSmall Offline

Yes, it is working now. What was the issue, how was it fixed, how will rate limits work?

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

briskpanda, Dejw0089, Yassine Ben Salah, anis, 43994554AKS, suda

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457