Class ‘OAuthSignatureMethod_HMAC_SHA1’ not found
If you’re getting an error to the tune of
Class 'OAuthSignatureMethod_HMAC_SHA1' not found
It’s because you’re trying to use the PEAR OAuth library + abraham’s library at the same time or some other oAuth library. I suggest finding your php.ini and commenting out what you had added earlier when you installed PEAR OAuth by putting a semi-colon in front of the line:
restart (apache2ctl restart) or graceful-restart (apache2ctl graceful) apache and try running your code again.
If you need the PEAR OAuth library, simply remove the semicolon and restart apache when you’re done.