Issues with new api OAuth

OMG thank you so much! I have been stuck on this for a while now and I knew it was something to do with the php.
Happy Dance