Announcement Announcement Module
Collapse
No announcement yet.
expired connections and test() method Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • expired connections and test() method

    Hi,

    I've been testing my social connections using the test(); method but came across an issue.

    I'm saving the connections on in the DB , but if the user de-authorized the app (twitter) the test() method returns
    Code:
    GET request for "https://api.twitter.com/1/account/verify_credentials.json" resulted in 401
    which is fine, the only problem is that I'm not getting the error, since test() method simply returns false...

    Is there anyway of knowing such ApiException ? Is there anyway to provide my own ErrorHandler or register the TwitterErrorHandler?


    Cheers,
    Yoni
Working...
X