[EXTENSION] PS Yii Extension Library -- v1.0.4 (jQuery Tools Support)

Hello xx666xx,

I have changed my php.ini and now works fine.

#error_reporting = E_ALL | E_STRICT

error_reporting = E_ALL

I am using PHP 5.3.0

Apache/2.2.13 (Win32) DAV/2 PHP/5.3.0

Regards.

So Im trying to utilize the Twitter and Facebook APIs. I’ve done the Tut ‘How To Connect With Twitter From Yii’ and got all the way up to where its crashing with a “Invalid auth/bad request (got a 401, expected HTTP/1.1 20X or a redirect)” on the ii::app()->twitter->getAuthorizeUrl() call in site/twitter.php

after installing the pecl ouath lib, I had to add

‘apiSecretKey’ => ‘string:’,

to CPSApiBehavior.php to get the secret key to comein from config/main.php

not sure if thats right? but its working to get the keys to the OAuth constructor.

and like mentioned its now going all the way to getting the auth url but gets a bad request. i’ve tried it with new keys twice, still nothing.

any ideas?

I though I had a sample twitter app in the examples folder. Honestly, I haven’t revisited it since I revamped the API classes so I may have broken it.

Check out the example and see if that works and I will have a looksee tonite. I also haven’t tested with the new twitter oauth so that may just be hosed.

And?

What happens with apiSecretKey?

Got an error with property apiSecretKey and if commented in config/main, got an error for format property