More twitter issues?
18 August, 2013 - 10:11
Hi all,
after a bit of a break from all things HAH I have starting reworking the way my house and smoke alarms are integrated and hence have been attempting to use xap-twitter to post notifications of events.
It seems that xap-twitter is working but very sporadically. Control via a tweet or attempts to send a tweet only work about 2in10.
the log shows a regular error about not e ought tokens to parse.
Embedded below is my debug log
[inf][tcurl.c:277:getLatestTweet] Response from TWITTER '[{"created_at":"Sat Aug 17 18:04:24 +0000 2013","id":368795461169078272,"id_str":"368795461169078272","text":"House tweet @gazdwil testing","source":"\u003ca href=\"http:\/\/www.apple.com\" rel=\"nofollow\"\u003eiOS\u003c\/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":275045394,"id_str":"275045394"},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweet_count":0,"favorite_count":0,"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[{"screen_name":"gazdwil","name":"Garry Williams","id":255691665,"id_str":"255691665","indices":[12,20]}]},"favorited":false,"retweeted":false,"lang":"en"}]'
[inf][tcurl.c:278:getLatestTweet] [{"created_at":"Sat Aug 17 18:04:24 +0000 2013","id":368795461169078272,"id_str":"368795461169078272","text":"House tweet @gazdwil testing","source":"\u003ca href=\"http:\/\/www.apple.com\" rel=\"nofollow\"\u003eiOS\u003c\/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":275045394,"id_str":"275045394"},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweet_count":0,"favorite_count":0,"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[{"screen_name":"gazdwil","name":"Garry Williams","id":255691665,"id_str":"255691665","indices":[12,20]}]},"favorited":false,"retweeted":false,"lang":"en"}]
[err][tcurl.c:292:getLatestTweet] Not enough tokens where provided to parse:
any help much appreciated
thanks
Garry
Sems to only have a problem when you add an @address in the tweet. I use this to trigger the notification on the phone for real time alarm alerts but it seems to be causing an issue.
This used to work prior to api change a few months back.
Ill keep digging to see if I can narrow the issue further.
Garry