I am trying to test the sample script given on the YDN, I changed the key & secret values in the sample script, ran it and I am getting
testserver$ php ffl.php Couldn't open /tmp/oauth_data_token_storage_.out, assuming we need to get a new request token. Better try to get a new access token. Invalid auth/bad request (got a 401, expected HTTP/1.1 20X or a redirect)
I am not running this script on the server that I registered with, is that why I am seeing this error message?
Also, if the above suggestions are all correct and fine for you, please check your server time and ensure its correct and in sync with NTP. The error you are facing can occur if the server time is out of sync, resulting in oauth signature failure.