I get the Uncaught OAuthException: (#200) The user hasn't authorized the application t开发者_StackOverflow中文版o perform this action\ error on occassion when a user changes their password, and I want to continue the crontab script, not causing it to end in a fatal error so I can handle the other users....
Is this possible?
So catch the exception! It's only a fatal error if your script doesn't catch it.
If you're not familiar with exceptions in PHP, they're documented at: http://php.net/language.exceptions
精彩评论