Re: [twitter-dev] Where Am I going wrong? Can't get past step 1 of Oauth Integration in PHP...

2010-09-02 Thread Martin Dapas
On Thu, Sep 02, 2010 at 10:37:03PM +0200, Tom van der Woerdt wrote: > On 9/2/10 6:46 PM, Ryan wrote: > > any ideas? > > > > Multiple. > > 1. PHP has the hash_hmac function which can do hmac-sha1 for you. hash_hamc is not always available. You could check with: if (extension_loaded ('hash')) {

Re: [twitter-dev] Where Am I going wrong? Can't get past step 1 of Oauth Integration in PHP...

2010-09-02 Thread Cameron Kaiser
> Spent the day trying to get OAuth working with PHP, curse August the > 31st, first time I've heard of it, etc,etc. Anyhow I need some help to > see where I'm going wrong with this code to retireve the auth token > Please... > >function CalcHmacSha1($data,$key) { > > $blocksize = 64; >

Re: [twitter-dev] Where Am I going wrong? Can't get past step 1 of Oauth Integration in PHP...

2010-09-02 Thread Tom van der Woerdt
On 9/2/10 6:46 PM, Ryan wrote: > Spent the day trying to get OAuth working with PHP, curse August the > 31st, first time I've heard of it, etc,etc. Anyhow I need some help to > see where I'm going wrong with this code to retireve the auth token > Please... > >function CalcHmacSha1($data,$key)

[twitter-dev] Where Am I going wrong? Can't get past step 1 of Oauth Integration in PHP...

2010-09-02 Thread Ryan
Spent the day trying to get OAuth working with PHP, curse August the 31st, first time I've heard of it, etc,etc. Anyhow I need some help to see where I'm going wrong with this code to retireve the auth token Please... $blocksize) { $key = pack('H*', $hashfunc($key)); } $key = str_p