Twitter operation - updatestatus


#1

I was trying to test twitter connection. I was testing updatestatus operation and it worked successfully for me I got below thing in console

INFO 2013-10-14 17:14:01,452 [[twitterconnection].connector.http.mule.default.receiver.02] org.mule.api.processor.LoggerMessageProcessor: StatusJSONImpl{createdAt=Mon Oct 14 17:13:58 IST 2013, id=389718218321170432, text=‘helloSFDC102’, source=‘Tweeter_to_CloudHub’, isTruncated=false, inReplyToStatusId=-1, inReplyToUserId=-1, isFavorited=false, inReplyToScreenName=‘null’, geoLocation=null, place=null, retweetCount=0, isPossiblySensitive=false, contributorsIDs=[J@5ed72cc6, retweetedStatus=null, userMentionEntities=[], urlEntities=[], hashtagEntities=[], mediaEntities=[], currentUserRetweetId=-1, user=UserJSONImpl{id=1687966250, name=‘Aparna’, screenName=‘AparnaDingankar’, location=’’, description=’’, isContributorsEnabled=false, profileImageUrl=‘http://abs.twimg.com/sticky/default_profile_images/default_profile_5_normal.png’, profileImageUrlHttps=‘https://abs.twimg.com/sticky/default_profile_images/default_profile_5_normal.png’, url=‘null’, isProtected=false, followersCount=5, status=null, profileBackgroundColor=‘C0DEED’, profileTextColor=‘333333’, profileLinkColor=‘0084B4’, profileSidebarFillColor=‘DDEEF6’, profileSidebarBorderColor=‘C0DEED’, profileUseBackgroundImage=true, showAllInlineMedia=false, friendsCount=11, createdAt=Wed Aug 21 15:54:21 IST 2013, favouritesCount=0, utcOffset=19800, timeZone=‘Mumbai’, profileBackgroundImageUrl=‘http://abs.twimg.com/images/themes/theme1/bg.png’, profileBackgroundImageUrlHttps=‘https://abs.twimg.com/images/themes/theme1/bg.png’, profileBackgroundTiled=false, lang=‘en’, statusesCount=22, isGeoEnabled=false, isVerified=false, translator=false, listedCount=0, isFollowRequestSent=false}}



but after sometime it stopped working I started getting below in console. Is there some change in the twitter API that was happening today around 4:00 - 5:00 PM IST.

ERROR 2013-10-14 16:37:54,078 [[twitterconnection].connector.http.mule.default.receiver.02] org.mule.retry.notifiers.ConnectNotifier: Failed to connect/reconnect: Work Descriptor. Root Exception was: JSONObject[“text”] not found… Type: class twitter4j.internal.org.json.JSONException
ERROR 2013-10-14 16:37:54,087 [[twitterconnection].connector.http.mule.default.receiver.02] org.mule.exception.DefaultMessagingExceptionStrategy:


Message : Failed to invoke updateStatus. Message payload is of type: String
Code : MULE_ERROR–2

Exception stack is:

  1. JSONObject[“text”] not found. (twitter4j.internal.org.json.JSONException)
    twitter4j.internal.org.json.JSONObject:395 (null)
  2. JSONObject[“text”] not found. (twitter4j.TwitterException)
    twitter4j.internal.json.StatusJSONImpl:172 (null)
  3. Failed to invoke updateStatus. Message payload is of type: String (org.mule.api.MessagingException)
    org.mule.twitter.processors.UpdateStatusMessageProcessor:175 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html)

Root Exception stack trace:
twitter4j.internal.org.json.JSONException: JSONObject[“text”] not found.
at twitter4j.internal.org.json.JSONObject.get(JSONObject.java:395)
at twitter4j.internal.org.json.JSONObject.getString(JSONObject.java:509)
at twitter4j.internal.json.StatusJSONImpl.init(StatusJSONImpl.java:166)
+ 3 more (set debug level logging or ‘-Dmule.verbose.exceptions=true’ for everything)




Thanks & Regards,
Aparna Dingankar
Cell No : 9028735822
Landline : +91 20 66851796
EAI SME, ACIT (IDC)
Accenture – Architecture, Development & Integration (AD&I)
==================
Accenture Confidential 
________________________________________
Important notice: This e-mail and attachment, contains corporate proprietary information. If you are not the intended recipient, please notify me immediately by replying and request you to delete this e-mail and its attachments from your system.
 Please don't print this e-mail unless you really need to. Thank you!