Hi, I have a lot twitter apps for websites that I use to let users sign in using Twitter.
They all worked fine until this morning, when some of theme decided to to return 401.
I use PHP withEpiTwitter by Jaisen Mathai ( http://www.jaisenmathai.com/articles/twitter-php-sign-in.html )
The script I use to make a test is as simple as:
$twitterObj = new EpiTwitter($key, $sec);
try {
$authenticateUrl = $twitterObj->getAuthenticateUrl( );
echo $authenticateUrl;
} catch ( EpiOAuthUnauthorizedException $e ) {
echo 'Failed: ';
echo $e->getMessage( );
print_r( $e );
}
The $key and $sec are consumer key and secret as taken from the app, I even hardcoded them by hand to be sure. My app has a callback url also, and read+write permissions. No error message is output by the way, I have to var_dump the $e variable to actually see the 401 code.
The last user that signed successfully using this system is from yesterday, I did nothing since. Still some sites do work, while other do not.
Any idea? Any advice on what to check?
Thank you.